Commit Graph

32 Commits

Author SHA1 Message Date
Robert Speicher 0a556523cf Enable `RSpec/DescribedClass` cop 2017-05-01 11:12:13 -04:00
Zeger-Jan van de Weg 6f5b579f94 Use rspec-set to speed up examples 2017-04-26 14:46:26 +00:00
Rémy Coutable 3b560dd04b
Remove outdated ci_setup.md doc page and document MySQL and RSpec profiling for specific branches
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-04-25 20:40:44 +02:00
Rémy Coutable a7e8939d2f
Improve the testing documentation
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-04-12 11:19:47 +02:00
Rémy Coutable 6de5aad237
Fix link again
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-04-11 15:19:50 +02:00
Rémy Coutable c0b5ddc73d
Fix path to migrations
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-04-11 13:48:55 +02:00
Rémy Coutable 947617f637
Fix wrong link
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-04-11 10:04:42 +02:00
Rémy Coutable 2b606a3a2e Re-organize testing doc, and add RSpec structure doc
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-04-10 16:40:33 +02:00
Rémy Coutable 0aafb6abb8 Document GitLab QA
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-04-10 16:40:33 +02:00
Rémy Coutable 91fb9f446f Improve testing documentation with Robert's feedback
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-04-10 16:40:33 +02:00
Rémy Coutable 35bf7c7e47 Firs pass at improving the testing documentation
[ci skip]

Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-04-10 16:40:33 +02:00
Filipa Lacerda 8c3bdc853a Creates Frontend Style guide 2017-03-22 19:30:54 +00:00
Mike Greiling 95d38ac9f9 remove all references to the .es6 in our config files and documentation 2017-03-15 18:31:01 -05:00
Rémy Coutable 3e6a5cf0ed Merge branch 'rs-document-timecop' into 'master'
Document Timecop usage for time-sensitive tests

See merge request !9383
2017-02-20 18:39:26 +00:00
Rémy Coutable 5643e4d1ea Merge branch 'link-to-rspec-features-docs' into 'master'
Add link to external documentation of rspec-rails feature specs

See merge request !8973
2017-02-20 15:59:52 +00:00
Robert Speicher ec3262549b Document Timecop usage for time-sensitive tests 2017-02-20 10:39:51 -05:00
Richard Macklin 8aa66fe65e Add more links in the Features/Integration testing documentation
- Move the rspec-rails feature spec link to the Features/Integration
  section
- Mention and link to capybara and poltergeist there as well

[ci skip]
2017-02-13 23:59:09 -08:00
Clement Ho 49c4059a32 Replace teaspoon references with Karma 2017-02-10 10:50:12 -06:00
Richard Macklin 4d7b299027 Add link to external documentation of rspec-rails feature specs
[ci skip]
2017-02-03 21:52:03 -08:00
Rémy Coutable 39378d0e97 Document that we always use `do...end` for `before` in RSpec
[ci skip]

Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-11-24 17:36:09 +08:00
Lin Jen-Shin 9c4e0d6445 Use `Gitlab.config.gitlab.host` over `'localhost'`
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.
2016-11-18 20:17:10 +08:00
Rémy Coutable 6002827996 Add a gotcha about FactoryGirl sequences
Related to https://gitlab.com/gitlab-org/gitlab-ce/issues/24341

Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-11-16 17:55:11 +01:00
Drew Blessing af5322e90b Add Rake task to create/repair GitLab Shell hooks symlinks 2016-11-01 14:52:59 -05:00
Bryce Johnson 5fb226a934 Remove leftover references to coffeescript from comments and docs. 2016-10-31 11:39:52 +01:00
Robert Speicher 75739e54be Enable RSpec/NotToNot cop and auto-correct offenses
Also removes the note from the development/testing.md guide
2016-05-24 15:40:29 -04:00
Robert Speicher df9a7c6b4a Add a note to testing docs about the `:each` argument to RSpec hooks
[ci skip]
2016-05-05 17:22:18 -04:00
Robert Speicher cedcc1453c Minor Testing guide copyedits
[ci skip]
2016-04-09 01:19:21 -04:00
Robert Speicher 6ffda88c97 Add a link back to Development documentation to Testing guide
[ci skip]
2016-04-01 20:36:59 -04:00
Robert Speicher 2e83b56203 Add a section about `let` to the Testing guide
[ci skip]
2016-04-01 20:31:16 -04:00
Robert Speicher 60f4081e13 Factories don't have to be limited to `ActiveRecord` objects
[ci skip]
2016-04-01 20:31:12 -04:00
Robert Speicher 0b9d9816f8 Add a note about Four-Phase Test to Testing guide
[ci skip]
2016-04-01 20:31:12 -04:00
Robert Speicher fb8b0041d8 First pass at a Testing styleguide
[ci skip]
2016-04-01 20:31:12 -04:00