Commit Graph

66 Commits

Author SHA1 Message Date
Sam Bigelow 8b7aa1e443 Update best_practices.md 2018-12-12 20:54:44 +00:00
Sam Bigelow 78cad022cb Document how to run rspec tests 2018-12-12 20:49:17 +00:00
Douglas Barbosa Alexandre e80f89337b Merge branch '54610-allow-review-jobs-to-fail' into 'master'
Retry the review-{deploy,qa} jobs twice, and allow them to fail

Closes #54610 and #54717

See merge request gitlab-org/gitlab-ce!23510
2018-12-06 17:49:20 +00:00
Rémy Coutable 75ae3af19b
Add an 'How-To' section to the Review Apps doc
Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-12-06 10:06:15 +01:00
Stan Hu 676e0a3260 Remove mentions of Redash
Related links:

* https://gitlab.com/gitlab-com/Product/issues/5
* https://gitlab.com/meltano/looker/issues/294
2018-12-05 10:34:16 -08:00
Sean McGivern e8db29d086 Merge branch '49570-add-review_qa-job' into 'master'
Add an automatic job to run QA smoke tests against Review Apps

Closes #49570

See merge request gitlab-org/gitlab-ce!22853
2018-11-28 10:39:56 +00:00
Rémy Coutable f4b8ecbf9f
Add a manual job to run QA against a Review App
1. Renames review to review-deploy.
2. Renames stop_review to review-stop.
3. Adds a build-qa-image job to the prepare stage and save the QA
  Docker image as artifact (example:
  https://gitlab.com/gitlab-org/gitlab-ce/-/jobs/120967019).
4. Adds a manual review-qa job to the test stage to run QA tests
  against the Review App (example:
  https://gitlab.com/gitlab-org/gitlab-ce/-/jobs/120967238).
5. Make the review-deploy job plays the review-qa job as soon as the
  Review App is deployed (example:
  https://gitlab.com/gitlab-org/gitlab-ce/-/jobs/120988775).
6. Updates the Review Apps documentation accordingly.

Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-11-26 14:49:03 +01:00
Takuya Noguchi e238882d0c Eliminate duplicated words
Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
2018-11-22 15:44:32 +09:00
George Tsiolis d2d8b935e2 Fix typos in docs 2018-11-16 12:05:55 +02:00
Mek Stittri 03e46cf72b Merge branch 'docs-quality/team-tasks-24' into 'master'
Improve the 'Testing levels' documentation

Closes gitlab-org/quality/team-tasks#24

See merge request gitlab-org/gitlab-ce!21505
2018-11-13 00:29:16 +00:00
Rémy Coutable 1813bb989b
Improve the Review Apps documentation a bit
Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-11-08 20:00:49 +01:00
Rémy Coutable 35616708ff
Improve the 'Testing levels' documentation
Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-11-06 22:17:38 +01:00
Mark Lapierre 25be3f83af Fix Review Apps testing guide
Changes from docs review
2018-10-29 20:10:56 +00:00
Mark Lapierre df17f35528 Update review apps testing guide
Review Apps are now deployed automatically.
Note that if auth fails you might need to stop and redeploy the app.
2018-10-26 15:17:54 +00:00
Rémy Coutable 173b1436b1 Merge branch '51366-custom-repos-trait-docs' into 'master'
Document the :repository and :custom_repo traits

Closes #51366

See merge request gitlab-org/gitlab-ce!22480
2018-10-22 06:47:58 +00:00
Nick Thomas a5ee4e0d7b
Document how GitLab keeps its tests pristine 2018-10-19 18:08:41 +01:00
Nick Thomas 2953798e7e
Document the :repository and :custom_repo traits 2018-10-19 03:09:37 +01:00
Dylan Griffith f5f5d6ea1f Resolve "Un-vendor CI templates" 2018-09-26 15:39:27 +00:00
Rémy Coutable 03b0d3d6bb
Document review apps setup for gitlab-{ce,ee}
Signed-off-by: Rémy Coutable <remy@rymai.me>
Signed-off-by: ddavison <ddavison@gitlab.com>
2018-09-17 13:40:14 -04:00
Brett Walker b0be58a1b3 Resolve "CE documentation is not CommonMark compliant" 2018-09-06 16:52:18 +00:00
Dan Davison d67936b68f add initial smoke tests and documentation 2018-08-20 18:13:54 +00:00
Toon Claes 13afac6533 First version of pry_debugging.md 2018-07-20 11:56:17 +02:00
Winnie Hellmann d8013704b6 Document that we don't want to wait in tests 2018-07-09 14:53:33 +00:00
Winnie Hellmann 0fbd948b8d Add link to hack for styling Capybara HTML dumps 2018-05-31 14:03:46 +00:00
Rémy Coutable 920becb784 Merge branch 'backstage/gb/improve-fast-specs-helper' into 'master'
Improve fast specs helper to autoload the library

See merge request gitlab-org/gitlab-ce!18903
2018-05-15 13:27:04 +00:00
Grzegorz Bizon 7186f0de65 Improve testing best practices guidelines
It mentions that explicitly defining dependencies in sources is
preferred over defining such dependencies only in spec files.
2018-05-15 14:43:39 +02:00
Grzegorz Bizon d134c0fb70 Update docs describing `fast_spec_helper` best practices 2018-05-15 10:38:00 +02:00
blackst0ne c3882c2611 Clean up docs 2018-05-14 18:53:57 +11:00
Stan Hu 204af2e101 Support resetting of Prometheus metrics between test runs
Adding the :prometheus tag to an rspec test will clear out
memory-mapped files and reset the registry.

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/39968
2018-05-09 14:33:42 -07:00
Mike Greiling 6b1e4ad5e8 Fix memory and performance issues in Karma test suite 2018-05-01 17:40:35 +00:00
Pascal Borreli 12e3eff462 Fixed typos 2018-04-27 08:50:05 +00:00
Clement Ho b173e56461 Merge branch '30998-add-babel-rewire-plugin' into 'master'
Resolve "Add some way to mock and spy on default ES modules"

Closes #30998

See merge request gitlab-org/gitlab-ce!18116
2018-04-24 14:00:59 +00:00
Michael Kozono 407a800456 Add Capybara debugging methods to docs 2018-04-23 19:52:45 +00:00
Rémy Coutable 5b44097cf7
Address latest feedback
Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-04-23 13:02:07 +02:00
Rémy Coutable fe919f95b1
Document the new 'spec/fast_spec_helper.rb' file
Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-04-23 12:20:30 +02:00
Rémy Coutable 023d4f6f2f
Move spec helpers/matchers/shared examples/contexts to their relevant folder
Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-04-23 12:20:30 +02:00
Mike Greiling 44783480be
document the spyOnDependency method 2018-04-23 00:54:21 -05:00
Grzegorz Bizon 27a5deea38 Rename #qa slack channel to #quality in docs 2018-04-19 09:28:08 +02:00
Lukas Eipert bd1b2c665f
use commander for safer cli argument parsing 2018-04-11 00:34:18 +02:00
Lukas Eipert 029180f016
add documentation for karma testing with specific files/folders 2018-04-10 12:03:46 +02:00
Toon Claes 88dffa45ce Rename `package-qa` in docs
In gitlab-org/gitlab-ce!17807 the `package-qa` job was renamed to
`package-and-qa`. But it was not renamed in the docs. So this change
fixes that.
2018-03-19 10:04:23 +01:00
Rémy Coutable 2bdb578032
Port some RuboCop and doc changes from EE
Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-02-13 16:33:00 +01:00
Clement Ho b593565538 Add note about live_debug only working on javascript enabled specs 2018-01-22 17:50:39 +00:00
Anwar El Wakil 408e3cc1c4 Update best_practices.md
Remove duplicate list item in "General Guidelines" Section.
2018-01-19 13:15:35 +00:00
Andrew Newdigate 0cc25f0f1b Update end_to_end_tests.md 2018-01-11 12:05:55 +00:00
Grzegorz Bizon 8bdc6c74e8 Rephrase paragraph about e2e tests in merge requests in docs 2018-01-05 15:32:41 +01:00
Grzegorz Bizon e8acb3f117 Copy-edit end-to-end testing guide documentation 2018-01-04 12:09:14 +01:00
Grzegorz Bizon 124ffb2134 Fix link to end-to-end testing docs from test pyramid 2018-01-02 14:42:28 +01:00
Grzegorz Bizon 1aa25a3fe3 Copy-edit end-to-end testing guidelines 2018-01-02 14:37:01 +01:00
Grzegorz Bizon 51bb5abe26 Link to end to end test guideline from test pyramid 2018-01-02 14:30:29 +01:00