Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTTP Server Integration Testing #86

Open
earthquakesan opened this issue Jan 24, 2017 · 1 comment
Open

HTTP Server Integration Testing #86

earthquakesan opened this issue Jan 24, 2017 · 1 comment

Comments

@earthquakesan
Copy link
Contributor

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.
@kvndrsslr-zz
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants