Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | modify to pass the correct argument to the test runner from rake | yuuji.yaginuma | 2015-09-08 | 2 | -6/+15 |
| | | | | | | | | test runner sets file to be tested in plugin_rails_options, but in plugin_rails_options, processing has been made to the argument of the actual command rather than the argument of Minitest.run. For example, if you run `./bin rake db:migrate test`, the options[:patterns], `db:migrate test` was incorrectly set. | ||||
* | raise LoadError when a non-existent file or directory is specified to the ↵ | yuuji.yaginuma | 2015-09-07 | 1 | -1/+1 |
| | | | | | | | | test runner Currently, if a file or directory that does not exist was specified in the test runner, that argument is ignored. This commit has been modified to cause an error if there is no file or directory. | ||||
* | make `ENV` a required argument | yuuji.yaginuma | 2015-08-29 | 1 | -1/+1 |
| | |||||
* | Allow Minitest to load plugins. Fixes #21102 | Oleg Sukhodolsky | 2015-08-03 | 1 | -0/+1 |
| | |||||
* | Avoid crashing when minitest-rails is loaded. | Victor Costan | 2015-07-01 | 1 | -3/+3 |
| | | | | | | | | The improvments to the test runner's integration with minitest in commit b6fc8e25a10cc4abdd03018798b180270d6c5d7f add methods to the Minitest module that refer to the Rails module. Unfortunately, when the minitest-rails gem is loaded, the reference is incorrectly resolved to the Minitest::Rails module. | ||||
* | 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. |