psineur / NSObject-AutomagicCoding

Ability to save every object to PLIST without any special coding.
Other
237 stars 35 forks source link

Running Unit Tests for iOS #9

Open psineur opened 12 years ago

psineur commented 12 years ago

Unit Tests are running each build in Mac project. But in iOS project you must press CMD+U to run the tests on Simulator .

Unit tests doesn't work on Device.

They always succeed, even if you use CMD+U & write some STFail's in them.

Be warned...

hffmnn commented 12 years ago

Hi,

just wanted to tell, that I tested on iPhone 4S. When adding a STFail it fails on device and simulator, so I can't say they always succeed. Seems to work perfect here.

Regards

psineur commented 12 years ago

You use latest iOS & XCode on Lion?

Maybe i should try it on iOS 5 - i tried only on iOS 4.

Anyway, thank you for the tip!

06.12.11 17:09, sunatmidnight пишет:

Hi,

just wanted to tell, that I tested on iPhone 4S. When adding a STFail it fails on device and simulator, so I can't say they always succeed. Seems to work perfect here.

Regards


Reply to this email directly or view it on GitHub: https://github.com/psineur/NSObject-AutomagicCoding/issues/9#issuecomment-3031977

hffmnn commented 12 years ago

Yes, latest iOS and Xcode on Lion, both NOT beta

psineur commented 12 years ago

Tried with iOS 5 on iPad - same problem - STFail does nothing. My XCode version is 4.2 (build 4D199).

Gonna update to latest 4.2.1 today & try again.

hffmnn commented 12 years ago

Tested one more, this time on iPad2 Adding

in AMCTestSimple let the tests fail.

Version 4.2.1, Build 4D502.

Regards