Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Removes unused vars | Santiago Pastorino | 2010-07-24 | 1 | -1/+1 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | avoid method redefined; discarding old empty? warning [#4302 state:committed] | Santiago Pastorino | 2010-03-30 | 1 | -8/+0 |
| | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | New assertion: assert_present [#4299 state:committed] | Juanjo Bazan | 2010-03-30 | 1 | -1/+21 |
| | | | | Signed-off-by: Xavier Noria <fxn@hashref.com> | ||||
* | new assertion: assert_blank | Juanjo Bazan | 2010-03-30 | 1 | -0/+28 |
| | | | | Signed-off-by: Xavier Noria <fxn@hashref.com> | ||||
* | Setup and teardown now use new callbacks. | José Valim | 2009-12-30 | 1 | -4/+5 |
| | |||||
* | Revert "Get AS TestCase off deprecated callbacks" | Jeremy Kemper | 2009-10-14 | 1 | -0/+52 |
| | | | | This reverts commit 29b280666b6a8216a46b8349fa76c85f5b5dcc55. | ||||
* | Get AS TestCase off deprecated callbacks | Joshua Peek | 2009-10-12 | 1 | -54/+2 |
| | |||||
* | Fix dependencies revealed by testing in isolation | Jeremy Kemper | 2009-04-22 | 1 | -0/+1 |
| | |||||
* | Include failed difference expression in assert message | Jeremy Kemper | 2009-02-06 | 1 | -2/+5 |
| | |||||
* | Ruby 1.9 compat: don't use defined? on complex expressions | Jeremy Kemper | 2008-11-22 | 1 | -1/+1 |
| | |||||
* | Just rescue exception rather than checking for both miniunit and test/unit | Jeremy Kemper | 2008-11-07 | 1 | -7/+2 |
| | |||||
* | Rework testing extensions to reflect the recent miniunit upheaval | Jeremy Kemper | 2008-11-07 | 1 | -2/+8 |
| | |||||
* | Remove direct TestCase mixins. Add miniunit compatibility. | Jeremy Kemper | 2008-11-07 | 1 | -2/+2 |
| | |||||
* | Fix mismatched assertions. | Michael Koziarski | 2008-10-04 | 1 | -2/+2 |
| | |||||
* | added nicer failure reporting to #assert_difference to tell you the ↵ | madlep | 2008-10-03 | 1 | -0/+18 |
| | | | | | | | expression that failed rather than just the expected and actual values Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1161 state:committed] | ||||
* | Add empty setup and teardown methods to rule out default setup behavior in ↵ | Jeremy Kemper | 2008-06-09 | 1 | -0/+6 |
| | | | | base class | ||||
* | Extract ActiveSupport::Callbacks from Active Record, test case setup and ↵ | Jeremy Kemper | 2008-01-19 | 1 | -4/+4 |
| | | | | | | teardown, and ActionController::Dispatcher. Closes #10727. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8664 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | * Continue evolution toward ActiveSupport::TestCase and friends. #10679 ↵ | Jeremy Kemper | 2008-01-05 | 1 | -0/+46 |
| | | | | | | | | | [Josh Peek] * TestCase: introduce declared setup and teardown callbacks. Pass a list of methods and an optional block to call before setup or after teardown. Setup callbacks are run in the order declared; teardown callbacks are run in reverse. [Jeremy Kemper] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8570 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | require abstract_unit directly since test is in load path | Jeremy Kemper | 2008-01-05 | 1 | -1/+2 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8563 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Make sure default_test is tested for ActiveSupport::TestCase too | Michael Koziarski | 2007-10-26 | 1 | -3/+5 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8041 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Make Default Test work with both ruby 1.8.4 and 1.8.6. [DrMark] Closes #10003 | Michael Koziarski | 2007-10-26 | 1 | -0/+6 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8040 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Mark Test::Unit#assert_difference incompatibility with Ruby 2 due to ↵ | Jeremy Kemper | 2007-09-29 | 1 | -32/+35 |
| | | | | | | Proc#binding usage git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7682 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Enhance assert_difference to accept arrays of strings which are then evaled | Tobias Lütke | 2007-06-01 | 1 | -0/+6 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6926 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Silence some warnings. | Jeremy Kemper | 2007-05-18 | 1 | -2/+2 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6772 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Evaluate expression for assert_difference in the scope of the block | Marcel Molina | 2007-05-08 | 1 | -0/+7 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6701 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Simplify API of assert_difference by passing in an expression that is ↵ | Marcel Molina | 2007-05-08 | 1 | -16/+31 |
| | | | | | | evaluated before and after the passed in block. See documenation for examples of new API. [Marcel Molina Jr.] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6693 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Added assert_difference and assert_no_difference to test/unit assertions | Tobias Lütke | 2007-05-01 | 1 | -0/+34 |
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6647 5ecf4fe2-1ee6-0310-87b1-e25e094e27de |