My favorites | Sign in
Project Home Downloads Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 80: tests with hyphen in name fail
1 person starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  virtix
Closed:  Mar 2008


 
Project Member Reported by marc.es...@gmail.com, Mar 9, 2008
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
I think this may also be the case for directories with hyphens. I saw this last week
but thought it was something else.
Mar 10, 2008
Project Member #2 virtix
I got this one
Status: In
Mar 10, 2008
Project Member #3 virtix
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

Powered by Google Project Hosting