axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ajith Ranabahu" <ajith.ranab...@gmail.com>
Subject FW: [Axis2] Best practices in writing unit tests
Date Wed, 01 Dec 2004 03:47:53 GMT
 

Hi all,

All of you who are interested in (and are already involved in) axis please
follow the best practices mentioned below, when writing unit tests.

 

1.The org.apache.axis.AbstractTestCase is considered as the base class for
all tests. All the test classes are to be sub classed from this.

2. This base class provides protected access to the test-resource
directories. Hence any directory reference should be taken from the base
class. However if a resource file needs to be accessed, the use of the
method getTestResourceFile(String relativePath) is recommended.

3. Name the test classes and methods sensibly :-)

 

Regards

 

Ajith

 


Mime
View raw message