The Artima Developer Community
Sponsored Link

Agile Buzz Forum
SUnit Test Runner

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
James Robertson

Posts: 29924
Nickname: jarober61
Registered: Jun, 2003

David Buck, Smalltalker at large
SUnit Test Runner Posted: Nov 4, 2004 1:34 PM
Reply to this message Reply

This post originated from an RSS feed registered with Agile Buzz by James Robertson.
Original Post: SUnit Test Runner
Feed Title: David Buck - Blog
Feed URL: http://www.cincomsmalltalk.com/rssBlog/buck-rss.xml
Feed Description: Smalltalk can do that
Latest Agile Buzz Posts
Latest Agile Buzz Posts by James Robertson
Latest Posts From David Buck - Blog

Advertisement

I know that TestRunner is the long-time standard for running testcases. Thankfully, the new VisualWorks browser has a goodie that allows you to run tests straight from the browser. In VisualAge there is Jeff O'Dell's SUnit Browser but that's very difficult to get hold of. (I did manage it recently, but it wasn't an easy download from the Internet).

I find TestRunner annoying for several reasons. First, it's impossible to tell it to run one particular testcase unless that testcase has already failed. I can't develop a single testcase and run only that one until I get it working. This is extremely frustrating.

With TestRunner, you also can't run a testcase in "debug" mode unless that testcase has already failed. I have to run testcases twice - once to make them fail and once to debug why they failed. If the problem is intermittent, it may fail the first time but not the second.

I'm surprised that TestRunner has been used for so long with so few complaints. I have my own test case browser for VisualWorks in the Public Store Repository. Lately, I've switched to using the RBSUnitExtensions package instead. Perhaps TestRunner should be pulled out of SUnit and replaced with a better GUI or at least suggestions on how to get a better one. As is, it makes TDD more cumbersome than it should be and may discourage people too quickly.

Read: SUnit Test Runner

Topic: Holidays Previous Topic   Next Topic Topic: No email either

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use