summaryrefslogtreecommitdiffstats
path: root/tests/run-tests.py
Commit message (Collapse)AuthorAgeFilesLines
* #915 Add large HTTP response testJavier Sánchez Parra2021-04-191-1/+2
| | | | | | | | This commit adds a test for HTTP responses that are too large to fit in ogServer response buffer. It also moves the basic sql data used for the other tests to its own file, easing its reuse in several files.
* #915 Stop ogServer service in run-test.pyJavier Sánchez Parra2021-04-191-0/+3
| | | | | | | | | | Python test script launches its own ogServer to run tests. If there is another ogServer running at the same time, it interferes with tests. Installing ogServer in a machine results in an enabled ogServer service. Stop ogServer service before tests just in case the user installed ogServer in the machine.
* #915 Add Valgrind to python testsJavier Sánchez Parra2021-02-231-3/+10
| | | | | ogServer has some memory bugs we want to solve and avoid in the future. Run ogServer with Valgrind to help us find those errors.
* #915 Update run-tests.py to the latest changesRoberto Hueso Gómez2020-10-071-3/+3
| | | | | | This handles changes in: - The host of the DB. - New json config file.
* #915 Add default SQL schema for testsRoberto Hueso Gómez2020-10-071-1/+1
| | | | | This schema is now adapted to work on this repository instead of the "OpenGnsys" general repository.
* #986 rename to ogserverOpenGnSys Support Team2020-06-191-4/+4
|
* #915 check ogAdmServer binary existence when running pythong testsJavier Sánchez Parra2019-08-281-0/+4
| | | | | | | | | | | Currently, if you try to run the python test without the ogAdmServer binary, it will throw an exception. This patch adds a check to ensure the existence of the ogAdmServer binary at the beginning of the script. # python3 run-tests.py You need to build the ogAdmServer binary to run these tests :-)
* #915 Improve test output using unittest discoverJavier Sánchez Parra2019-07-051-2/+1
| | | | | | | | * Call the tests with python module unittest. In particular, the discover function. * Rename tests files to meet the default requirements of discover function.
* #915 Remove unnecessary return in ogAdmServer/tests/run-tests.pyJavier Sánchez Parra2019-06-121-4/+0
| | | | No need to explicit return call, remove it.
* #915 add unit test infrastructure for REST APIJavier Sánchez Parra2019-05-311-0/+42
This python script creates a database and starts ogAdmServer to run the tests. This requires root to be launched: # ./run-tests.py From the 'tests' folder.