Skip to content

Ithar/javascript-jasmine-testing

Repository files navigation

Tutorials:

https://www.youtube.com/watch?v=Ac2sBrkSK-c

https://www.youtube.com/watch?v=eVpXkyN0zOE

https://www.youtube.com/watch?v=dFz2h7o0vqs

https://www.youtube.com/watch?v=ZeOKTrohqXA

Articles

https://christosmonogios.com/2016/09/08/How-To-Test-The-HTML-Elements-And-Their-DOM-Properties-When-Using-The-Jasmine-Framework/ https://blog.toast38coza.me/mocking-ajax-requests-with-jasmine/ https://codecraft.tv/courses/angular/unit-testing/asynchronous/

Installation

C:\dev\software\nodejs

cmd: node -v v10.14.1

cmd: npm -v 6.4.1

cmd: jasmine -v jasmine v3.3.0 jasmine-core v3.3.0

  • npm = node package manager > allows you to install node plugins (i.e. Jasmine)

  • npm list -g --depth 0 > show global installed packages

  • npm install -g jasmine > install jasmine if not installed already

  • npm install jasmine-ajax

Jasmine

jasmine init > will create the initial project structure

Running Application

  1. Go to jasmine-test-runner.html
  2. Right click and run (will launch in default browser)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors