Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to write unit test case for IBAction-XCode4

I want to write an unit test case to test the code in IBAction is executing properly or not.I did a sample to write logic test and it is working fine.I did not find any tutorial or guides to write application testing in Xcode 4.any help would be appreciated.

like image 679
Akbar Avatar asked Jun 04 '26 10:06

Akbar


1 Answers

I have forgot to check the apple's site for the sample.This is the good link for the reference.

https://developer.apple.com/library/mac/#samplecode/UnitTests/Introduction/Intro.html#//apple_ref/doc/uid/DTS40011742

like image 149
Akbar Avatar answered Jun 07 '26 12:06

Akbar



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!