Ticket #566 (closed Feature Request: fixed)

Opened 7 months ago

Last modified 7 months ago

Unit Test test inclusion

Reported by: mwells Owned by: Geert
Priority: minor Milestone: 2.2
Component: Modules Version: SVN HEAD
Keywords: unit_test Cc:

Description

Hi,

I just happened to notice a behavior of the inclusion of test files in the Unit Test module. I thought I was worth mentioning/inquiring as to whether anyone else thought it was worth amending?

My text editor saves hidden files in the same directory as the file you are working on: For instance when working on Example_Test.php it saves ._Example_Test.php. This then generates an error as when the file is attempted to be included the class within the file no longer matches the file name.

I could easily throw a patch together for this if anyone else thought it was worthwhile doing? (i.e. to just ignore hidden files would work)

Cheers

Matt

Attachments

Unit_Test.php.patch (0.7 kB) - added by mwells 7 months ago.
Patch File

Change History

Changed 7 months ago by mwells

Patch File

Changed 7 months ago by Geert

  • owner changed from - No owner - to Geert

Changed 7 months ago by Geert

  • status changed from new to closed
  • resolution set to fixed

Fixed in r2536. Thanks, mwells!

Changed 7 months ago by Geert

  • milestone changed from 2.1.2 to 2.2
Note: See TracTickets for help on using tickets.