Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | [Testing guide] Use "Fixtures API" instead of "fixture api". | Prathamesh Sonpatki | 2014-11-30 | 1 | -1/+1 | |
| | ||||||
* | Simplify and fix grammar | Jon Atack | 2014-11-14 | 1 | -5/+4 | |
| | | | [skip ci] | |||||
* | [CI SKIP] Corrections to testing guide. | Guo Xiang Tan | 2014-11-14 | 1 | -2/+2 | |
| | | | | Partially revert https://github.com/rails/rails/commit/c31e638a37946a120f6dbf207127d36beea5ab85. | |||||
* | [ci skip] Remove deprecated testing tasks | Sandip Ransing | 2014-11-14 | 1 | -4/+2 | |
| | | | | | This has changed recently and so rake test:all and rake test:all:db are deprecated. | |||||
* | [ci skip] Improve upon testing tasks guide | Sandip Ransing | 2014-11-14 | 1 | -3/+5 | |
| | | | | Add missing testing tasks and also improve upon tasks descriptions | |||||
* | [ci skip] Capybara added to other testing approaches | Sandip Ransing | 2014-11-14 | 1 | -0/+1 | |
| | ||||||
* | [ci skip] Add one more example to routing testing, and highlight association | Sandip Ransing | 2014-11-13 | 1 | -2/+6 | |
| | | | | name keywords | |||||
* | Merge pull request #17348 from DavidGeukers/rake_test_all | David Heinemeier Hansson | 2014-11-12 | 1 | -3/+2 | |
|\ | | | | | simplify rake test vs rake test:all | |||||
| * | Simplify rake test vs rake test:all | David Geukers | 2014-11-10 | 1 | -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-testing | Robin Dupret | 2014-11-08 | 1 | -0/+62 | |
|\ \ | | | | | | | Add a section about job testing [ci skip] | |||||
| * | | Add a section about job testing [ci skip] | Ryan Selk | 2014-11-02 | 1 | -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 Petersen | 2014-11-07 | 1 | -1/+1 | |
| | | | | | | | | | | - Integration test example is now using 'articles' name for both path and assigns key. | |||||
* | | Merge pull request #17040 from clyfe/patch-1 | Rafael Mendonça França | 2014-10-31 | 1 | -2/+4 | |
|\ \ | |/ |/| | Explicit route test class | |||||
| * | Explicit route test class | Claudius Nicolae | 2014-09-24 | 1 | -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 guide | yuuji.yaginuma | 2014-10-03 | 1 | -0/+1 | |
|/ | ||||||
* | [ci skip] Fixing spelling typo in testing guide. | Bradly Feeley | 2014-08-20 | 1 | -1/+1 | |
| | ||||||
* | Updated rdoc / guides / release notes related to ActiveJob / ActionMailer | Cristian Bica | 2014-08-20 | 1 | -1/+1 | |
| | ||||||
* | Merge branch 'master' into loofah | Rafael Mendonça França | 2014-08-12 | 1 | -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 generated | David Heinemeier Hansson | 2014-08-03 | 1 | -10/+2 | |
| | | ||||||
| * | [ci skip] Remove "Machinist" from testing guide | yuuji.yaginuma | 2014-08-03 | 1 | -1/+0 | |
| | | ||||||
| * | Merge branch 'master' of github.com:rails/docrails | Vijay Dev | 2014-08-02 | 1 | -7/+4 | |
| |\ | | | | | | | | | | | | | Conflicts: guides/source/testing.md | |||||
| | * | Add link to minitest rdoc & github | Gaurish Sharma | 2014-07-13 | 1 | -1/+3 | |
| | | | ||||||
| * | | link minitest assertions documentation. | Jonas Baumann | 2014-07-16 | 1 | -2/+7 | |
| | | | ||||||
| * | | document assert[_not]_empty, assert[_not]_includes, assert[_not]_predicate ↵ | Jonas Baumann | 2014-07-16 | 1 | -0/+6 | |
| |/ | | | | | | | in testing guide. | |||||
* | | Merge pull request #11218 from kaspth/loofah-integration | Rafael Mendonça França | 2014-07-10 | 1 | -4/+4 | |
|\ \ | |/ |/| | | | | | | | | | | | Loofah-integration Conflicts: actionpack/CHANGELOG.md actionview/CHANGELOG.md | |||||
| * | Readded some documentation about substitution values. | Timm | 2014-06-16 | 1 | -3/+3 | |
| | | ||||||
| * | Updated testing guide to reflect changes in ActionDispatch::SelectorAssertions. | Timm | 2014-06-15 | 1 | -3/+3 | |
| | | ||||||
* | | correct markdown usage [ci skip] | Nishant Modak | 2014-07-09 | 1 | -1/+1 | |
| | | ||||||
* | | Fix 10.3 invite_email.body assert_match example. | Nick Pellant | 2014-06-30 | 1 | -1/+1 | |
| | | | | | | | | | | Currently there is no implicit conversion for Mail::Body to string therefore .to_s must be applied. This is exampled in 10.2.2. | |||||
* | | Follow-up to #15215 [ci skip] | Robin Dupret | 2014-06-27 | 1 | -1/+1 | |
|/ | ||||||
* | [ci skip] explain association behavior. | schneems | 2014-06-02 | 1 | -0/+6 | |
| | | | | | When you manually specify `id:` attribute in a fixture Rails' built in association assignment feature will no longer work. http://stackoverflow.com/questions/23985675/incorrect-association-in-fixtures This commit raises awareness of this behavior and encourages developers to look directly at the fixture documentation. | |||||
* | [ci skip] add fixture docs link to guides | schneems | 2014-06-02 | 1 | -1/+3 | |
| | | | The fixtures API docs are really comprehensive. We should either be driving people there, or perhaps making fixtures its own guide. | |||||
* | Update Minitest references in Testing Guide | Leandro Facchinetti | 2014-05-30 | 1 | -12/+8 | |
| | | | | | | | | | | | | | | | | | | | | | The Guide references `test/unit`, which has been replaced by `Minitest` in all versions of Ruby supported by Rails. The following updates were performed: * The superclass of `ActiveSupport::TestCase` is no longer `MiniTest::Unit::TestCase`, but `Minitest::Test` [1]. * The preferred spelling is `Minitest`, not `MiniTest` [2]. * For a method to be a test in Minitest, its name must start with `test_`, not only `test` [3]. * Explanations about `test/unit` in Ruby 1.8 were removed in favor of more up-to-date information on `Minitest`. [1]: https://github.com/rails/rails/blob/6c2b569660c9216595d02ce6412e3bdcc7293317/activesupport/lib/active_support/test_case.rb#L18 [2]: https://github.com/seattlerb/minitest/blob/d5d43cef9a3fd4a0eea972dde125ed5ba1ddb821/lib/minitest.rb#L9 [3]: https://github.com/seattlerb/minitest/blob/d5d43cef9a3fd4a0eea972dde125ed5ba1ddb821/lib/minitest/test.rb#L62 | |||||
* | integration tests do not need to load fixtures by hand | Xavier Noria | 2014-05-25 | 1 | -5/+0 | |
| | | | | | I don't know when this changed, checked back up to 3.2 and integration tests instantiate fixtures just fine. | |||||
* | Rename Posts to Articles in Guides, continuation of 2d446e77 / #13774 [ci skip] | John Kelly Ferguson | 2014-05-21 | 1 | -75/+75 | |
| | ||||||
* | Use generated binstubs in guides examples. | Josef Šimánek | 2014-05-20 | 1 | -9/+9 | |
| | | | | [ci skip] | |||||
* | Replace first person point of view on guides. | Hendy Tanata | 2014-05-16 | 1 | -1/+1 | |
| | | | | [skip ci] | |||||
* | Instead boat load of libraries, simply say StdLib | Gaurish Sharma | 2014-04-09 | 1 | -1/+1 | |
| | ||||||
* | change 'assert !' to 'assert_not' in guides [ci skip] | Greg Molnar | 2014-02-20 | 1 | -3/+3 | |
| | ||||||
* | [Testing Guide] Explain usage of assert_redirected_to with named routes and ↵ | Prathamesh Sonpatki | 2014-02-12 | 1 | -1/+1 | |
| | | | | Active Record objects [ci skip] | |||||
* | docs, link to HTTP and CGI header definitions. [ci skip] | Yves Senn | 2014-02-10 | 1 | -2/+4 | |
| | | | | This was a reaction to: https://github.com/rails/rails/pull/9700#issuecomment-34550210 | |||||
* | [Testing Guide] Mention :unauthorized in assert_response explanation [ci skip] | Prathamesh Sonpatki | 2014-02-07 | 1 | -1/+1 | |
| | ||||||
* | Removed unused commented code [ci skip] | Arun Agrawal | 2014-02-05 | 1 | -1/+0 | |
| | | | | | As discussed in #13940 this can be removed We can document this somewhere else in testing guides. | |||||
* | add missing sharp [ci skip] | Greg Molnar | 2014-02-04 | 1 | -1/+1 | |
| | ||||||
* | Fixed minor typo [ci skip] | Calvin Tam | 2014-02-03 | 1 | -1/+1 | |
| | ||||||
* | Automatically maintain test database schema | Jon Leighton | 2014-01-02 | 1 | -24/+2 | |
| | | | | | | | | | | | | | | * Move check from generated helper to test_help.rb, so that all applications can benefit * Rather than just raising when the test schema has pending migrations, try to load in the schema and only raise if there are pending migrations afterwards * Opt out of the check by setting config.active_record.maintain_test_schema = false * Deprecate db:test:* tasks. The test helper is now fully responsible for maintaining the test schema, so we don't need rake tasks for this. This is also a speed improvement since we're no longer reloading the test database on every call to "rake test". | |||||
* | doc fix. Use `sess.path` within `open_session`. Closes #13490. [ci skip] | Yves Senn | 2013-12-27 | 1 | -1/+1 | |
| | ||||||
* | Add `rake test:all`, `rake test:all:db` to guide | Paul Nikitochkin | 2013-11-30 | 1 | -9/+14 | |
| | | | | [ci skip] | |||||
* | Fixed minor typo | Jens Dahl Møllerhøj | 2013-11-09 | 1 | -1/+1 | |
| | | | | | | instead of 'rake test' as shortcut, use 'rake'. Closes #12780 [ci skip] | |||||
* | document `BACKTRACE` env var usage in testing guide. [ci skip] | Yves Senn | 2013-11-04 | 1 | -0/+11 | |
| |