Question about Assert Message
I'am doing a test on a little program and I decide to make a testclass with Junit. I made an assertNotNull, but this assert receive two parameters (message, condition).
My question is, what is the porpuse for the message parameter?
Re: Question about Assert Message
That message will show after a test execution if that specific assertion fails. You can use it to show test variable values to debug possible problems for instance. or just to give some info on the test failure.