diff options
author | Mike Greiling <mike@pixelcog.com> | 2018-12-05 10:43:38 +0000 |
---|---|---|
committer | Mike Greiling <mike@pixelcog.com> | 2018-12-05 10:43:38 +0000 |
commit | d133c874fa4c7b531b74ed8ac801022864c1f08f (patch) | |
tree | 59a2d5163dbcfdded7aa1c25d49ac2bb69739d28 /doc | |
parent | 9816bb05a3d226dadbc4ed8f1d559f046879612b (diff) | |
parent | a8a13d3259374a1b25ca4a3e954bca563a66a532 (diff) | |
download | gitlab-ce-d133c874fa4c7b531b74ed8ac801022864c1f08f.tar.gz |
Merge branch 'winh-add-jest' into 'master'
Setup Jest test environment
See merge request gitlab-org/gitlab-ce!23406
Diffstat (limited to 'doc')
-rw-r--r-- | doc/development/new_fe_guide/development/testing.md | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/development/new_fe_guide/development/testing.md b/doc/development/new_fe_guide/development/testing.md index 082acbedcd2..0d98180add0 100644 --- a/doc/development/new_fe_guide/development/testing.md +++ b/doc/development/new_fe_guide/development/testing.md @@ -6,9 +6,15 @@ Tests relevant for frontend development can be found at two places: - [frontend unit tests](#frontend-unit-tests) - [frontend component tests](#frontend-component-tests) - [frontend integration tests](#frontend-integration-tests) +- `spec/frontend/` which are run by Jest and contain + - [frontend unit tests](#frontend-unit-tests) + - [frontend component tests](#frontend-component-tests) + - [frontend integration tests](#frontend-integration-tests) - `spec/features/` which are run by RSpec and contain - [feature tests](#feature-tests) +All tests in `spec/javascripts/` will eventually be migrated to `spec/frontend/` (see also [#53757]). + In addition there were feature tests in `features/` run by Spinach in the past. These have been removed from our codebase in May 2018 ([#23036](https://gitlab.com/gitlab-org/gitlab-ce/issues/23036)). @@ -17,6 +23,8 @@ See also: - [old testing guide](../../testing_guide/frontend_testing.html) - [notes on testing Vue components](../../fe_guide/vue.html#testing-vue-components) +[#53757]: https://gitlab.com/gitlab-org/gitlab-ce/issues/53757 + ## Frontend unit tests Unit tests are on the lowest abstraction level and typically test functionality that is not directly perceivable by a user. |