Synesso / instinct

Automatically exported from code.google.com/p/instinct

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

JUnit 3 integration fails to link tests to source files

GoogleCodeExporter opened this issue · comments

When a instinct JUnit 3 suite runs and the results are show in say an IDE
results window, double clicking on the test (specification) do not take you
to the Specification source method but rather to the SpecificationTestCase
class.  This is of course because our SpecificationMethods are wrapped
inside a SpecificationTestCase and the IDE (or JUnit) believes the
SpecificationTestCase holds the actual test methods.

The JUnit 4 integration works fine however, because (it has a much better
architecture!) it has a Description class of which we with the declaring
context class.

Original issue reported on code.google.com by cwmy...@gmail.com on 10 Aug 2007 at 3:01

My initial thought is this may be impossible to fix without an IDE plugin.

Original comment by cwmy...@gmail.com on 10 Aug 2007 at 3:06

Correction - should read: it has a Description class of which we *build* with 
the
declaring context class.

Original comment by cwmy...@gmail.com on 11 Aug 2007 at 9:16

Chris, I'm going to strike this one off. We'll just assume JUnit 4 integration 
I think.

Original comment by tomjad...@gmail.com on 15 Nov 2007 at 10:08

  • Changed state: WontFix