LIMES icon indicating copy to clipboard operation
LIMES copied to clipboard

HTTP Server Integration Testing

Open earthquakesan opened this issue 7 years ago • 1 comments

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.

earthquakesan avatar Jan 24 '17 07:01 earthquakesan

Blocked by #149 (unit tests shouldn't be mixed with integration tests)

kvndrsslr-zz avatar Mar 02 '18 10:03 kvndrsslr-zz