Olex
Olex

Reputation: 1656

Xcode 4.4 unit test

First time trying to add unit test to my Xcode project. I added a test (LogicTests.h, LogicTests.m), linked it to a project in Target Dependencies. After that I created sample-class FDUnitTestClass and I want to test it with adding a simple math operation in it with logging result to Debug console. But I don't understand right way to do this. Do I need to define a method in .m of FDUnitTestClass, and if so how I can invoke it to see the log in console?

Upvotes: 0

Views: 937

Answers (1)

Ivan Dyachenko
Ivan Dyachenko

Reputation: 1348

Some links that can help you:

  1. Xcode Unit Testing Guide
  2. Unit Testing in Xcode 4 Quick Start Guide

Upvotes: 2

Related Questions