Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bezzad/unitjest
Automation generate unit test for JavaScript by Jest Framework
https://github.com/bezzad/unitjest
babel cfg control-flow-graph escodegen esprima estraverse falafel flow-chart generate-unit-test genetic-algorithm instrument javascript jest test-code unit-testing
Last synced: about 4 hours ago
JSON representation
Automation generate unit test for JavaScript by Jest Framework
- Host: GitHub
- URL: https://github.com/bezzad/unitjest
- Owner: bezzad
- License: mit
- Created: 2019-01-17T13:54:15.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-04T22:06:28.000Z (almost 2 years ago)
- Last Synced: 2023-03-11T00:24:05.777Z (over 1 year ago)
- Topics: babel, cfg, control-flow-graph, escodegen, esprima, estraverse, falafel, flow-chart, generate-unit-test, genetic-algorithm, instrument, javascript, jest, test-code, unit-testing
- Language: JavaScript
- Homepage:
- Size: 8.48 MB
- Stars: 8
- Watchers: 2
- Forks: 0
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Unit [Jest][1]
Generate [unit test](https://en.wikipedia.org/wiki/Unit_testing) automatically for `JavaScript (ES2015)` by [Jest Framework][1].
[1]: https://github.com/facebook/jest
[2]: https://github.com/bezzad/UnitJest/releases/tag/1.0.01.2.0### Dependencies:
1. [Node.js](https://nodejs.org/en/)
2. [Esprima](http://esprima.org/)
3. [Escodegen](https://github.com/estools/escodegen)
4. [Styx](https://github.com/mariusschulz/styx)
5. [viz.js](https://github.com/mdaines/viz.js/wiki/Usage)
8. [inspect-code](https://github.com/derhuerst/inspect-code)## How to Use
* Download the [Project][2]
* Unzip the project folder
* Open bash within project folder
* Run `$ npm install`
* Run `$ node index.js` to execute project