Running protractor tests from an API call in angular 2+

Viewed 122

I'm using Angular 8 and protractor and I've created a suite of tests that run inside my docker container.

Currently they are executed when the container is run, then the container shuts down.

I would like to change this so that the container can be running and I execute a curl statement from our build server, calling a component inside the project, which in turn, runs the tests and returns the results (or perhaps outputs a report)

I'm great at building tests, but not as good at knowing how to hook a component to call a test.
How would I go about running my suite of tests inside a component?

0 Answers
Related