Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Prevent the test framework from being loaded in production mode | Aaron Patterson | 2016-10-21 | 1 | -0/+9 |
| | | | | | | | | | | | | The test framework should not be autoloaded in production mode. Before this commit, the testing railtie would extend AS::TestCase. This caused AS::TestCase to be preloaded regardless of the environment in which we were running. This commit just moves the code that adds line filtering support in to the test command where we actually execute the test runner. That allows us to maintain the line runner feature but only load the minimal amount of code we need. | ||||
* | Initial command structure. | Kasper Timm Hansen | 2016-09-25 | 1 | -1/+1 |
| | |||||
* | applies project convention for string literals | Xavier Noria | 2016-08-07 | 1 | -1/+1 |
| | |||||
* | Merge pull request #24260 from ↵ | Kasper Timm Hansen | 2016-08-07 | 1 | -4/+6 |
|\ | | | | | | | | | y-yagi/show_error_message_when_error_raised_in_rails_runner show error message when error raised in rails runner | ||||
| * | show error message when error raised in rails runner | yuuji.yaginuma | 2016-08-03 | 1 | -4/+6 |
| | | |||||
* | | applies new string literal convention in railties/test | Xavier Noria | 2016-08-06 | 1 | -2/+2 |
|/ | | | | | The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default. | ||||
* | Remove unused boot_rails method and it's usage | Prathamesh Sonpatki | 2016-07-04 | 1 | -3/+2 |
| | | | | | - The `boot_rails` method from abstract_unit.rb is empty after 2abcdfd978fdcd491576a237e8c6b. - So let's remove it and its usage. | ||||
* | Provide a better error message if a user mistypes the name of script with runner | Stephen Blackstone | 2016-01-05 | 1 | -0/+10 |
| | | | | Add tests for detecting bad options for runner | ||||
* | tests, railties tests should use `bin/` executables when possible. | Yves Senn | 2015-06-30 | 1 | -10/+10 |
| | | | | | We recommend using the `bin/` executables in our docs and guides. Let's make sure that our tests execute the same code path. | ||||
* | Revert "Merge pull request #19404 from dmathieu/remove_rack_env" | Jeremy Kemper | 2015-03-20 | 1 | -0/+6 |
| | | | | | | | Preserving RACK_ENV behavior. This reverts commit 7bdc7635b885e473f6a577264fd8efad1c02174f, reversing changes made to 45786be516e13d55a1fca9a4abaddd5781209103. | ||||
* | don't fallback to RACK_ENV when RAILS_ENV is not present | Damien Mathieu | 2015-03-19 | 1 | -6/+0 |
| | |||||
* | script => bin | Akira Matsuda | 2013-01-18 | 1 | -6/+6 |
| | |||||
* | Refactor tests that switch RAILS_ENV and RACK_ENV | Carlos Antonio da Silva | 2012-12-06 | 1 | -12/+8 |
| | | | | | | | | | | | | This cleanup aims to fix a build failure: https://travis-ci.org/rails/rails/jobs/3515951/#L482 Since travis always have both ENV vars set to "test", a test is failing where it's expected to output the default env "development", but "test" is the result due to RACK_ENV being set when we expect it to not be. By cleaning this duplication we ensure that changing any of these env variables will pick the right expected value. | ||||
* | Fix duplicated method name | Carlos Antonio da Silva | 2012-12-05 | 1 | -2/+1 |
| | | | | [ci skip] | ||||
* | Add ENV['RACK_ENV'] support to rake runner/console/server. | kennyj | 2012-12-06 | 1 | -0/+23 |
| | |||||
* | Add support runner hook. | kennyj | 2012-05-29 | 1 | -0/+10 |
| | |||||
* | convert railties to use AS::TestCase | Aaron Patterson | 2012-01-05 | 1 | -1/+1 |
| | |||||
* | make 'rails runner' show usage when run without any options | Vijay Dev | 2011-06-10 | 1 | -0/+4 |
| | |||||
* | Solve the RAILS_ENV problem in the railties tests in a more generic way | Jon Leighton | 2011-06-06 | 1 | -0/+4 |
| | |||||
* | Send 'rails runner' help message to stdout instead of stderr. | rohit | 2010-09-19 | 1 | -2/+1 |
| | | | | | | [#5661 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | Fix output of 'rails runner --help' [#4249 state:open] | rohit | 2010-09-18 | 1 | -0/+5 |
| | |||||
* | Fix indent | Jeremy Kemper | 2010-07-02 | 1 | -1/+1 |
| | |||||
* | Added 4 tests for Rails Runner. 2 failing tests for $0 and $PROGRAM_NAME ↵ | rohit | 2010-06-22 | 1 | -0/+49 |
[#2244 state:open] Signed-off-by: José Valim <jose.valim@gmail.com> |