R
R
RemonKh2018-01-17 15:54:09
Angular
RemonKh, 2018-01-17 15:54:09

Test automation using Angular cli (angular 4)?

How to automate unit testing for deployment under angular?
I am using Angularcli. karma and jasmine are preinstalled in it. By default, ng test opens localhost on port 9876 and runs tests. I need to execute everything in the console.
Installed phantomjs, tests are launched via ng test --browser PhantomJS. But this is not what is needed.
I need:
1) To run the tests and complete them.
2) Make a notification function about test results, for example, through a telegram bot.
In which direction to dig?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question