LIMES
LIMES copied to clipboard
HTTP Server Integration Testing
Please cover the case with an integration test, which should include following steps:
- Bootstrap the server (i.e. run in a thread listening to 8080 port)
- Bootstrap two SPARQL endpoints (tests can not be run against network resources, which you do not control) with 10-20 triples each (use two different ports for them, like 8081 and 8082)
- Submit a link specification (fixture) interlinking those two SPARQL endpoints, get an ID of the job, check if it is a valid ID
- Poll for status of an ID every 1 second, fail after 5-10 seconds if the job is not executed successfully
- Get the results of the job, both acceptance and review. Compare results to predefined fixtures, fail if they differ.
Blocked by #149 (unit tests shouldn't be mixed with integration tests)