Esad Hajdarevic wrote:
> Hi!
> 
> I talked to few fellow ruby programmers, and most of them agreed that
> unit tests are the place where the asserts should be placed, however in
> my own opinion, unit tests mostly never cover everything and asserts in
> development versions ($DEBUG) are very handy. What is your opinion?
> 
> Esad

Personally, I like the asserts in the test case.

It doesnt clutter the code, you can test each circumstance and it helps 
with design because you have to treat the code as a unit with inputs and 
outputs.

Gareth

-- 
Posted via http://www.ruby-forum.com/.