JUnit runner classes

View: New views
3 Messages — Rating Filter:   Alert me  

Parent Message unknown JUnit runner classes

by david truffet :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Please consider adding the two attached files to maxq (written by  
myself),

They allow a large number of maxq tests to be saved/organized in a  
nested directory structure, and for the set to be run as a JUnit  
TestSuite by a test within an ant junit task.

------------------------------------------------------
http://maxq.tigris.org/ds/viewMessage.do?dsForumId=928&dsMessageId=2370738

To unsubscribe from this discussion, e-mail: [dev-unsubscribe@...].
<project name="eg" default="maxq_tests">

   <target name="maxq_tests" >

        <junit haltonfailure="no" printsummary="on"  failureProperty="test.failed" clonevm="true" >

            <classpath >

                <pathelement location="conf"/>

                <fileset          dir="lib" includes="**/*.jar"/>

            </classpath>

            <!-- tests assumed to be stored in folder blackbox_tests/maxq -->

            <formatter type="brief" usefile="false"/>

            <formatter type="xml" />

       <test todir="target/test-results" name="com.bitmechanic.maxq.junit.MaxQTestSuite"/>

        </junit>

        <fail if="test.failed" message="at least one test failed." />

    </target>

</project>




Please consider adding the two attached files to maxq (written by  
myself),

They allow a large number of maxq tests to be saved/organized in a  
nested directory structure, and for the set to be run as a JUnit  
TestSuite by a test within an ant junit task.

------------------------------------------------------
http://maxq.tigris.org/ds/viewMessage.do?dsForumId=928&dsMessageId=2370738

To unsubscribe from this discussion, e-mail: [dev-unsubscribe@...].


PythonTest.java (1K) Download Attachment
MaxQTestSuite.java (1K) Download Attachment

Re: JUnit runner classes

by Oliver Bock :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Sounds like a good idea to me.  Please go ahead and make this change,
assuming that it won't affect MaxQ's traditional modes of operation.


  Oliver

david truffet wrote:

> Please consider adding the two attached files to maxq (written by  
> myself),
>
> They allow a large number of maxq tests to be saved/organized in a  
> nested directory structure, and for the set to be run as a JUnit  
> TestSuite by a test within an ant junit task.
>
> ------------------------------------------------------
> http://maxq.tigris.org/ds/viewMessage.do?dsForumId=928&dsMessageId=2370738
>
> To unsubscribe from this discussion, e-mail: [dev-unsubscribe@...].
> ------------------------------------------------------------------------
>
> Please consider adding the two attached files to maxq (written by  
> myself),
>
> They allow a large number of maxq tests to be saved/organized in a  
> nested directory structure, and for the set to be run as a JUnit  
> TestSuite by a test within an ant junit task.
>
> ------------------------------------------------------
> http://maxq.tigris.org/ds/viewMessage.do?dsForumId=928&dsMessageId=2370738
>
> To unsubscribe from this discussion, e-mail: [dev-unsubscribe@...].

------------------------------------------------------
http://maxq.tigris.org/ds/viewMessage.do?dsForumId=928&dsMessageId=2370810

To unsubscribe from this discussion, e-mail: [dev-unsubscribe@...].

Re: JUnit runner classes

by Bruno Dillenseger-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Oliver Bock wrote:
> Sounds like a good idea to me.  Please go ahead and make this change,
> assuming that it won't affect MaxQ's traditional modes of operation.
>  
I agree with Oliver.
It seems this contribution is just kind of wrapping of the existing
code, so it should not affect the "traditional modes of operation", right?
How do you plan to deliver the eg-build.xml file wrt the code base
organization... a new sub-directory? or integrate the target in an
existing build.xml?

Regards,
-- Bruno.

> david truffet wrote:
>  
>> Please consider adding the two attached files to maxq (written by  
>> myself),
>>
>> They allow a large number of maxq tests to be saved/organized in a  
>> nested directory structure, and for the set to be run as a JUnit  
>> TestSuite by a test within an ant junit task.
>>
>> ------------------------------------------------------
>> http://maxq.tigris.org/ds/viewMessage.do?dsForumId=928&dsMessageId=2370738
>>
>> To unsubscribe from this discussion, e-mail: [dev-unsubscribe@...].
>> ------------------------------------------------------------------------
>>
>> Please consider adding the two attached files to maxq (written by  
>> myself),
>>
>> They allow a large number of maxq tests to be saved/organized in a  
>> nested directory structure, and for the set to be run as a JUnit  
>> TestSuite by a test within an ant junit task.
>>

------------------------------------------------------
http://maxq.tigris.org/ds/viewMessage.do?dsForumId=928&dsMessageId=2370864

To unsubscribe from this discussion, e-mail: [dev-unsubscribe@...].