Redefine e2e/usage test concept #224
bisgaard-itis
started this conversation in
Ideas
Replies: 2 comments
-
@pcrespov as discussed yesterday, here's an attempt to start a discussion about what our usage tests should be and when/where/why we should be running them. Please have a look and give me your feedback. |
Beta Was this translation helpful? Give feedback.
0 replies
-
See also ITISFoundation/osparc-simcore#6824 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
What's a usage test?
The purpose of a usage test is to determine whether or not a user workflow works as expected. That means a test is a "user story" and can be thought of as an integration test in a very broad sense. Their purpose is not to detect network issues or that the api of, say the
catalog
service, broke backwards compatibility in the latest release. This should be tested elsewhere. Usage tests should detect if a user story is broken but are not designed to diagnose issues on the server. Ideally, when a usage test fails it should point to more specific tests/monitoring tools closer to the server which can be run to diagnose what the problem is. In that sense a usage test is a monitoring tool, but not a very good monitoring tool: It doesn't point the developer to where the issue is. I.e. primarily we should rely on other monitoring tools. This suggests it only makes sense to look at the results of usage tests after checking that all other tests/monitoring tools are happy.Challenges with the current e2e testing framework
Requirements the redesigned e2e/usage testing system should meet
Proposal
Beta Was this translation helpful? Give feedback.
All reactions