OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

sca-assembly message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: [ASSEMBLY-194] Test classes do not correspond to Maven conventions -PROPOSAL



Folks,

I propose that ASSEMBLY 194 is Closed with No Action.

The claim is made that the naming of the test classes does not match Maven conventions
and that:

a) Test classes should be renamed from "*Tests" to "*Test"

b) Test classes should be moved from /java to Maven /tests


First - the Maven build is only supplied as an example.  It is not normative and can be replaced by the user
by any other build tool.

Second, these testcases are named with the form:

ASM_nnnn_TestCase.java

This follows the JUnit convention - and the client classes are indeed using the JUnit conventions.
I believe that this is reasonable naming convention.

Third, the tests are the main deal in this layout - there is nothing in the "project" other than the tests.
This means to me that they should go into the /java directory and not the /tests directory.
They are tests of the SCA runtime - but the project here is the testcases themselves.


As for running the testcases from the command line, I have built an Ant-based command script which is
again a non-normative example way of running the testcases.  If anyone would like to add additional
ways of running the testcases, please feel free to add them to the SVN repository.


Yours,  Mike.

Strategist - Emerging Technologies, SCA & SDO.
Co Chair OASIS SCA Assembly TC.
IBM Hursley Park, Mail Point 146, Winchester, SO21 2JN, Great Britain.
Phone & FAX: +44-1962-818014    Mobile: +44-7802-467431  
Email:  mike_edwards@uk.ibm.com





Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number 741598.
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU








[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]