classpathx-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Classpathx-discuss] Testing Frameworks


From: cowboyd
Subject: [Classpathx-discuss] Testing Frameworks
Date: Fri, 8 Jun 2001 10:28:36 -0400

I think the answer is a clear "yes" in the case of JUnit (which is why I
use it for most of my development)

to summarize the reasons the answer is yes

-- no human judgement is required analyze test results
-- output is formatted consistently to avoid "scroll blindness"
-- because JUnit uses the composite pattern for its tests cases, it is easy
to incorporate pre-existing test cases into new ones.
-- provides facilities for setting up test fixtures to maintain a constant
environment across many test cases.

Charles



                                                                                
                                            
                    David Brownell                                              
                                            
                    <address@hidden>         To:     Nic Ferrier 
<address@hidden>,                      
                    Sent by:                      address@hidden                
                                
                    classpathx-discuss-adm        cc:                           
                                            
                    address@hidden                    Subject:     Re: 
[Classpathx-discuss] Servlet API                         
                                                                                
                                            
                                                                                
                                            
                    06/07/2001 10:24 PM                                         
                                            
                                                                                
                                            
                                                                                
                                            




> - are junit tests really better than main() with some test code?

Responses?

I've worked with test harnesses where the answer is a clear "yes",
because of report generation or other virtues.  Dunno if that's so
for jUnit.

- dave



_______________________________________________
Classpathx-discuss mailing list
address@hidden
http://mail.gnu.org/mailman/listinfo/classpathx-discuss







reply via email to

[Prev in Thread] Current Thread [Next in Thread]