Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[alf-dev] EclipseCon JUnit Test Failure & Bugzilla Submit

The Test Management tool of the POC machine can easily be configured to
execute a JUnit test that fails.  The Test Result event that gets passed
to the event manager can indicate this, which can than lead to a bug
submittal to Bugzilla.

Here's what I proposed to do:

* Create a JUnit test for the project
org.eclipse.ui.examples.rcp.browser that fails.
* Map this JUnit test to TestType parameter "JUnitFails"
* Return an event with EventType = "Successful Completion" (no errors
with the tool itself), ObjectType = "Test Result", and
ToolExtensionData.TestType = "FAILURE".

This "JUnitFails" could also be used as an additional test to run in
parallel.

-Bob


Back to the top