Determine the project of a JUnit test? [message #122688] |
Thu, 04 September 2003 10:55 |
Eclipse User |
|
|
|
Originally posted by: bouillon.st.cs.uni-sb.de
Hi,
I am extending the "TestRunListeners" extension point to add functionality
to JUnit tests. Is there any way of retrieving the project that the
currently executed JUnit test is in?
Suppose, a test fails, then the method "testFailed" in the
"ITestRunListener" interface is called (my "TestRunListener" class
implements that interface). Now, this function does provide me with the
qualified name of the test that failed -- but not the IProject that it is
in... Is there any way of determining the project from my
"TestRunListener" class?
Thanks for your help,
Philipp
|
|
|
Powered by
FUDForum. Page generated in 0.06466 seconds