Le 28 août 07 à 19:00, Yen-Ju Chen a écrit : > Does anyone ever use OCUnit on GNUstep ?
No. > How does it compare to UnitKit ? Before picking UnitKit as Étoilé unit testing framework, I did a comparison with other unit testing frameworks (I think Nicolas did this comparison too when he ported UnitKit to GNUstep). At this time, it was largely better for three main reasons: - simple yet useful set of test macros - simple architecture and well written - possibility to embed tests within any classes because you just need to adopt UKTest protocol (unlike OCUnit which requires to create a subclass) Other unit testing like OCUnit have made progresses in the meantime, like better macros or better internal architecture. Personally I still perfer UnitKit test macros and UKTest protocol remains a strong point. Étoilé UnitKit has some new features too: - -init and -initForTest integration which allows to simplify custom set up of test object (unlike -setUp which is really unflexible imo) - test class method (and not only instance test method) Mock object support is an interesting OCUnit feature which is missing from UnitKit. > OCUnit is bundled with XCode and has BSD license, > which seems to be a better choice for us. > UnitKit works fine for now, though. In my opinion, the license is really no big deal for a framework that won't be used outside of development. However I can ask the James Duncan Davidson, UnitKit author, the right to change the license to a more permissive one. I have also planned to ask him UnitKit 2.0 source and if Étoilé could become the new official home for UnitKit. Cheers, Quentin. _______________________________________________ Etoile-dev mailing list [email protected] https://mail.gna.org/listinfo/etoile-dev
