You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
BraydonKains 6266196f02 | 3 years ago | |
---|---|---|
examples | 3 years ago | |
src | 3 years ago | |
.eslintignore | 3 years ago | |
.eslintrc.cjs | 3 years ago | |
.gitignore | 4 years ago | |
LICENSE | 4 years ago | |
README.md | 3 years ago | |
cli.js | 3 years ago | |
index.js | 3 years ago | |
package-lock.json | 3 years ago | |
package.json | 3 years ago |
README.md
js-test
js-test
is a minimal JavaScript test runner. The aim of this library is to enable JavaScript developers to write test code in very plain JavaScript. To write test files with this language all one needs to do is:
- Export functions whose names start with the word "test"
- Name the file to match the format
*.test.{js,cjs,mjs}
Then running js-test
will run all the test files it can find in your project.
Future Plans
- Programmatic test running API, potentially separating that package from the CLI
- Support for custom test file patterns
- Prettier CLI output