简体   繁体   中英

Unit test on iPhone Project - How to implement after the Project is complete

I have an Iphone Project - Pretty huge Project and I cant startover.

I have to add Unit Test's to this Project and what I have seen is people recommend adding it on the start of the Project. Is there any solution for this that I can implement now after the Project is complete.

Please help

Thanks

You can then write blackbox testing such as integration or validation testing. Unit testing is whitebox testing so your code should be transparent and well-organized for unit testing. That's why people recommend unit testing before starting coding. If you still insist unit testing, I guess you gotta do a lot of refactoring your code to complete the work. So it'd better to find good refactoring tools ( Any ReSharper equivalent for Xcode? )

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM