Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Determine the project of a JUnit test?
Determine the project of a JUnit test? [message #122688] Thu, 04 September 2003 10:55
Eclipse UserFriend
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
Previous Topic:Can't find libXp.so on Solaris
Next Topic:Adding an Open action in the File menu for a custom perspective - possible at all?
Goto Forum:
  


Current Time: Mon Jul 07 20:37:12 EDT 2025

Powered by FUDForum. Page generated in 0.06466 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top