Simplified asserts in OCUnit?

The first thing to be aware of is that OCUnit (aka SenTestingKit. Framework) are integrated with Xcode, but not really a part of Xcode proper. OCUnit started as third-party code and became the de facto standard for Objective-C unit testing, so Apple adopted it and now maintains it.

As others have said, you can make the macros a little easier to stomach by passing nil as the last argument. This will get you the default output if the test fails. You can, of course, supply your own string when you want.

I often find this is useful for code that has methods that return a BOOL or an id but take an NSError* by reference like this.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions