vlucas / frisby

Frisby is a REST API testing framework built on Jest that makes testing API endpoints easy, fast, and fun.
http://frisbyjs.com
1.53k stars 201 forks source link

What's the appropriate way to trigger CI/CD? Using a web server? #574

Open impvd opened 3 years ago

impvd commented 3 years ago

Hi, I want to say that frisby is awesome! And I'm planning to integrate it as the CI/CD auto test for our backend endpoints.

According to Run your tests from the CLI:

cd your/project
jest

It seems that we may use in local server, but for remote service, I was wondering if maybe we should install a web server in the server, and trigger the auto test from it?

impvd commented 3 years ago

One more question, shall we use the exit code of Jest to verify if all the tests success or not?