summaryrefslogtreecommitdiff
path: root/doc/development/testing.md
Commit message (Collapse)AuthorAgeFilesLines
* Refactor the Development documentation, and divide the Testing documentation ↵Rémy Coutable2017-10-111-566/+1
| | | | into multiple pages
* Let fetch_ref pull from Gitaly instead of from diskJacob Vosmaer2017-10-041-1/+1
|
* Merge branch 'evn-add-neg-tests' into 'master'Robert Speicher2017-09-281-0/+10
|\ | | | | | | | | | | | | Test for what should not be there as well [ci skip] See merge request gitlab-org/gitlab-ce!14492
| * Test for what should not be there as wellevn-add-neg-testsernstvn2017-09-251-0/+10
| |
* | Update CI parallelization descriptionrc/update-testing-docsRémy Coutable2017-09-271-10/+10
|/ | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Reenable MySQL tests on all branchesmk-reenable-mysql-tests-on-all-branchesMichael Kozono2017-08-251-4/+1
| | | | To protect master from surprise failures, as long as we continue to support MySQL.
* Revert "Merge branch 'mk-reenable-mysql-tests-on-all-branches' into 'master'"Douwe Maan2017-08-251-1/+4
| | | This reverts merge request !13812
* Reenable MySQL tests on all branchesMichael Kozono2017-08-241-4/+1
| | | | To protect master from surprise failures, as long as we continue to support MySQL.
* Merge branch '35804-document-table-based-tests' into 'master'Robert Speicher2017-08-141-0/+37
|\ | | | | | | | | | | | | Use rspec-parameterized for table-based tests Closes #35804 See merge request !13469
| * Use rspec-parameterized for table-based testsNick Thomas2017-08-111-0/+37
| |
* | Merge branch 'rc/32308-rspec-retry-hack' into 'master'Sean McGivern2017-08-111-3/+20
|\ \ | | | | | | | | | | | | Detect and keep track of flaky specs See merge request !13021
| * | Document rspec-retry and rspec-flakyRémy Coutable2017-08-111-3/+20
| | | | | | | | | | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* | | Show error message for API 500 error in tests, andLin Jen-Shin2017-08-111-0/+9
|/ / | | | | | | document have_gitlab_http_status
* | Remove documentation about rules that are now enforced by RuboCoprs-rspec-hook-argument-copRobert Speicher2017-08-101-6/+0
|/ | | | | | RuboCop is _living_ documentation! :sparkles: [ci skip]
* Remove documentation about `:empty_project` since we're removing itRobert Speicher2017-08-021-2/+0
|
* Remove developer documentation about not describing symbolsrs-remove-describe-symbol-docsRobert Speicher2017-07-181-1/+0
| | | | This is now covered by rubocop-rspec.
* Disable Rails logging in CI test environmentsrs-disable-test-log-in-ciRobert Speicher2017-07-181-0/+5
| | | | See https://jtway.co/speed-up-your-rails-test-suite-by-6-in-1-line-13fedb869ec4
* Add a link to spec/migrations/README.md in the testing documentationdocs/add-link-to-migrations-spec-docRémy Coutable2017-06-151-1/+1
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Enable `RSpec/DescribedClass` copRobert Speicher2017-05-011-2/+3
|
* Use rspec-set to speed up examplesZeger-Jan van de Weg2017-04-261-0/+15
|
* Remove outdated ci_setup.md doc page and document MySQL and RSpec profiling ↵30692-document-rspec-profile-and-mysql-branch-testing-and-remove-ci_setup-doc-pageRémy Coutable2017-04-251-3/+12
| | | | | | for specific branches Signed-off-by: Rémy Coutable <remy@rymai.me>
* Improve the testing documentationimprove-testing-documentationRémy Coutable2017-04-121-23/+23
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Fix link againRémy Coutable2017-04-111-1/+1
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Fix path to migrationsRémy Coutable2017-04-111-1/+1
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Fix wrong linkRémy Coutable2017-04-111-1/+1
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Re-organize testing doc, and add RSpec structure docRémy Coutable2017-04-101-88/+155
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Document GitLab QARémy Coutable2017-04-101-3/+28
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Improve testing documentation with Robert's feedbackRémy Coutable2017-04-101-23/+36
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Firs pass at improving the testing documentationRémy Coutable2017-04-101-27/+191
| | | | | | [ci skip] Signed-off-by: Rémy Coutable <remy@rymai.me>
* Creates Frontend Style guideFilipa Lacerda2017-03-221-4/+7
|
* remove all references to the .es6 in our config files and documentationremove-es6-extension-configurationMike Greiling2017-03-151-2/+2
|
* Merge branch 'rs-document-timecop' into 'master' Rémy Coutable2017-02-201-0/+19
|\ | | | | | | | | Document Timecop usage for time-sensitive tests See merge request !9383
| * Document Timecop usage for time-sensitive testsrs-document-timecopRobert Speicher2017-02-201-0/+19
| |
* | Merge branch 'link-to-rspec-features-docs' into 'master' Rémy Coutable2017-02-201-0/+8
|\ \ | |/ |/| | | | | Add link to external documentation of rspec-rails feature specs See merge request !8973
| * Add more links in the Features/Integration testing documentationRichard Macklin2017-02-131-3/+9
| | | | | | | | | | | | | | | | - Move the rspec-rails feature spec link to the Features/Integration section - Mention and link to capybara and poltergeist there as well [ci skip]
| * Add link to external documentation of rspec-rails feature specsRichard Macklin2017-02-031-1/+3
| | | | | | | | [ci skip]
* | Replace teaspoon references with Karmareplace-teaspoon-referencesClement Ho2017-02-101-4/+3
|/
* Document that we always use `do...end` for `before` in RSpecimprove-testing-styleguideRémy Coutable2016-11-241-0/+2
| | | | | | [ci skip] Signed-off-by: Rémy Coutable <remy@rymai.me>
* Use `Gitlab.config.gitlab.host` over `'localhost'`fix-tests-for-different-hostLin Jen-Shin2016-11-181-0/+1
| | | | | | | | This would fix long standing failures running tests on my development machine, which set `Gitlab.config.gitlab.host` to another host because it's not my local computer. Now I finally cannot withstand it and decided to fix them once and for all.
* Add a gotcha about FactoryGirl sequencesadd-gotcha-following-24341Rémy Coutable2016-11-161-0/+1
| | | | | | Related to https://gitlab.com/gitlab-org/gitlab-ce/issues/24341 Signed-off-by: Rémy Coutable <remy@rymai.me>
* Add Rake task to create/repair GitLab Shell hooks symlinksDrew Blessing2016-11-011-0/+36
|
* Remove leftover references to coffeescript from comments and docs.decaffeinate-the-docsBryce Johnson2016-10-311-2/+2
|
* Enable RSpec/NotToNot cop and auto-correct offensesrs-rubocop-nottonotRobert Speicher2016-05-241-1/+1
| | | | Also removes the note from the development/testing.md guide
* Add a note to testing docs about the `:each` argument to RSpec hooksRobert Speicher2016-05-051-0/+1
| | | | [ci skip]
* Minor Testing guide copyeditsRobert Speicher2016-04-091-8/+10
| | | | [ci skip]
* Add a link back to Development documentation to Testing guiders-testing-guideRobert Speicher2016-04-011-0/+4
| | | | [ci skip]
* Add a section about `let` to the Testing guideRobert Speicher2016-04-011-4/+25
| | | | [ci skip]
* Factories don't have to be limited to `ActiveRecord` objectsRobert Speicher2016-04-011-0/+2
| | | | [ci skip]
* Add a note about Four-Phase Test to Testing guideRobert Speicher2016-04-011-0/+2
| | | | [ci skip]
* First pass at a Testing styleguideRobert Speicher2016-04-011-0/+105
[ci skip]