This project is archived and is in readonly mode.
Add pending_test to AS Test::Unit helpers
-
Pratik
- Assigned user changed from DHH to Yehuda Katz (wycats)
- Tag set to active_support, patch, testunit
I think Yehuda was working on something similar.
-
Yehuda Katz (wycats)
- Milestone cleared.
The pending I added in AS has the following semantics:
If you use pending without a block, it will print a "P" in the output and include it in the list of pending tests at the end of the run. If you use pending with a block, it will run the contents of the block, and fail if the tests pass (also adds it to the list of pending tests and prints a "P" if the contents fail).
To get this behavior, just inherit from AS::TestCase
