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, Feb 3, 11:10 PM
Unknown Object (File)
Mon, Feb 3, 4:34 PM
Unknown Object (File)
Mon, Feb 3, 1:28 PM
Unknown Object (File)
Fri, Jan 24, 10:42 PM
Unknown Object (File)
Fri, Jan 24, 5:15 PM
Unknown Object (File)
Jan 9 2025, 12:43 PM
Unknown Object (File)
Jan 6 2025, 1:40 PM
Unknown Object (File)
Jan 2 2025, 6:11 PM

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).