Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | do not show "Failed tests" message when a failed test is not | yuuji.yaginuma | 2015-06-23 | 1 | -3/+9 |
| | |||||
* | make it possible to customize the executable inside rereun snippets. | Yves Senn | 2015-06-13 | 1 | -1/+5 |
| | | | | | | | | | | | | | | | | | | | In the Rails repository we use a `bin/test` executable to run our tests. However the rerun snippets still included `bin/rails test`: BEFORE: ``` Failed tests: bin/rails test test/cases/adapters/postgresql/schema_test.rb:91 ``` AFTER: ``` Failed tests: bin/test test/cases/adapters/postgresql/schema_test.rb:91 ``` | ||||
* | Improve test runner's Minitest integration. | Kasper Timm Hansen | 2015-06-04 | 5 | -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 classes | Rafael Mendonça França | 2015-05-03 | 1 | -126/+0 |
| | | | | | | | The usage of these classes where removed at 8017e6af31caa58a58787274ff0ca01397219e49. cc @arthurnn @senny | ||||
* | Merge pull request #19441 from y-yagi/use_exist | Arthur Nogueira Neves | 2015-03-21 | 1 | -1/+1 |
|\ | | | | | use `Dir.exist?` instead of deprecated `Dir.exists?` | ||||
| * | use `Dir.exist?` instead of deprecated `Dir.exists?` | yuuji.yaginuma | 2015-03-21 | 1 | -1/+1 |
| | | |||||
* | | Merge pull request #19445 from prathamesh-sonpatki/rm-ostruct | Arthur Nogueira Neves | 2015-03-21 | 1 | -1/+0 |
|\ \ | | | | | | | Removed requiring ostruct because its unused | ||||
| * | | Removed requiring ostruct because its unused | Prathamesh Sonpatki | 2015-03-21 | 1 | -1/+0 |
| |/ | |||||
* / | Fix typos in test runner's help output | Prathamesh Sonpatki | 2015-03-21 | 1 | -2/+2 |
|/ | |||||
* | Use absolute path on find_method location for the runner | Arthur Neves | 2015-03-19 | 1 | -1/+1 |
| | |||||
* | Fix test rake when passing multiple arguments | Arthur Neves | 2015-03-19 | 1 | -2/+2 |
| | | | | bundle exec db:migrate rake was not working, with the new runner, before this commit | ||||
* | Use Rails::TestRunner on rake test | Arthur Neves | 2015-03-18 | 1 | -16/+17 |
| | |||||
* | Fix reporter test and verbose mode | Arthur Neves | 2015-03-18 | 1 | -1/+1 |
| | |||||
* | move `ENV["BACKTRACE"]` support into the TestRunner. | Yves Senn | 2015-03-18 | 2 | -3/+2 |
| | |||||
* | `-p`, `--pattern` to run tests using a pattern. | Yves Senn | 2015-03-18 | 1 | -0/+4 |
| | |||||
* | use `bin/rails t` runner in `test_runner_test.rb`. | Yves Senn | 2015-03-18 | 1 | -2/+2 |
| | |||||
* | Fix relative dir call on test runner | Arthur Neves | 2015-03-18 | 1 | -5/+10 |
| | |||||
* | Add tests for runner#test_files method | Arthur Neves | 2015-03-18 | 1 | -7/+7 |
| | |||||
* | Run multiple files on runner | Arthur Neves | 2015-03-18 | 1 | -4/+5 |
| | |||||
* | `-e` / `--environment` for the test runner. | Yves Senn | 2015-03-18 | 1 | -1/+7 |
| | |||||
* | move argument parsing into the `Runner`. | Yves Senn | 2015-03-18 | 1 | -0/+5 |
| | |||||
* | get rid of NAMED_PATTERNS in favor of running a whole directory | Yves Senn | 2015-03-18 | 1 | -7/+4 |
| | |||||
* | document running a test by line number. | Yves Senn | 2015-03-18 | 1 | -0/+7 |
| | |||||
* | pluralize rerun snippet heading. | Yves Senn | 2015-03-18 | 1 | -1/+1 |
| | |||||
* | Show the right file when test raises | Arthur Neves | 2015-03-18 | 1 | -4/+3 |
| | |||||
* | Move minitest plugin | Arthur Neves | 2015-03-18 | 2 | -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 runner | Arthur Neves | 2015-03-18 | 1 | -0/+10 |
| | |||||
* | Dont display Failed test if suite passed | Arthur Neves | 2015-03-18 | 1 | -0/+1 |
| | |||||
* | Better file:line parsing and filter method by file too | Arthur Neves | 2015-03-18 | 1 | -11/+19 |
| | |||||
* | If a nem given, use that name to filter the test | Arthur Neves | 2015-03-18 | 1 | -5/+1 |
| | |||||
* | Add test run by line, and report error by line | Arthur Neves | 2015-03-18 | 2 | -0/+49 |
| | |||||
* | spike of a `OptionParser` backed test runner. | Yves Senn | 2015-03-18 | 1 | -0/+83 |
| | |||||
* | Remove deprecated `test:all` and `test:all:db` tasks | Rafael Mendonça França | 2015-01-04 | 1 | -23/+0 |
| | |||||
* | docs, AR no longer makes use of `test:prepare`. [ci skip] | Yves Senn | 2014-11-28 | 1 | -1/+2 |
| | | | | | | Change originated from https://github.com/rails/rails/pull/17739#issuecomment-64829088 /cc @metaskills | ||||
* | Simplify rake test vs rake test:all | David Geukers | 2014-11-10 | 1 | -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` task | yuuji.yaginuma | 2014-09-15 | 1 | -3/+3 |
| | |||||
* | `:nodoc: all` does not remove the constants from the API. [ci skip] | Yves Senn | 2014-06-24 | 1 | -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 Senn | 2014-05-28 | 1 | -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-fix | Rafael Mendonça França | 2014-03-28 | 1 | -1/+1 |
|\ | | | | | | | | | Don't load test env by default. Closes #13241 | ||||
| * | Don't load test env by default | Konstantin Shabanov | 2013-11-11 | 1 | -1/+1 |
| | | |||||
* | | rbconfig is not used in these files | Arun Agrawal | 2013-12-26 | 1 | -1/+0 |
|/ | | | | remove unused requires | ||||
* | Update testing.rake with more accurate description of test task. | Josef Šimánek | 2013-10-29 | 1 | -1/+1 |
| | | | | | According to #5ecd12 change. [ci skip] | ||||
* | Added generated unit test for generator generator and new test:generators ↵ | Josef Šimánek | 2013-07-16 | 1 | -1/+5 |
| | | | | rake task included in test:all rake task. | ||||
* | Removed unused deprecation requires. | Paul Nikitochkin | 2013-07-03 | 1 | -1/+0 |
| | |||||
* | Making the rake file for tests easier to read. | wangjohn | 2013-06-25 | 2 | -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. | wangjohn | 2013-06-26 | 1 | -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. | wangjohn | 2013-06-24 | 1 | -62/+0 |
| | | | | | The `rake test:recent` and `rake test:uncommitted` tasks were deprecated and are now being removed. | ||||
* | condition simplified | Oleg Sukhodolsky | 2013-05-28 | 1 | -1/+1 |
| | |||||
* | Fixes bug 10628. | Scott Hill | 2013-05-15 | 1 | -1/+1 |
| | |||||
* | Refactoring the creation of TestTasks to remove code duplication. | wangjohn | 2013-05-02 | 1 | -18/+4 |
| |