aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/testing.md
Commit message (Collapse)AuthorAgeFilesLines
...
* document the return of `db:test:prepare`. Closes #18136. [ci skip]Yves Senn2014-12-221-1/+10
| | | | | | This is a doc follow-up to #17739. /cc @zzak
* Better explain number of assertions per test [ci skip]Zachary Scott2014-12-221-1/+1
|
* Remove duplicate description of the previous line [ci skip]Zachary Scott2014-12-221-1/+1
|
* Fix NOTE for method naming in Ruby and add intro sentence to next section.Zachary Scott2014-12-221-1/+3
| | | | [ci skip]
* Removed run-on sentence and replace with sectional comments [ci skip]Zachary Scott2014-12-221-2/+2
|
* Better explain how test() methods get defined and kill this run-on sentence.Zachary Scott2014-12-221-2/+2
| | | | [ci skip]
* We may only look at some of the methods available from TestCase [ci skip]Zachary Scott2014-12-221-1/+1
|
* Better explain what `test_helper.rb` is designed for [ci skip]Zachary Scott2014-12-221-1/+1
|
* Testing guide grammar fixJon Atack2014-12-211-1/+1
| | | [skip ci]
* We will be using the application already created in the Getting Started guide.Zachary Scott2014-12-201-4/+2
| | | | [ci skip]
* Follow-up to d9710212 [skip ci]Jon Atack2014-12-211-1/+1
|
* Fixture data is accessible by a local method, and not a variable [ci skip]Zachary Scott2014-12-201-2/+2
|
* Shorten the explaination of this to fit on one line [ci skip]Zachary Scott2014-12-201-1/+1
|
* s/folder/directory [ci skip]Zachary Scott2014-12-201-7/+7
|
* "In PostgreSQL, just superusers.." => "In PostgreSQL, only superusers.."Zachary Scott2014-12-201-1/+1
| | | | [ci skip]
* Make sure this section is rendered as a `NOTE` and remove redundant sentence.Zachary Scott2014-12-201-5/+1
| | | | [ci skip]
* Add note about the association between the two fixture files and how they're ↵Zachary Scott2014-12-201-0/+2
| | | | | | connection. [ci skip]
* Remove YAML implementation detail, as we're not trying to document all ofZachary Scott2014-12-201-1/+1
| | | | YAML's behavior in this guide. [ci skip]
* Remove use of "very" [ci skip]Zachary Scott2014-12-201-1/+1
|
* Describe the mailer and helpers directories which are generated by `rails new`.Zachary Scott2014-12-201-1/+1
| | | | [ci skip]
* Update comment regarding test environment with help from @matthewd [ci skip]Zachary Scott2014-12-201-1/+3
|
* Adding a tip in the guides about possible database permission problems onandrey.nering@gmail.com2014-12-091-0/+2
| | | | | | loading fixtures to the database. Reference #17542
* [Testing guide] Using "Fixtures API" consistentlyPrathamesh Sonpatki2014-11-301-1/+1
| | | | | | | | | - In guides, "API" is used consistently instead of "api". - Reason behind replacing "fixtures API" to "Fixtures API" is because here we are referring to the concept of "fixtures". In other places in the guide "fixture" OR "fixtures" is referred to the single or multiple instances of test data. - This is also followup of https://github.com/rails/docrails/commit/aa9d1332b20305dd860b21a7ada06c5252bebad5#commitcomment-8497376.
* [Testing guide] Use "Fixtures API" instead of "fixture api".Prathamesh Sonpatki2014-11-301-1/+1
|
* Simplify and fix grammarJon Atack2014-11-141-5/+4
| | | [skip ci]
* [CI SKIP] Corrections to testing guide.Guo Xiang Tan2014-11-141-2/+2
| | | | Partially revert https://github.com/rails/rails/commit/c31e638a37946a120f6dbf207127d36beea5ab85.
* [ci skip] Remove deprecated testing tasksSandip Ransing2014-11-141-4/+2
| | | | | This has changed recently and so rake test:all and rake test:all:db are deprecated.
* [ci skip] Improve upon testing tasks guideSandip Ransing2014-11-141-3/+5
| | | | Add missing testing tasks and also improve upon tasks descriptions
* [ci skip] Capybara added to other testing approachesSandip Ransing2014-11-141-0/+1
|
* [ci skip] Add one more example to routing testing, and highlight associationSandip Ransing2014-11-131-2/+6
| | | | name keywords
* Merge pull request #17348 from DavidGeukers/rake_test_allDavid Heinemeier Hansson2014-11-121-3/+2
|\ | | | | simplify rake test vs rake test:all
| * Simplify rake test vs rake test:allDavid Geukers2014-11-101-3/+2
| | | | | | | | Renames `rake test:all` to `rake test` by changing old `rake test:run` to previous version of `rake test:all`. Removes old definition of `rake test`. Also renames `rake test:all:db` to `rake test:db` and deprecates `rake test:all` & `rake test:all:db`
* | Merge pull request #17476 from robin850/job-testingRobin Dupret2014-11-081-0/+62
|\ \ | | | | | | Add a section about job testing [ci skip]
| * | Add a section about job testing [ci skip]Ryan Selk2014-11-021-0/+62
| |/ | | | | | | | | | | | | | | * Cover lower level job testing (assertions about the execution of the job itself). * Add a table with the custom assertions provided by Active Job's `TestHelper` module. * Add an example testing job queuing inside a model
* | Guides: Corrected name for assigns key [ci skip]Jimmy Petersen2014-11-071-1/+1
| | | | | | | | | | - Integration test example is now using 'articles' name for both path and assigns key.
* | Merge pull request #17040 from clyfe/patch-1Rafael Mendonça França2014-10-311-2/+4
|\ \ | |/ |/| Explicit route test class
| * Explicit route test classClaudius Nicolae2014-09-241-2/+4
| | | | | | shows the class that the test must extend in order to have the assert_routing method available
* | [ci skip] add `test:jobs` task to testing guideyuuji.yaginuma2014-10-031-0/+1
|/
* [ci skip] Fixing spelling typo in testing guide.Bradly Feeley2014-08-201-1/+1
|
* Updated rdoc / guides / release notes related to ActiveJob / ActionMailerCristian Bica2014-08-201-1/+1
|
* Merge branch 'master' into loofahRafael Mendonça França2014-08-121-12/+11
|\ | | | | | | | | | | | | Conflicts: actionpack/CHANGELOG.md actionpack/test/controller/integration_test.rb actionview/CHANGELOG.md
| * Update docs to reflect that helper stubs are no longer generatedDavid Heinemeier Hansson2014-08-031-10/+2
| |
| * [ci skip] Remove "Machinist" from testing guideyuuji.yaginuma2014-08-031-1/+0
| |
| * Merge branch 'master' of github.com:rails/docrailsVijay Dev2014-08-021-7/+4
| |\ | | | | | | | | | | | | Conflicts: guides/source/testing.md
| | * Add link to minitest rdoc & githubGaurish Sharma2014-07-131-1/+3
| | |
| * | link minitest assertions documentation.Jonas Baumann2014-07-161-2/+7
| | |
| * | document assert[_not]_empty, assert[_not]_includes, assert[_not]_predicate ↵Jonas Baumann2014-07-161-0/+6
| |/ | | | | | | in testing guide.
* | Merge pull request #11218 from kaspth/loofah-integrationRafael Mendonça França2014-07-101-4/+4
|\ \ | |/ |/| | | | | | | | | | | Loofah-integration Conflicts: actionpack/CHANGELOG.md actionview/CHANGELOG.md
| * Readded some documentation about substitution values.Timm2014-06-161-3/+3
| |
| * Updated testing guide to reflect changes in ActionDispatch::SelectorAssertions.Timm2014-06-151-3/+3
| |