README update, but better this time

main
BraydonKains 3 years ago
parent a62dd90535
commit f46bf54954

@ -3,9 +3,9 @@
`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: `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" 1. Export functions whose names start with the word "test"
2. Name the file to match the format `*.test.{js,cjs,mjs}` 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. Then running `js-test` will run all the test files it can find in your project.
Future plans: ## Future Plans
* Programmatic test running API, potentially separating that package from the CLI * Programmatic test running API, potentially separating that package from the CLI
* Support for custom test file patterns * Support for custom test file patterns

Loading…
Cancel
Save