aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/test_unit
Commit message (Collapse)AuthorAgeFilesLines
...
* Improve test runner's Minitest integration.Kasper Timm Hansen2015-06-045-152/+85
| | | | | | | | | | | This also adds free mix and matching of directories, files and lines filters. Like so: bin/rails test models/post_test.rb test/integration models/person_test.rb:26 You can also mix in a traditional Minitest filter: bin/rails test test/integration -n /check_it_out/
* Remove unused private classesRafael Mendonça França2015-05-031-126/+0
| | | | | | | The usage of these classes where removed at 8017e6af31caa58a58787274ff0ca01397219e49. cc @arthurnn @senny
* Merge pull request #19441 from y-yagi/use_existArthur Nogueira Neves2015-03-211-1/+1
|\ | | | | use `Dir.exist?` instead of deprecated `Dir.exists?`
| * use `Dir.exist?` instead of deprecated `Dir.exists?`yuuji.yaginuma2015-03-211-1/+1
| |
* | Merge pull request #19445 from prathamesh-sonpatki/rm-ostructArthur Nogueira Neves2015-03-211-1/+0
|\ \ | | | | | | Removed requiring ostruct because its unused
| * | Removed requiring ostruct because its unusedPrathamesh Sonpatki2015-03-211-1/+0
| |/
* / Fix typos in test runner's help outputPrathamesh Sonpatki2015-03-211-2/+2
|/
* Use absolute path on find_method location for the runnerArthur Neves2015-03-191-1/+1
|
* Fix test rake when passing multiple argumentsArthur Neves2015-03-191-2/+2
| | | | bundle exec db:migrate rake was not working, with the new runner, before this commit
* Use Rails::TestRunner on rake testArthur Neves2015-03-181-16/+17
|
* Fix reporter test and verbose modeArthur Neves2015-03-181-1/+1
|
* move `ENV["BACKTRACE"]` support into the TestRunner.Yves Senn2015-03-182-3/+2
|
* `-p`, `--pattern` to run tests using a pattern.Yves Senn2015-03-181-0/+4
|
* use `bin/rails t` runner in `test_runner_test.rb`.Yves Senn2015-03-181-2/+2
|
* 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
|