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

Gradually move E2E specs from 'test' to 'it' #1499

Open
subotic opened this issue Oct 30, 2019 · 0 comments
Open

Gradually move E2E specs from 'test' to 'it' #1499

subotic opened this issue Oct 30, 2019 · 0 comments
Assignees
Labels
chore maintenance and build tasks

Comments

@subotic
Copy link
Collaborator

subotic commented Oct 30, 2019

Currently, the tests under test can be grouped into three different types:

  • unit tests, i.e., tests which don't need anything else but webapi
  • extended "unit tests", i.e., tests which only require GraphDB
  • E2E tests, which require a running webapi server and GraphDB

As soon as #1470 is resolved, I would like to make the extended "unit tests" more integrated, i.e., have them running with an embedded GraphDB.

This would simplify and speed up local development since nothing else would need to run on the side to be able to execute these tests.

This would mean, that the E2E tests would need to be moved to the it folder tree, where they actually make more sense. Also, there are some performance tests using Gatling, which could be moved into an entirely new perftest tree.

At the same time, I would like to run the integration tests in the it tree in a more "real-life" way. They should run against an already running knora-stack, i.e., the tests themselves would not start the webapi service, but only send HTTP requests. This would allow us to run these tests not only locally but also against a real knora-stack deployment.

Since there is a number of methods used both in the test and it tree, it will probably make sense to move them to a knora-test library, which could then be imported by both test and it.

related: #1501

@subotic subotic self-assigned this Oct 30, 2019
@subotic subotic added the chore maintenance and build tasks label Oct 30, 2019
@subotic subotic added this to the 2019-12 milestone Oct 30, 2019
@benjamingeer benjamingeer modified the milestones: 2019-12, 2020-01 Dec 16, 2019
@benjamingeer benjamingeer modified the milestones: 2020-01, 2020-02 Jan 27, 2020
@subotic subotic modified the milestones: 2020-02, 2020-01 Feb 7, 2020
@irinaschubert irinaschubert removed this from the 2020.1 milestone Dec 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore maintenance and build tasks
Projects
None yet
Development

No branches or pull requests

3 participants