Skip to content

Example of the Nodejs project with explaining how to utilize Jasmine testing framework

Notifications You must be signed in to change notification settings

AndreySurzhan/jasmine-unittests-how-to

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jasmine-unittests-how-to

Example of the Nodejs project with explaining how to utilize Jasmine testing framework

Instalation

Install project dependencies

`npm install`

Install jasmine globaly

`npm install -g jasmine`

Run

Start web server

`npm start`

Web service will be accessable on localhost:3000

  • POST /weather with body:
    {
        "id": 1,
        "location": "Louisville",
        "temperature": {
            "fahrenheit": 40
        }
    }
  • GET /weather/:id

Test Run

npm test

About

Example of the Nodejs project with explaining how to utilize Jasmine testing framework

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published