[Rubycocoa-devel 629] Xcode unit testing

Back to archive index

Laurent Sansonetti lsans****@apple*****
Thu Jan 18 23:16:59 JST 2007


Hi,

I just added some Xcode templates in order to have unit testing inside  
Xcode.

How does it work?

Create some test unit scripts (there is a new template, "File / Ruby /  
Ruby test case class"). Create a unit test target (also new template,  
"Target / Ruby / Unit Test Target"). Edit the target script to point  
it to the test unit scripts, then activate the target and build the  
project.

  It is also possible to configure the project to make the unit test  
target depending on the main target (so that it will always be  
activated).

Laurent



More information about the Rubycocoa-devel mailing list
Back to archive index