https://github.com/lazywithclass/cerebro
A mutation testing library for JavaScript
https://github.com/lazywithclass/cerebro
javascript-library mutation-testing
Last synced: 10 months ago
JSON representation
A mutation testing library for JavaScript
- Host: GitHub
- URL: https://github.com/lazywithclass/cerebro
- Owner: lazywithclass
- License: mit
- Created: 2017-02-07T16:55:19.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-07-13T21:28:19.000Z (over 8 years ago)
- Last Synced: 2025-02-12T06:01:11.674Z (about 1 year ago)
- Topics: javascript-library, mutation-testing
- Language: Clojure
- Size: 44.9 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Cerebro
> “Welcome, Professor.” ―Cerebro
A mutation testing library for JavaScript.
### Configuration
```bash
$ lein deps && npm install
$ cd test/example-project/
$ npm install
```
### Build
```
$ lein cljsbuild once $env
```
`$env` could be either `prod` or `dev`. To avoid having to start the JVM each time
```
$ lein cljsbuild auto $env
```
### Running the example
```bash
# compile Cerebro to JavaScript
$ lein cljsbuild once prod
$ cp cerebro.js test/example-project/
$ cd test/example-project/
# run it
$ node cerebro.js -s lib/source.js -t ./test
```
### Developing
`SPC m s i` connects to the CIDER REPL