GitHub - peter-patocka/angular-web: Angular 8 example application · GitHub
Skip to content

About

Angular 8 example application

Resources

Stars

0 stars

Watchers

1 watching

Forks

Repository files navigation

Angular 8 example application

Build Status Deployment on Heroku

Firstly, because project is handled by NPM - Node package manager, we need to install dependencies for the node project:

npm install

How to start

npm run start

Our Angular application is ready on the following URL: http://localhost

How to check formatting with TSLint

TSLint checks TypeScript code for readability, maintainability, and functionality errors.

npm run lint

How to run all unit tests

Unit testing is focused on testing single units. All tests are isolated. Services, network and other resources are replaced by mocks (fake objects). Karma and Jasmine framework are used to write all unit test in src/**.spec.ts.

npm run test

How to run all e2e tests

With e2e testing you can go through the GUI like a user does - functional testing.

E2E tests are powered by a Selenium web-driver and a testing library called Protractor. Protractor is an E2E test runner that can take scenario tests and run them in the browser.

The test code itself is written using Jasmine - a testing library the provides all the assertion and utility functions needed to write unit and E2E tests.

To run all tests in e2e folder, use script:

npm run e2e

Copyright and License

Copyright 2020 Peter Patocka. Code released under the MIT license.

About

Angular 8 example application

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages