aboutsummaryrefslogtreecommitdiffstats
path: root/tools/test.rb
Commit message (Collapse)AuthorAgeFilesLines
* Prevent multiple values being set to `run_via`yuuji.yaginuma2017-02-181-1/+1
| | | | | When executing the test via rake, since `rake` is set for `run_via`, `ruby` should not be set. Related 2cb6c27310452da11b93d729c3b760ce988106e1
* make work bin/test scripts with line filteryuuji.yaginuma2016-12-171-0/+3
| | | | | `Rails::LineFiltering` is not automatically loaded, need to load it explicitly. Ref: 797f1dd, b6f935b
* update bin/test scripts to prevent double runs.Yves Senn2016-11-211-0/+2
| | | | | The test runner was updated to make use of autorun. This caused the `bin/test` scripts to run Minitest twice.
* applies new string literal convention in toolsXavier Noria2016-08-061-1/+1
| | | | | The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default.
* Remove requiring load_paths from tools/test.rbPrathamesh Sonpatki2016-03-021-1/+4
| | | | | | | - Instead require and setup Bundler - `tools/test.rb` is used internally from all `bin/test` scripts inside component gems. - Followup of https://github.com/rails/rails/commit/2abcdfd978fdcd491576a237e8c6be04ddaf884d.
* make it possible to customize the executable inside rereun snippets.Yves Senn2015-06-131-0/+2
| | | | | | | | | | | | | | | | | | | 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 ```
* select the AR adapter through `bin/test`.Yves Senn2015-06-111-2/+0
|
* use our runner (`bin/test`) for framework components.Yves Senn2015-06-111-0/+12
This adds a script `bin/test` to most Rails framework components. The script uses the rails minitest plugin to augment the runner. See https://github.com/rails/rails/pull/19571 for details about the plugin. I did not yet add `bin/test` for activerecord, activejob and railties. These components rely on specific setup performed in the rake-tasks.