NodeJS & Frisby – Integration Testing

posted in: API, NodeJS, Testing | 0

Using Frizby for Integration tests.

Does my API work as expected?

Sometimes you need the DB to be set up and tear down before and after the Integration test/s.

This project sets up MySQL for Frizby and shows setup and teardown examples.

ITE-Frisby Example [Development Branch]

ite-frisby [develop]

Install

$ npm install -g jasmine-node

$ npm install

Run Mock Server

$ npm run mock

Run Server

$ npm run server

Run Tests

$ npm run test

 

Frisby Documentation

FrisbyJS

FrisbyJS API Documentation

 

 

Leave a Reply