Menu

#177 Simpletest chokes on include paths

open
5
2011-04-29
2009-04-23
Anonymous
No

When trying to use simpletest with include paths it chokes. I wouldn't normally consider this a defect but it looks like the only reason it is not working is simpleFileLoader::_scrapeClassesFromFile() ? It looks like the rest of the time that path is used is thru includes / autoloading.

From the method's docblock
"This is probably too clever by half. Figuring this
* out after a failed test case is going to be tricky for us,
* never mind the user. A test case should not be included
* twice anyway."

I concur ;-)

Discussion

  • Perrick Penet

    Perrick Penet - 2011-04-29
    • assigned_to: nobody --> pp11
     
  • Perrick Penet

    Perrick Penet - 2011-04-29

    Do you have an example or a failing test case ? It's always easier that way to trace the defect and eventually fix something.
    Yours

     

Log in to post a comment.

MongoDB Logo MongoDB