[jboss-jira] [JBoss JIRA] Commented: (JBESB-71) Move existing tests to JUnit

Arvinder Singh (JIRA) jira-events at jboss.com
Wed Jul 12 17:52:14 EDT 2006


    [ http://jira.jboss.com/jira/browse/JBESB-71?page=comments#action_12339464 ] 
            
Arvinder Singh commented on JBESB-71:
-------------------------------------

Mark, the current tests consist of the following files:

-rw-rw-r-- 1 raj raj 1954 Jun 30 20:41 Controller.java
-rw-rw-r-- 1 raj raj 2598 Jun 30 20:41 DrainQueuesAndTopics.java
-rw-rw-r-- 1 raj raj 7654 Jun 30 20:15 TestNotification.java
-rw-rw-r-- 1 raj raj 3034 Jun 30 20:15 TestObjStore.java
-rw-rw-r-- 1 raj raj 2005 Jun 27 13:34 TestParamsRepository.java
-rw-rw-r-- 1 raj raj 3332 Jun 27 13:57 TestPersonAddrPhone.java

I started working on TestPersonAddrPhone.java and converted it into 

AddressUnitTest
PersonUnitTest

and together with a small infrastructure org have added them to common/tests ...

its builds/compiles/tests fine.

The rest of the tests I feel can be ignored because
1) lets get the infrastructure for testing in place per module (common is done)
2) they don't use junit
3) some are based on functional type tests which require a running server

I propose:
1) Leave them for now.
2) Let me add the infrastructure for the rest of the modules
3) check the code and merge with head

then we can move on from this task and say that any new code must have tests. I'm open to suggestions
in continueing this.





> Move existing tests to JUnit
> ----------------------------
>
>                 Key: JBESB-71
>                 URL: http://jira.jboss.com/jira/browse/JBESB-71
>             Project: JBoss ESB
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>          Components: ESB Core, Testing
>    Affects Versions: 4.0 Alpha 1
>            Reporter: Mark Little
>         Assigned To: Arvinder Singh
>             Fix For: 4.0 Beta 1
>
>
> JUnit is the best way forward. We may eventually use the Distributed Test Framework that JBossTS uses, but even that can run JUnit tests.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list