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
F14005352: D7915.id.diff
Sun, Oct 27, 12:04 PM
F13999967: D7915.diff
Thu, Oct 24, 6:21 PM
F13968213: D7915.diff
Wed, Oct 16, 7:22 PM
Unknown Object (File)
Sep 11 2024, 5:16 PM
Unknown Object (File)
Aug 31 2024, 11:11 PM
Unknown Object (File)
Aug 25 2024, 10:58 AM
Unknown Object (File)
Aug 22 2024, 4:32 PM
Unknown Object (File)
Aug 18 2024, 3:21 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).