aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/test_unit
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix relative dir call on test runnerArthur Neves2015-03-181-5/+10
|
* Add tests for runner#test_files methodArthur Neves2015-03-181-7/+7
|
* Run multiple files on runnerArthur Neves2015-03-181-4/+5
|
* `-e` / `--environment` for the test runner.Yves Senn2015-03-181-1/+7
|
* move argument parsing into the `Runner`.Yves Senn2015-03-181-0/+5
|
* get rid of NAMED_PATTERNS in favor of running a whole directoryYves Senn2015-03-181-7/+4
|
* document running a test by line number.Yves Senn2015-03-181-0/+7
|
* pluralize rerun snippet heading.Yves Senn2015-03-181-1/+1
|
* Show the right file when test raisesArthur Neves2015-03-181-4/+3
|
* Move minitest pluginArthur Neves2015-03-182-15/+19
| | | | | | | Minitest Rails plugin should be loaded on test_help, so we report errors even when not running from the runner. Also fix the backtrace
* Move some logic to runnerArthur Neves2015-03-181-0/+10
|
* Dont display Failed test if suite passedArthur Neves2015-03-181-0/+1
|
* Better file:line parsing and filter method by file tooArthur Neves2015-03-181-11/+19
|
* If a nem given, use that name to filter the testArthur Neves2015-03-181-5/+1
|
* Add test run by line, and report error by lineArthur Neves2015-03-182-0/+49
|
* spike of a `OptionParser` backed test runner.Yves Senn2015-03-181-0/+83
|
* Remove deprecated `test:all` and `test:all:db` tasksRafael Mendonça França2015-01-041-23/+0
|
* docs, AR no longer makes use of `test:prepare`. [ci skip]Yves Senn2014-11-281-1/+2
| | | | | | Change originated from https://github.com/rails/rails/pull/17739#issuecomment-64829088 /cc @metaskills
* Simplify rake test vs rake test:allDavid Geukers2014-11-101-3/+20
| | | | 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`
* Add `test:jobs` taskyuuji.yaginuma2014-09-151-3/+3
|
* `:nodoc: all` does not remove the constants from the API. [ci skip]Yves Senn2014-06-241-2/+2
| | | | | Need to add individual `:nodoc:` for nested classes / modules to completely remove the constants from the API.
* Revert "Merge pull request #12778 from etehtsea/rake-default-fix"Yves Senn2014-05-281-1/+1
| | | | | | | | | | | | | This reverts commit ec0a2b57f67c9153cb5f7bbe2a3f66d13fe64bdd, reversing changes made to a8bd7b16260c217290ef8fe3a166fcceac442c62. This reverts commit 555ec36522011862c03b483c53be32410594a51e This reverts commit 555ec36522011862c03b483c53be32410594a51e By default, Rails uses the `default` Rake task to run all tests. This commit changed the environment of the default task to `development`. This clears the development database and has other negative consequences.
* Merge pull request #12778 from etehtsea/rake-default-fixRafael Mendonça França2014-03-281-1/+1
|\ | | | | | | | | Don't load test env by default. Closes #13241
| * Don't load test env by defaultKonstantin Shabanov2013-11-111-1/+1
| |
* | rbconfig is not used in these filesArun Agrawal2013-12-261-1/+0
|/ | | | remove unused requires
* Update testing.rake with more accurate description of test task.Josef Šimánek2013-10-291-1/+1
| | | | | According to #5ecd12 change. [ci skip]
* Added generated unit test for generator generator and new test:generators ↵Josef Šimánek2013-07-161-1/+5
| | | | rake task included in test:all rake task.
* Removed unused deprecation requires.Paul Nikitochkin2013-07-031-1/+0
|
* Making the rake file for tests easier to read.wangjohn2013-06-252-15/+45
| | | | | I'm defining a new class which modularizes how the `rake test` tasks are defined and invoked.
* Removing deprecation message and silencing method.wangjohn2013-06-261-18/+0
| | | | | | | | The deprecation rake task is no longer useful because the deprecated methods have already been removed. The method for silencing stderr has been removed since it was only useful for `rake test:uncommitted` which was deprecated and removed.
* Removing deprecated rake tasks.wangjohn2013-06-241-62/+0
| | | | | The `rake test:recent` and `rake test:uncommitted` tasks were deprecated and are now being removed.
* condition simplifiedOleg Sukhodolsky2013-05-281-1/+1
|
* Fixes bug 10628.Scott Hill2013-05-151-1/+1
|
* Refactoring the creation of TestTasks to remove code duplication.wangjohn2013-05-021-18/+4
|
* Moved the check for the rails test environment into rails/test_unit so that youwangjohn2013-04-231-0/+4
| | | | can select frameworks separately when running rake test.
* remove unused variablesVipul A M2013-04-061-1/+0
|
* rake test app/model/foo.rb and rake test models/foo worksAaron Patterson2013-04-051-3/+23
|
* extract test info from the command line and set up the test taskAaron Patterson2013-04-051-4/+6
|
* add a class for splitting up rake commandsAaron Patterson2013-04-051-0/+35
|
* Update Rake tasks to call `rails test` insteadPrem Sichanugrist2013-04-051-7/+10
| | | | | | | | | Also, print out deprecation warning for other rake tasks except `rake test` and `rake` (default) Conflicts: railties/lib/rails/test_unit/testing.rake railties/test/application/rake_test.rb
* Merge branch 'master' into railstestAaron Patterson2013-04-051-0/+4
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master: (44 commits) Improve the changelog entry [ci skip] Fix explicit names on multiple file fields Correctly parse bigint defaults in PostgreSQL Move changelog to the top [ci skip] Fix indent and remove extra white spaces Fix scope chaining + STI failing test for #9869 Improve `belongs_to touch: true` timestamp test Sort modules in alphabetical order. Avoid an attempt to fetch old record when id was not present in touch callback Use the correct pk field from the reflected class to find the old record Refactor mail_to to not generate intermediate hashes when adding href Ensure mail_to helper does not modify the given html options hash Use inspect when writing the foreign key from the reflection Use a space after the comment sign when showing the result of commands Exclude template files for rdoc API [ci skip] template should have generic name use | to have more intent revealing code Revert "Merge pull request #10034 from benofsky/fix_skipping_object_callback_filters" stop depending on callbacks ... Conflicts: railties/test/application/rake_test.rb
* | check pending migrations against the test dbAaron Patterson2013-04-031-15/+1
| |
* | a test file can be provided to rake, e.g.:Aaron Patterson2013-04-031-1/+10
| | | | | | | | rake test path/to/test.rb
* | switch to Rails::TestTaskAaron Patterson2013-04-032-25/+34
| |
* | Revert "Update Rake tasks to call `rails test` instead"Aaron Patterson2013-04-031-28/+52
| | | | | | | | This reverts commit b51673fbd9563bd3ffa22e22255ca1cef80cfb6d.
* | Revert "Warning removed unused variable task_name"Aaron Patterson2013-04-031-0/+1
|/ | | | This reverts commit 106e15927f0dd8060fc37eff44b823a92fa94bd2.
* Warning removed unused variable task_nameArun Agrawal2013-03-151-1/+0
| | | | warning: assigned but unused variable - task_name
* Update Rake tasks to call `rails test` insteadPrem Sichanugrist2013-03-091-52/+28
| | | | | Also, print out deprecation warning for other rake tasks except `rake test` and `rake` (default)
* Added test:all and test:all:db tasks to speed up full test runs.Ryan Davis2013-02-041-0/+12
| | | | | | | | | | Speed up depends on the number of test phases (N) you have for your app, but it is roughly a 1/N improvement. In my app, it goes from 15.51s to 5.56s. Inspired by http://ngauthier.com/2012/02/quick-tests-with-bash.html Reviewed by @tenderlove
* remove performance tests from the default stackYves Senn2013-01-102-2/+1
|