Integration Testing a Node Server without much configuration

63 Views Asked by At

I want to set up a CI/CD workflow which includes testing my server as a whole.

Using node I have a couple options such as

  • Jest,
  • Mocha,
  • Chai
  • or a different approach such as Postman/Newman.

I have tried out Jest and found it very difficult to adjust my databases such as Postgres and Redis to the mock environment. In fact, I didn't get it to work at all, presumably because of all the technologies involved.

Is there is a tool, maybe one of the others mentioned, that takes the server as it is, without any additional configuration, calls the endpoints of the Server and gives me results, which I can then use to further take action (push/rollback/discard changes)?

0

There are 0 best solutions below