The Artima Developer Community
Sponsored Link

SuiteRunner Forum
No GUI Help

4 replies on 1 page. Most recent reply: Feb 12, 2003 7:13 PM by Bill Venners

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 4 replies on 1 page
pat laplante

Posts: 2
Nickname: azathoth
Registered: Jan, 2003

No GUI Help Posted: Feb 6, 2003 12:58 PM
Reply to this message Reply
Advertisement
Ok here is the deal....

I am starting a fairly big Java based project. I am looking in UTD tools and aritma seems good.

However, it keep poping up a GUI all the time!!!! Which is a big issue. We want to setup the test suite for all the object. Then every night, when the system rebuild itself, we want to run all the suite in batch mode. When error occure in a class, I want to create a report, the mail that report it to the lead (which class, which method is broken) so the lead can take action and ask the engineer to fix the broken class (or maybe rollback to the previous one.

So you understand that it need to be GUILess and when it is done testing, it needs to stop!

Is this something artima could do?

Do you guys need help implementing this?

Thanks, pat
plaplante@vanteon.com


Bill Venners

Posts: 2284
Nickname: bv
Registered: Jan, 2002

Re: No GUI Help Posted: Feb 10, 2003 8:30 PM
Reply to this message Reply
> However, it keep poping up a GUI all the time!!!! Which is
> a big issue. We want to setup the test suite for all the
> object. Then every night, when the system rebuild itself,
> we want to run all the suite in batch mode. When error
> occure in a class, I want to create a report, the mail
> that report it to the lead (which class, which method is
> broken) so the lead can take action and ask the engineer
> to fix the broken class (or maybe rollback to the previous
> one.
>
> So you understand that it need to be GUILess and when it
> is done testing, it needs to stop!
>
> Is this something artima could do?

Yes. For complete details, see:

http://www.artima.com/suiterunner/tutorial6.html

In short, to get rid of the GUI, you need to exclude -g from the command line (or the recipe file) when you start SuiteRunner. For example, SuiteRunner will report test results to the standard output if you give it a -o option, as in:

java -jar suiterunner-1.0beta2.jar -p "example" -o -s com.artima.examples.account.ex6test.AccountSuite

If you want to send an email, you can create your own Reporter that keeps track of errors and then sends an email at the conclusion of the test run. At this point, the best way to create a Reporter is probably look at the code for org.suiterunner.PrintReporter. Before long I'll be publishing an article about creating your own reporters. Once you create your own Reporter, you can get SuiteRunner to use it by using the -r <reporter-class-name> command line option.

pat laplante

Posts: 2
Nickname: azathoth
Registered: Jan, 2003

Re: No GUI Help Posted: Feb 11, 2003 9:11 AM
Reply to this message Reply
Yeah, it show the output on the standard out but the app doesn't quit. It stays there and the only way to kill it is by pressing ctrl-c

pat

Bill Venners

Posts: 2284
Nickname: bv
Registered: Jan, 2002

Re: No GUI Help Posted: Feb 11, 2003 1:00 PM
Reply to this message Reply
That's a bug. I just noticed it last night when I tried the command I posted. We'll fix that in the beta3 release. I should have that release out within 2 weeks.

Bill Venners

Posts: 2284
Nickname: bv
Registered: Jan, 2002

Re: No GUI Help Posted: Feb 12, 2003 7:13 PM
Reply to this message Reply
> Yeah, it show the output on the standard out but the app
> doesn't quit. It stays there and the only way to kill it
> is by pressing ctrl-c
>
This bug is fixed in 1.0beta3:

http://www.artima.com/suiterunner/download.jsp

Flat View: This topic has 4 replies on 1 page
Topic: Error running on MacOSX Previous Topic   Next Topic Topic: Artima SuiteRunner 1.0beta3 Released

Sponsored Links



Google
  Web Artima.com   

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