Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jaeyeophan/javascript_test_tutorial
Tutorial about TDD & BDD with Javascript
https://github.com/jaeyeophan/javascript_test_tutorial
bdd chai mocha rest-api test
Last synced: 18 days ago
JSON representation
Tutorial about TDD & BDD with Javascript
- Host: GitHub
- URL: https://github.com/jaeyeophan/javascript_test_tutorial
- Owner: JaeYeopHan
- Created: 2017-04-21T10:41:08.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-07-23T07:22:00.000Z (over 7 years ago)
- Last Synced: 2024-05-02T05:05:34.661Z (8 months ago)
- Topics: bdd, chai, mocha, rest-api, test
- Language: JavaScript
- Homepage:
- Size: 89.8 KB
- Stars: 3
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# BDD with mocha and Chai
JavaScript의 Unit Test에 대한 tutorial Github repository### Blog Posting
1. [Mocha Getting started](http://jaeyeophan.github.io/2017/04/23/BDD-1-mocha/)
2. [Chai Getting started](https://jaeyeophan.github.io/2017/04/23/BDD-2-chai/)
3. [Chai-http 사용하여 REST API Test하기](https://jaeyeophan.github.io/2017/04/23/BDD-3-chai-http/)## Install
```bash
$ git clone https://github.com/JaeYeopHan/javascript_test_tutorial js_test_tutorial
$ cd js_test_tutorial
$ npm install
```
or
```bash
$ yarn global add mocha
$ yarn global add chai
$ yarn add chai-http
$ yarn global add json-server
```## Usage
```bash
$ npm run fake:start
$ npm test
```