This the the web version of the quick test of the Economy for the Common Good. You can also use it offline.
http://ecogood.github.io/ecg-quicktest-app/
Works on desktop, tablet and phones.
- Download the quick test
- Unzip and open
index.html
The Software Architecture is modular and server/client decoupled.
It consists of 3 npm packages:
- ecg-quicktest-texts - translations of the quick test.
- ecg-quicktest-model - JavaScript model of the quick test. Create test, get/set answers, get results, etc.
- ecg-quicktest-app - AngularJS frontend of the quick test. This package uses the two packages above.
The texts and model packages can be installed via npm and used in any JavaScript application, like on the server with Node.js, in a mobile app, or any web application.
The packages are unit tested with Mocha and Chai and end-to-end tested with Protractor.
Uses Protractor for E2E Testing.
Install the Browsers for e2e testing:
./node_modules/grunt-protractor-runner/node_modules/protractor/bin/webdriver-manager update
start the tests:
npm test
- ✅ Create first working version in AngularJS with previous and next buttons, state of given answers and progressbar.
- ✅ Add Tests
- Add English translation
Feel free to contribute to the Roadmap or otherwise.
Share issues and desired features in GitHub.
- MIT License
- Nikolay Georgiev, ECG Berlin
- 0.1.3 - remove double sentence, set German as default lang, fix movement of buttons and set bower dependencies to angular 1.2.0.
- 0.1.2 - fix layout on mobile phones.
- 0.1.1 - add E2E Tests
- 0.1.0 - create first working version in AngularJS with previous and next buttons, state of given answers and progressbar.