Releases: hhzl/LearnWords2
Releases · hhzl/LearnWords2
MVP database access layer LWdb and Jasmine spec/test environment
Aim
The aim of this release is to have the project set up with a Jasmine test environment which works both in the browser and with node on the command line.
In addition a minimally useful set of methods to access the words and settings database has been defined.
Setup
git clone https://github.com/hhzl/LearnWords2.git
cd LearnWords2
npm install -g grunt-cli
npm install
Note that maybe you have to do
sudo npm install -g grunt-cli
sudo npm install
npm test
runs the Jasmine specs and tests on the command line.
After starting grunt
on the command line you can open SpecRunner.html
in the browser.
Specification and test environment setup and LWdb specs defined
Bug in test environment setup fixed.
Now this should be possible
git clone https://github.com/hhzl/LearnWords2.git
cd LearnWords2
sudo npm install -g grunt-cli
sudo npm install
npm test
grunt
Try it without sudo
first. If it does not work use sudo
.
npm test
runs the Jasmine specs and tests on the command line.
After starting grunt
you can open SpecRunner.html
in the browser.
Specification and test environment setup and LWdb specs defined.
20 specs, 0 failures, 5 pending specs