Page MenuHomePhabricator

Allow `PhutilUnitTestEngine::getTestsForPaths` to return paths from the library root directory
ClosedPublic

Authored by joshuaspence on Jan 9 2014, 8:23 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Jan 6, 1:40 PM
Unknown Object (File)
Thu, Jan 2, 6:11 PM
Unknown Object (File)
Thu, Jan 2, 1:25 PM
Unknown Object (File)
Tue, Dec 17, 7:00 AM
Unknown Object (File)
Sun, Dec 15, 6:37 AM
Unknown Object (File)
Dec 8 2024, 4:05 PM
Unknown Object (File)
Nov 19 2024, 1:11 PM
Unknown Object (File)
Nov 13 2024, 1:43 AM

Details

Summary

Currently, running arc unit -- src/ returns with No tests to run, even if there are test classes in src/__tests__/. This diff changes this behaviour so that arc unit -- src/ executes unit tests in src/__tests__/.

Test Plan

N/A. I suppose you could create a file src/__tests__/SomeTestCase.php and see for yourself.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

epriestley closed this revision.

Closed by commit rARC66e3614f6934 (authored by @joshuaspence, committed by @epriestley).