I'm new using test in xcode and getting trouble using it. I'm trying to use xctest for my application, but all tests pass. Even those that must fail. After clean and build the project again it remains passing all the tests, e. g:
-(void)testIfFails
{
XCTAssertTrue(NO);
}
The test above succeeds in my project. Can anyone explain me how it works right, or if I`m doing it the wrong way?