Skip to content

Commit 4af1ffa

Browse files
Update guides/source/contributing_to_ruby_on_rails.md
Co-authored-by: Eileen M. Uchitelle <[email protected]>
1 parent e0ba620 commit 4af1ffa

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

guides/source/contributing_to_ruby_on_rails.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -482,6 +482,10 @@ $ bundle exec rake TEST=test/cases/associations/has_many_associations_test.rb
482482

483483
You can invoke `test_jdbcmysql`, `test_jdbcsqlite3` or `test_jdbcpostgresql` also. See the file `activerecord/RUNNING_UNIT_TESTS.rdoc` for information on running more targeted database tests.
484484

485+
#### Using Debuggers with Test
486+
487+
To use an external debugger (pry, byebug, etc), install the debugger and use it as normal. If debugger issues occur, run tests in serial by setting `PARALLEL_WORKERS=1` or run a single test with `-n test_long_test_name `.
488+
485489
### Warnings
486490

487491
The test suite runs with warnings enabled. Ideally, Ruby on Rails should issue no warnings, but there may be a few, as well as some from third-party libraries. Please ignore (or fix!) them, if any, and submit patches that do not issue new warnings.

0 commit comments

Comments
 (0)