ColdFusion-Koans icon indicating copy to clipboard operation
ColdFusion-Koans copied to clipboard

mxunit eclipse plugin doesn't recognize koans cfc as tests

Open mhenke opened this issue 13 years ago • 1 comments

Currently, the plugin (and the framework) recognize a test as any file named Test*.cfc or *Test.cfc.

TestCase selection is not case sensitive.

Inside of a TestCase component -- specified as a component that extends mxunit.framework.TestCase -- the MXUnit framework will run any public method as a test, regardless of its name! The framework will NOT run protected or private methods as tests.

mhenke avatar Feb 10 '12 20:02 mhenke

I wonder if theres a better solution here. I've been thinking that I might fork the plugin code and see if we can have that look for a specific annotation or inheritance for reconizing a test. I think that a lot of people would be able to benefit from this as well.

I'm going to leave this ticket open till we can come up with a good solution.

bittersweetryan avatar Feb 12 '12 02:02 bittersweetryan