wallcito / google-toolbox-for-mac

Automatically exported from code.google.com/p/google-toolbox-for-mac
Apache License 2.0
0 stars 0 forks source link

Looking for a way to build without running the tests #32

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem? - not a problem. it's a request
1. write a unit test which fails 
2. build
3. run and then step through code to see the failure.

What is the expected output? What do you see instead?

There are cases where I would like to be able to step through failed code
at runtime opposed to having to look into the error at compile time.

What version of the product are you using? On what operating system?
xcode 3.2 and did an svn checkout on 9-2

Please provide any additional information below.

Original issue reported on code.google.com by matthewc...@gmail.com on 2 Sep 2009 at 11:24

GoogleCodeExporter commented 9 years ago
Simply remove the script step at the end of the target that runs the unittest.  
I thought Apple had some docs on 
debugging unittests, the short form is 
http://borkware.com/quickies/single?id=315, it takes more work, but 
you can also setup Xcode for the debugging.

(I'm assuming your are talking about desktop targets since you didn't say.  
Iphone can also be debugged, but it's 
slightly different steps since that builds an application that is directly 
invoked.)

Original comment by thoma...@gmail.com on 3 Sep 2009 at 12:13

GoogleCodeExporter commented 9 years ago
this is very cool thomaslv.  thank you.  

Original comment by matthewc...@gmail.com on 4 Sep 2009 at 12:08