0.0.26 • Published 2 years ago
@aux4/test v0.0.26
@aux4/test
Test aux4
Install
npm install --save-dev @aux4/testUsage
$ aux4-test
run <files> run test
coverage <files> run test coverageCreate test file with .test.md extension
# Print
## Given Hello World
- should print "Hello World"
```execute
echo 'Hello World'
```
```expect
Hello World
```
## Given Hello my friend
- should print "Hello my friend"
```execute
echo 'Hello my friend'
```
```expect
Hello my friend
```Run test
aux4-test run my-test-file.test.mdTo run all the test files in the current directory.
aux4-test runRun test with coverage
This is useful in case your test interact with js files.
aux4-test coverage my-test-file.test.md