https://github.com/dereke/peace2
https://github.com/dereke/peace2
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/dereke/peace2
- Owner: dereke
- Created: 2018-03-30T13:54:16.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-04-04T21:30:18.000Z (about 7 years ago)
- Last Synced: 2025-01-18T12:48:42.784Z (5 months ago)
- Language: JavaScript
- Size: 34.2 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# Peace 2
Second go at building a nice test runner# Usage
`yarn add https://github.com/dereke/peace2` to installexecute `./node_modules/.bin/peace`
It starts monitoring files matching the pattern `**/*Spec.js`
When they change the tests will be run (using mocha) in a child process
Results are reported back to the shell
`test` will run all the tests
`test test/specificFile.js` will run the tests in the specific file# Config
You can change the default pattern by adding a `peace-config.json` in the root of your project.
```
{
"ui": "bdd",
"testPattern": "test/**/*Spec.js",
"testPatternIgnore": "test/pending/*.js"
}
```Plans
`debug` run the test in visible electron
`failures` show the failures from the last runadd tab completion
add assembly support (set only one assembly to run)