The Artima Developer Community
Sponsored Link

SuiteRunner Forum
Reloading Test Classes in GUI

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
K. Hodel

Posts: 8
Nickname: hodeka104
Registered: Jul, 2003

Reloading Test Classes in GUI Posted: Oct 28, 2005 12:52 PM
Reply to this message Reply
Advertisement
I've just started using SuiteRunner on a project, and I ran into some problems getting the test classes to reload in the GUI. I knew I'd gotten this to work when I'd experimented with SuiteRunner some time back, and I looked in Getting Started, the tutorial, and the API for Runner, and I couldn't find any pointers to what I was doing wrong. I eventually discovered that if I removed the classes I wanted to reload from the classpath (and specified the directory in the runpath only), it worked - the classes were reloaded.

Is this the way things are supposed to work, or am I missing something? If classes found in the classpath will never reload in the GUI, it might be nice if that fact were mentioned in the documentation somewhere. (The two places I'm aware of that mention the reloading feature are the "Specifying a Runpath" sections on page six of the tutorial and in the JavaDoc for the Runner class.) Anyway, I just thought I'd post here in case someone else runs into the same problem down the road - being able to reload the classes in the GUI is a very handy feature.

(By the way, the reason I had my classes in both the classpath and the runpath was that I was launching SuiteRunner through Eclipse - actually IBM ASTK 5.1 - and the default classpath included my project code. Once I modified the launch configuration to use a modified classpath, I was good to go.)

Topic: Class Loading & IDE Integration Previous Topic   Next Topic Topic: Interaction SuiteRunner & LF5 causing Exceptions?

Sponsored Links



Google
  Web Artima.com   

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