Simple javascript test runner
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 README update, but even BETTER this time 3 years ago
examples First draft with cli that runs all *.test.js files 3 years ago
src First draft with cli that runs all *.test.js files 3 years ago
.eslintignore First draft with cli that runs all *.test.js files 3 years ago
.eslintrc.cjs First draft with cli that runs all *.test.js files 3 years ago
.gitignore Scratch code for running a test file or a test suite 4 years ago
LICENSE Initial commit 4 years ago
README.md README update, but even BETTER this time 3 years ago
cli.js First draft with cli that runs all *.test.js files 3 years ago
index.js First draft with cli that runs all *.test.js files 3 years ago
package-lock.json First draft with cli that runs all *.test.js files 3 years ago
package.json First draft with cli that runs all *.test.js files 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:

  1. Export functions whose names start with the word "test"
  2. 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