Last week, we had the author of TDD for a Shopping Website LiveProject. Friday at 11am Ranch time, Steven Solomon will be hosting a live TDD session just for us. See for the agenda and registration link
Last week, we had the author of TDD for a Shopping Website LiveProject. Friday at 11am Ranch time, Steven Solomon will be hosting a live TDD session just for us. See for the agenda and registration link
Using JUnit, I have the following error message on string comparison: junit.framework.AssertionFailedError: expected:<file:s1> but was:<file:s1> Does anybody know why this happens? I have exactely the same test before with a different String and it passed. W.
I need more than just the error message, as it doesn't remind me of anything that I've experienced or read. Please provide the test method (wrapped by CODE tags) if you can. Craig
I am using the assertEquals, not the assertSame. After investigation, it is not JUnit fault . The equals invokation on the object (taken from a domain-specific library) shows an erratic behavior. It returns sometimes "true", sometimes "false". I have to raise a bug report I think. W.