My JavaScript testing framework. Developed as a part of Makers week 7 News Summary Challenge project.
- Clone repo
- Open
SpecRunner.html
to see tests running
In SpecRunner.html
you will need to include lib/the-test-zone.js
, your test spec and your app files. The Test Zone will then run the tests and display the results. Check out spec/the-test-zone-spec.js
for examples.
Implemented:
describe
blocksit
blocks - these are the actual testsexpect(actual)
returns an object which responds to:.toBe(expected)
- comparesactual
withexpected
using===
.toContain(expected)
- comparesactual
withexpected
using.includes()
Not implemented:
beforeEach
blocks