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

Tests are inadequate when it comes to standard functionality #68

Closed
niklas88 opened this issue Jun 26, 2018 · 2 comments
Closed

Tests are inadequate when it comes to standard functionality #68

niklas88 opened this issue Jun 26, 2018 · 2 comments
Labels
Projects

Comments

@niklas88
Copy link
Member

So @joka921 and I just figured out that his change to externalize the vocabulary during index building actually doesn't load the final vocabulary so that the text index can be built. This means the change completely breaks text indices. Still it passes all tests, without even a hint of a problem. Similarly the threading change subtly broke some benchmark queries a while back (though we only have those for a full Freebase index) and also doesn't trigger any test failures.

Therefore this issue tracks adding "end-to-end" tests that should fail when existing functionality breaks (at least in less subtle ways). For this we probably need a combination of true end-to-end tests which build an index and spawn an actual server running queries against it as well as unit tests that cover these processes from an API point of view.

Ideally we also want to run the end-to-end tests on a realistic index so they can't all run on Travis. Still even there we should at least test with the scientists collection.

I tagged this as "help wanted" because I'd be especially interested in a good variety of queries for the scientists collection (we do have more queries for the real data sets).

niklas88 added a commit that referenced this issue Jul 5, 2018
Add simple End-to-End Tests using the Scientist Collection, first start at tackling #68
@niklas88
Copy link
Member Author

niklas88 commented Jul 5, 2018

As @Buchhold said in private mail, the Scientist Collection may not be ideal as few complex SPARQL queries will work on it. So I think in addition to working on good queries for the Scientist Collection we should think about creating a better test collection. We may then just incorporate both into the End-to-End tests.

@niklas88
Copy link
Member Author

I think now that we have and use the end-to-end tests this is more like a continued goal than an actual issue and therefore I'm closing this

QLever automation moved this from In progress to Done Oct 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
QLever
  
Done
Development

No branches or pull requests

1 participant