0.4.0 • Published 8 years ago
ng2-preybird v0.4.0
Programmer Per: Angular 2
This is a project for presenting me, "Per the Programmer".
The application is built with Angular 2, TypeScript, SASS and tested with Jasmine & Protractor in a behaviour-driven manner. It also has a bit of Gulp but is configured mainly with npm. More to come ...
I believe in the future of Semantic Web Components, modular and testable. My intention is to build this app in such a manner.
Get Started
git clone https://github.com/perjo927/angular2-preybird.git
npm install
npm start
- You browser should open. If not, go to: http://localhost:3000
Run tests / TDD
Unit tests
npm run test
- Your browser should open. If it doesn't, go to: http://127.0.0.1:8080/unit-tests.html
- For test-driven development, keep the browser tab open while developing, and the tests will live-reload.
You can run
npm start
&npm run test
simultaneously, since the development and test servers run on different ports, and the development server will also live-reload.
End-to-end tests
npm run e2e-test
- Webdriver should now open a browser and run the end-to-end tests.
CI
I use Travis CI.