0.7b tests with ojunit

2 views
Skip to first unread message

Tom Robinson

unread,
Mar 26, 2009, 3:12:17 AM3/26/09
to Cappuccino & Objective-J
I've added ojunit integration to the 0.7b branch. It's a git
submodule, so you need git installed for automated setup (or you can
manually grab it from github at http://github.com/280north/ojunit and
place it at Tools/ojunit)

Try the following and let me know if you have any problems:

rake submodules (only need to do this once each time you pull)
rake test

(I'm aware a couple tests currently fail. Just make sure they're
actually run)

I also added "rake docs" but it will be replaced with a new
documentation system in the coming weeks.

-Tom

Brian Taylor

unread,
Mar 26, 2009, 6:40:58 AM3/26/09
to objec...@googlegroups.com
Works for me (Ubuntu 8.10). The test warn/error failures I got were:

2009-02-26 06:39:20.558 Cappuccino [warn]: addFailure test=[CPAttributedStringTest testSetAttributesRange] failure=expecting 'a' to be 'undefined', was 'null
2009-02-26 06:39:20.677 Cappuccino [warn]: addFailure test=[CPAttributedStringTest testAddAttributeValueRange] failure=expecting 'duck' to be 'undefined', was 'null
2009-02-26 06:39:21.622 Cappuccino [error]: addError  test=[CPKVOTest testInsertIntoToManyProperty] error=_objectAtIndex is not a function, it is object.
2009-02-26 06:39:21.632 Cappuccino [error]: addError  test=[CPKVOTest testRemoveFromToManyProperty] error=_objectAtIndex is not a function, it is object.
2009-02-26 06:39:23.826 Cappuccino [warn]: addFailure test=[CPKVOTest testPerformance] failure=Overhead of one observer exceeded 400%. first: 137 second: 2027 %1479
Reply all
Reply to author
Forward
0 new messages