0.8.0 • Published 8 years ago
ngx-bookshelf-google v0.8.0
NgxBookshelfGoogle
Purposes
- A playground to practise angular 5+ programming skills
- Focus on 3 areas:
- Unit Testing
- E2E Testing
- Google Book Service integration
References
Free Courses
Development
Unit Testing
- Jasmine
- Karma
- Angular Testing Guide
- Jasmine: Understanding the Difference between beforeAll and beforeEach
E2E Testing
- Protractor
- Cory Rylan: e2e testing
- tutsplu: get started with protractor
- Protractor Screenshot
- Using Page Objects to Organize Tests
TIPs and Workarounds
Usage
Development server
Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.
Build
Run ng build to build the project. The build artifacts will be stored in the dist/ directory. Use the -prod flag for a production build.
Running unit tests
Run ng test to execute the unit tests via Karma.
Running end-to-end tests
Run ng e2e to execute the end-to-end tests via Protractor.