vlucas / frisby

Frisby is a REST API testing framework built on Jest that makes testing API endpoints easy, fast, and fun.

Home Page:http://frisbyjs.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

impvd opened this issue · comments

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?

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