| Issue 80: | tests with hyphen in name fail | |
| 1 person starred this issue and may be notified of changes. | Back to list |
What steps will reproduce the problem? 1. in the mxunit root, find the component "mxunit-TestCase-Template.cfc" 2. run it as a test What is the expected output? tests should run What do you see instead? coldfusion.runtime.IllegalStructAccessException : Cannot find methods key in structure. We need to get a unit test for this one, too. this is a good bug. probably oughtta test to make sure that the same behavior doesn't manifest for tests in directories with hyphens in the name, too. punt this one to me if you want me to take a look!
Mar 9, 2008
Project Member
#1
virtix
Mar 10, 2008
I got this one
Status:
In
Mar 10, 2008
Homes, this one was weird. And for the life of me today cannot articulate the specific cause. I traced it to TestSuite.add(...) and for some reason it was not adding the tests from getRunnableMethods() if the testsuite struct key had a hyphen in it. So, I changed the syntax for adding the data to the suite and all is well.
Status:
Fixed
|