@gullerya/just-test
Version:
JavaScript multiplatform tests runner
42 lines (28 loc) • 2.23 kB
Markdown
[](https://www.npmjs.com/package/@gullerya/just-test)
[](https://opensource.org/licenses/MIT)
[](https://github.com/gullerya/just-test/actions/workflows/quality.yml)
[](https://codecov.io/gh/gullerya/just-test)
[](https://www.codacy.com/app/gullerya/just-test)
# Summary
`just-test` is an all-JS platforms oriented test runner strongly opinionated towards testing libraries, frameworks and components.
TODO
#### Highlights:
- running tests in __browser__, no server needed, import/link your code (static files) and just test, literally __TDD__ oriented
- __re-running__ any test in browser ad-hoc - convenient for debugging and developing on the fly
- friendly __UI__ on top of the page of the tests, allows immediatelly observe the behavior of the code and the test
- running tests from __NodeJS__ via headless browser (chromium, firefox, webkit) to run in __CI/CD automation__
- generating __test results__ report (types: __xUnit__)
- collecting __coverage__ and generating report (types: __lcov__)
- flexible yet simple ability to run tests in __sync__ as well as __async__ (default) manner
- in general, a lot of attention was paid to create __simple and usable__ framework even for a not-so-simple cases, like asynchronous tests etc
> Attention: the doc below is still in construction, more updates and detailed one will be published very soon!!!
> Meanwhile, the best way to actually see how the library should be used is it look onto its own tests in `tests` folder, and for CI/CD case - `travis.yml` is a good start.
# CI readiness
TODO - move to features
* run your tests in CI in the following browsers: Chromium (covering all based upon), Firefox, WebKit
* test report types: `xUnit`
* coverage report types: `lcov`
# Examples
TODO
# API
TODO