Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/hexagon6/es-testing

Basic setup for developing TDD-style with all new ES-features on node
https://github.com/hexagon6/es-testing

Last synced: about 1 month ago
JSON representation

Basic setup for developing TDD-style with all new ES-features on node

Awesome Lists containing this project

README

        

# ECMAScript 6+ testing setup for node

This project allows you to quickly start coding with ECMAScript 6+ in node with tests from the beginnning

## How to install

Install `degit` globally if you don't have it yet: `npm i -g degit`

Check out the latest commit of this repository and install dependencies:

1. `degit https://github.com/hexagon6/es-testing.git my-projectfolder`
2. `npm install` or `yarn`

## How to run tests

`npm test` or `yarn test`

## Watch mode

`npm test -w` or `yarn test -w`

This command
runs tests on each save of a file and
let's you focus on your code.

## Folder structure

```
├── src
│   └── index.js <- implementation
├── test
│   └── index.test.js <- tests
```

## Test runner

[ava](https://www.npmjs.com/package/ava)

Enjoy!