diff options
author | Yves Senn <yves.senn@gmail.com> | 2013-10-28 13:44:17 +0100 |
---|---|---|
committer | Yves Senn <yves.senn@gmail.com> | 2013-11-04 10:00:44 +0100 |
commit | 84eac5dab8b0fe9ee20b51250e52ad7bfea36553 (patch) | |
tree | 9b7fd4f9c9796d6c716a3f974961d2bf4c640927 /railties/CHANGELOG.md | |
parent | 876fd5a5d4f424e6699a66058a13c9cda8d92f64 (diff) | |
download | rails-84eac5dab8b0fe9ee20b51250e52ad7bfea36553.tar.gz rails-84eac5dab8b0fe9ee20b51250e52ad7bfea36553.tar.bz2 rails-84eac5dab8b0fe9ee20b51250e52ad7bfea36553.zip |
BACKTRACE environment variable to show unfiltered backtraces.
We used to support the `BACKTRACE` environment variable but when
we switched to MiniTest it got removed: f9382cd7948
This commit adds back the functionality to show the unfiltered backtrace when needed.
This also works when you run your tests with `rake`:
* `BACKTRACE=1 bin/rake test`
* `BACKTRACE=1 ruby -Itest ...`
Diffstat (limited to 'railties/CHANGELOG.md')
-rw-r--r-- | railties/CHANGELOG.md | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/railties/CHANGELOG.md b/railties/CHANGELOG.md index aadf24a125..0606a4fbe7 100644 --- a/railties/CHANGELOG.md +++ b/railties/CHANGELOG.md @@ -1,3 +1,14 @@ +* `BACKTRACE` environment variable to show unfiltered backtraces for + test failures. + + Example: + + `BACKTRACE=1 ruby -Itest ...` + # or with rake + `BAKCTRACE=1 bin/rake` + + *Yves Senn* + * Removal of all javascript stuff (gems and files) when generating a new application using the `--skip-javascript` option. |