Writing Test Suites
Jasmine library
itdefines a spec, a container for tests.describedefines a suite, a group of related specs.expect(actualValue).matcherFn(expectedValue)- Matchers
toBenot.toBe
Red-green-refactor cycle
- Write test which will fail.
- Write the code to make the test pass.
- Refactor the code.