The Artima Developer Community
Sponsored Link

Java Buzz Forum
Test classes less noisy in Junit 3.8.1

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
Steve Conover

Posts: 37
Nickname: sgcjr
Registered: Feb, 2003

Steve Conover is a professional Java engineer and consultant
Test classes less noisy in Junit 3.8.1 Posted: Jun 26, 2003 11:31 PM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by Steve Conover.
Original Post: Test classes less noisy in Junit 3.8.1
Feed Title: Steve Conover's Weblog
Feed URL: http://www.sonic.net/~conover/index.rdf
Feed Description: Mostly java-related.
Latest Java Buzz Posts
Latest Java Buzz Posts by Steve Conover
Latest Posts From Steve Conover's Weblog

Advertisement
Thanks to Alex Chaffee for pointing this out. You used to have to put stuff like this at the beginning of every test class: public FooTest( String s ) { super(s); } public static Test suite() { return new TestSuite(FooTest.class); } public static void main(String args[]) { junit.textui.TestRunner.run(suite()); } as of JUnit 3.8.1, you can leave all that out and just start writing test methods. Ahhh, the joys of deleting code....

Read: Test classes less noisy in Junit 3.8.1

Topic: SCO Group Pulls a Hani Previous Topic   Next Topic Topic: The Blogs Are Here!

Sponsored Links



Google
  Web Artima.com   

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