diff options
author | Walmyr Lima <walmyr@gitlab.com> | 2019-04-26 18:19:28 +0200 |
---|---|---|
committer | Walmyr Lima <walmyr@gitlab.com> | 2019-05-10 15:07:22 -0500 |
commit | a90599a80542a2545ed6018e926773710f723e87 (patch) | |
tree | 89bf1081fba883bc6dc7169f6db2f147d9ae0600 | |
parent | e2e1eb4dd7c3005d07403cddd384fb66de5b76dc (diff) | |
download | gitlab-ce-a90599a80542a2545ed6018e926773710f723e87.tar.gz |
Update tests mvc section on writing tests doc
Based on:
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/27603#note_164698419
Improve performance of login test by removing unnecessary expect
Improve performance of login test by removing unnecessary expect
-rw-r--r-- | qa/docs/WRITING_TESTS_FROM_SCRATCH.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qa/docs/WRITING_TESTS_FROM_SCRATCH.md b/qa/docs/WRITING_TESTS_FROM_SCRATCH.md index c98dc753c27..cc14fe25e1a 100644 --- a/qa/docs/WRITING_TESTS_FROM_SCRATCH.md +++ b/qa/docs/WRITING_TESTS_FROM_SCRATCH.md @@ -76,7 +76,7 @@ end ### 3. Test cases MVC -For the MVC of our test cases, let's say that we already have the application in the state needed for the tests, and then let's focus on the logic of the test cases only. +For the [MVC](https://about.gitlab.com/handbook/values/#minimum-viable-change-mvc) of our test cases, let's say that we already have the application in the state needed for the tests, and then let's focus on the logic of the test cases only. To evolve the test cases drafted on step 2, let's imagine that the user is already logged in a GitLab EE instance, they already have at least a Premium license in use, there is already a project created, there is already an issue opened in the project, the issue already has a scoped label (e.g. `foo::bar`), there are other scoped labels (for the same scope and for a different scope, e.g. `foo::baz` and `bar::bah`), and finally, the user is already on the issue's page. Let's also suppose that for every test case the application is in a clean state, meaning that one test case won't affect another. |