ActiveBlog

Wanted: your feedback on Komodo unit-testing support
by

, February 20, 2008

We shipped an alpha of Komodo 4.3 last week, fixed a couple of bugs in the new unit-testing framework, and are looking for more feedback on how the feature works, and where you want us to take it. I already...

We shipped an alpha of Komodo 4.3 last week, fixed a couple of bugs in the new unit-testing framework, and are looking for more feedback on how the feature works, and where you want us to take it.  I already wrote it up at the Komodo community site (http://community.activestate.com/forum-topic/wanted-your-feedback-komodo-unit-testing-support), but here's the full text for those reading this in a feed:

We're about to ship the first beta of Komodo 4.3, and one of the new features is support for running unit-tests within the IDE.

We're currently supporting one framework for each language:

  • Python unittest
  • Ruby's rake
  • PHPUnit
  • Perl "TAP" output

Clearly this isn't the end.  We plan on supporting more frameworks, and adding support for unit-test extensions. In the meantime your feedback is more than welcome. Which test frameworks do you use, and for which languages?  Are there other frameworks that you would use if they weren't so cumbersome?  Any we should steer clear of?

Also, if you've tried out the feature and have some comments, please let us know, either via this forum, directly to me, or logging a bug if something is broken or needs improvement.

Thanks,
Eric

Subscribe to ActiveState Blogs by Email

Share this post:

Comments

2 comments for Wanted: your feedback on Komodo unit-testing support
Permalink

Rake is not actually a unit testing framework; it's a task system. The most common use of Rake is to invoke a test suite written in Ruby's Test::Unit library, but it's also used to invoke RSpec "tests" and other non-testing-related tasks. I think it would be cool to support RSpec and Test::Unit, but if you have to pick one Test::Unit would be the way to go.

OK, done being pedantic now.

Permalink

Quite correct, Rake is a build tool. However, it's the main tool used for testing Rails projects, which is why I chose to support it.

However, it's not all that much of a layer around the Rails tests, which after all are based on Test::Unit, and in fact the Ruby test harness basically hooks into Test::Unit. This looks like it'll be a case where if I remove the right code, Komodo can support invoking tests either via Rake or directly.