Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Include core_ext and bin/sequel when doing coverage testing
Add ability to test subprocesses when running specs, necessary for bin/sequel coverage testing. Because coverage calculation doesn't really work for the ruby script directly executed, or that uses load instead of require, Add nocov markers in bin/sequel around code that would load irb, and around code that cannot be hit on SQLite (SQLite is used for testing). Also add nocov markers in the symbol_aref extension (tested with the core extension) for Ruby 1.9 specific code. Add some bin/sequel tests for additional coverage. Add the ability to force printing status for each row copied, and print the status after copying the row instead of before.
- Loading branch information
1 parent
2b8f341
commit 7a07e15
Showing
6 changed files
with
95 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
load(File.join(Dir.pwd, 'bin/sequel')) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters