evought / VCard-Tools

PHP tools for manipulating VCards, including database persistence and html templating.
MIT License
2 stars 1 forks source link

'phing test' runs excluded tests from 'openIssues' group and fails #59

Open evought opened 9 years ago

evought commented 9 years ago

Running 'phing test' runs all available testcases, including those in the excluded group, 'openIssues', which causes the test run to fail. 'openIssues' is an excluded group in the task definition in build.xml, but, as per phing ticket #1159, it is being run anyway:

/home/evought/Projects/VCardTools/build.xml:84:25: Test FAILURE (testFromLineTextOpenIssues with data set "TEL QUOTED URI VALUES ISSUE #58" in class EVought\vCardTools\VCardLineTest): Failed asserting that two arrays are equal.

Workaround

Run the test suite from the command-line:

$ vendor/bin/phpunit tests

Will pick up the default exclusion from phpunit.xml and work correctly. The tests will also run correctly from NetBeans if the group 'default' is checked and 'openIssues' is not.

evought commented 9 years ago

This is now marked as fixed in Phing's ticket tracker and is in milestone 2.9.2 due in 3 weeks.

evought commented 9 years ago

OK, milestone 2.9.2 has gone away in favor of 2.10.