I have a python project that I want to test. I already have unit test with unittest
but I need to do integration tests.
For that, I have two applications: the real one that I have to test, and a "testing" application that will send requests to the first one, wait for the response and then compare it with the expected result:
Like that I wil be able to test if the application is responding correctly to the requests.
For the moment, I have what I described above, but in the main.py (not a specific test file). Also, the comparaison is just done with print function, so that I can see that it works. But I have to execute these tests and be able to get results in a conventional format, like junit xml.
How can I write, run and get results of these tests ?
Aucun commentaire:
Enregistrer un commentaire