Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ph1p/test-boilerplates
Some test examples
https://github.com/ph1p/test-boilerplates
ava jasmine jest mocha tests
Last synced: 9 days ago
JSON representation
Some test examples
- Host: GitHub
- URL: https://github.com/ph1p/test-boilerplates
- Owner: ph1p
- Created: 2018-03-25T18:18:36.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-04-25T20:53:18.000Z (over 1 year ago)
- Last Synced: 2024-10-13T04:09:58.955Z (23 days ago)
- Topics: ava, jasmine, jest, mocha, tests
- Language: JavaScript
- Size: 1.28 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Test boilerplates [![Build Status](https://travis-ci.org/ph1p/test-boilerplates.svg?branch=master)](https://travis-ci.org/ph1p/test-boilerplates)
This repository contains examples of some of the most popular JavaScript test frameworks.
I am constantly working on new examples and improvements.## ava ([source](https://github.com/avajs/ava))
```
cd ava-example
npm install
npm test
npm run test:coverage
npm run test:check-coverage
npm run test:watch
```## jasmine ([source](https://github.com/jasmine/jasmine) & [jasmine-node](https://github.com/mhevery/jasmine-node))
```
cd jasmine-example
npm install
npm test
npm run test:coverage
npm run test:check-coverage
```## jest ([source](https://github.com/facebook/jest))
```
cd jest-example
npm install
npm test
npm run test:coverage
npm run test:watch
npm run updateSnapshots
```
## mocha ([source](https://github.com/mochajs/mocha))```
cd mocha-example
npm install
npm test
npm run test:coverage
npm run test:check-coverage
npm run test:watch
```## TAP Reporters
https://github.com/sindresorhus/awesome-tap#reporters