Skip to content

Commit 3379ab3

Browse files
committed
docs: explain about splitting the execution of e2e tests from the rest
1 parent 42a303b commit 3379ab3

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

Desktop.Tests/e2e/README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,11 @@ Worth checking:
3232
- Cons:
3333
- Tests implementation is coupled to which windows the app opens: if a form is now embedded and previously was a
3434
window on its own, the test will fail to locate its element and will need adaptative changes.
35+
- **Splitting the execution of e2e tests from the rest**. In the CI, the e2e tests are executed separately from the rest
36+
due to their specific requirements. To do so, any `namespace` that contains `e2e` are excluded from the common test
37+
runs. This is a quick approach, but relies on following the convention of naming the e2e namespaces with `e2e`.
38+
Another approach would be to use different `csproj` or _test annotations_; relying on the `namespace` has been chosen
39+
for convenience giving up flexibility and a better separation of concerns.
3540

3641
# How to run these e2e tests
3742

0 commit comments

Comments
 (0)