Copyright © https://mongoose-os.com

Mongoose OS Forum

frame

System Testing a Mongoose Server

I'm curious as to the best/correct way to setup System level black-box tests for a Mongoose C++ based Web Application project I've been working on. This needs to run in an automatic way within a jenkins script.

The idea is to run something like:

  1. Start the server
  2. Submit HTTP Get requests with predefined query parameters
  3. Check that the result is as expected.
  4. Run (2), (3) with different combinations
  5. Close the server

One possible way to do this is to whip up a python script which runs the server executable generated by make as a process, runs the tests and then kills the spawned process.

Is there a better/more structured way of doing this(and accompanying tools/libraries) either using Python or C++?

Originally this question was asked here: https://stackoverflow.com/questions/52139148/system-testing-a-mongoose-server

Comments

Sign In or Register to comment.