• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Source code for Sen testing kit, or, help me
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Source code for Sen testing kit, or, help me


  • Subject: Re: Source code for Sen testing kit, or, help me
  • From: Tommy Nordgren <email@hidden>
  • Date: Sun, 19 Oct 2008 19:34:19 +0200


On Oct 19, 2008, at 1:56 PM, Daniel Luis dos Santos wrote:

Hello,

Is the source code available to anyone? If so, how can I get it. The project's page is kind of old.

The correct name is OCUnit. The source for Panther is available at the Sente site.
OCUnit is included with Xcode, since version 2.1
Also, I wanted to use the framework programmatically, from code instead of from the Xcode build process, is there a possibility of calling the the test classes from code ?

It is possible to run the tests directly on the finished code, by injecting the test code in the Built app,
see Fritz Anderson's XCode 3 Unleashed for an example. You might also find examples in other Mac OS X
programming books.
I have already done it, by running the run method of test suites, and then extracting the results by hand. It is that the tests don't have the same results when run that way or from the script.

When running from the code I did, the test code's behaviour is not predictable, sometimes it throws BAD_ACCESS memory errors, and other kinds of mysterious things, like linked lists having missing elements.
When I run them through the script the tests run fine. (I even failed one on purpose to check).


Thanks

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden

------
What is a woman that you forsake her, and the hearth fire and the home acre,
to go with the old grey Widow Maker. --Kipling, harp song of the Dane women
Tommy Nordgren
email@hidden




_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Source code for Sen testing kit, or, help me (From: Daniel Luis dos Santos <email@hidden>)

  • Prev by Date: Source code for Sen testing kit, or, help me
  • Next by Date: Re: Copy files phase interferes with code signature?
  • Previous by thread: Source code for Sen testing kit, or, help me
  • Next by thread: Re: Source code for Sen testing kit, or, help me
  • Index(es):
    • Date
    • Thread