npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

utr-test

v1.0.3

Published

####测试阶段查找元素允许的最长时间,例如有些是api请求后得到的数据,虽然是mock的,但是可能有时候也会需要一两秒 ```findDomTimeout: 5000``` ####跳转新页面允许等待最长时间 ```waitNewPageTimeout: 10000``` ####每一个行为(behavior)的间歇时间,默认1000,例如每一次点击以后,都等一秒后才去执行下一行代码 ```behaviorIntermission: 1000``` ####每个用例执行的间歇时间,防止用例太快太频繁,导

Downloads

1

Readme

配置项默认值

####测试阶段查找元素允许的最长时间,例如有些是api请求后得到的数据,虽然是mock的,但是可能有时候也会需要一两秒 findDomTimeout: 5000 ####跳转新页面允许等待最长时间 waitNewPageTimeout: 10000 ####每一个行为(behavior)的间歇时间,默认1000,例如每一次点击以后,都等一秒后才去执行下一行代码 behaviorIntermission: 1000 ####每个用例执行的间歇时间,防止用例太快太频繁,导致puppeteer出错并挂掉 caseIntermission: 2000 ####项目编译命令,填写测试服的编译命令即可,例如 npm run build:test buildCommand: 'npm run build:test' ####npm run build构建产物的目录 distDirName: 'dist' ####ws服务端口 wsHostPort: '3001' ####静态资源服务端口 resHostPort: '3002' ####默认测试路由,可由每个case自定义配置route字段覆盖 defaultTestRoute: '/' ####项目依赖安装的webpack版本 webpackVersion: 5

是否跑完所有用例才统一报错?

false: 只要有一个用例报错,就立马停止

true: 跑完所有用例才停止并统一报错

throwErrorAfterRunAllCase: true ####项目名称,用于测试结果推送到企业微信时标记所属项目 projectName: 'MY_PROJECT' ####是否可视化测试流程 openChrome: false ####每次都自动删除构建产物 autoClear: true ####自己写的测试用例脚本目录,一般是case配置规则无法满足的情况下,才需要自己写 customPath: path ####case配置目录 casePath: path