I have a problem with the CI of my python project, the project is a python API which communicates with a server. To make it possible, to run builds concurrently I must have a possibility to pass the servers port to the python setup.py test command. For example python setup.py test --port 1337. Is there any possibility to get this done?
At the moment I have a setup.py file and use unittest for testing, but I'm totally free to use another framework like nose. The important thing is to pass the port while trigger the tests over the setup.py file!
Aucun commentaire:
Enregistrer un commentaire