Cedar c++

65 views
Skip to first unread message

Jasper Blues

unread,
Sep 27, 2012, 2:53:49 PM9/27/12
to cedar-...@googlegroups.com
Hi Friends,

A project that I'm working on for the next few weeks is objective-c++, with a pure c++ model (original dev was a console games developer).

Can cedar be used to test C++ classes?

Regards,
Jasper :)

Sent from my iPad

Adam Milligan

unread,
Sep 27, 2012, 6:39:21 PM9/27/12
to cedar-...@googlegroups.com
Absolutely.  A lot of Cedar is written in C++, and Cedar spec files are nearly always Objective C++ (.mm) files, so there should be no problem at all with testing C++ classes.

Jasper Blues

unread,
Sep 28, 2012, 9:44:12 AM9/28/12
to cedar-...@googlegroups.com
Good to know - thanks very much! (I figured that would be the case with Cedar, but I didn't have too much luck yet with Kiwi). 

If possible, I'd like to use the OCUnit runner in this project (just because I'm really liking AppCode's red/green bars and other test runner goodies), but if that doesn't work the standard runner will be fine.  . 

. . Alternatively, I was thinking of asking them to build us dedicated Cedar support in AppCode. . . the goodness of their test runners, etc, without having to build on top of OCUnit.  Jetbrains have been very good at listening to and responding to community concerns. . . for, example the turn-around time on fixing an issue that prevented CocoaPods from working was very impressive. . . would this be something other Cedar users are interested in? 

Regards, 

Jasper


Jasper Blues
Landline: +63.2.826.2489
Skype: jasperblues
LinkedIn Twitter

Ian Fisher

unread,
Sep 28, 2012, 1:59:10 PM9/28/12
to cedar-...@googlegroups.com
Having Cedar support in AppCode would be awesome! I much prefer the standalone test runner but I do miss the red/green results OCUnit gives. Having focused spec running from the IDE would be great too.

Jasper Blues

unread,
Sep 28, 2012, 10:16:50 PM9/28/12
to cedar-...@googlegroups.com
OK, I can create a ticket with them, after which we can vote. (They do listen). 

But before I do. If it's green/red bars you want (aka deep IDE integration), are there still enough reasons why using the OCUnit runner is not good enough? 

Jasper Blues
Landline: +63.2.826.2489
Skype: jasperblues
LinkedIn Twitter

Adam Milligan

unread,
Sep 28, 2012, 10:31:33 PM9/28/12
to cedar-...@googlegroups.com
On Fri, Sep 28, 2012 at 9:44 AM, Jasper Blues <jasper....@gmail.com> wrote:
Good to know - thanks very much! (I figured that would be the case with Cedar, but I didn't have too much luck yet with Kiwi). 


What issue have you had with Kiwi?  As you're likely aware, Kiwi is largely a copy/paste of Cedar, so you may have the same problems with both.

Jasper Blues

unread,
Sep 28, 2012, 10:34:36 PM9/28/12
to cedar-...@googlegroups.com
I was not aware that it's a copy/paste, actually. .  (didn't delve into the code), and the website doesn't credit Cedar as a starting point. 

I had some compiling problems with the OCUnit test runner - code that looked ok just wouldn't compile. . . Trying now with Cedar (both runners). Will report back results. 

Jasper Blues
Landline: +63.2.826.2489
Skype: jasperblues
LinkedIn Twitter

Reply all
Reply to author
Forward
0 new messages