Skip to content

OperationSpark/test-guru

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Test Guru

Step 1 - Setup

  • os install test-guru
  • open up index.html in your c9 and Run / Preview it.
  • open up index.spec.js in your c9 and have a look.

Step 2 - Be The Test Guru

index.spec.js contains a bunch of unit tests. Unit tests help us verify that our code is doing the right thing by calling our functions with some test data and making sure that our functions do the right thing. These tests are incomplete and it is our job today to complete them.

  • Inspect the tests on the page and try to understand what's going on in general.
  • All the tests are currently failing.
  • If we look in index.html we can see that they are red and their status is failed
  • Each one of the tests has at least one occurrence of "???". This is what we need to change.
  • Change each "???" to the value that will make the test pass
  • Once they pass they will be blue and not red on the page!

About

Test Master fitted for the HS program

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •