]> khamidou — GitHub mirrors - arcanist.git/commit
Fail lint tests if no tests are found in the test directory
authorepriestley <git@epriestley.com>
Fri, 7 Mar 2014 18:03:17 +0000 (10:03 -0800)
committerepriestley <git@epriestley.com>
Fri, 7 Mar 2014 18:03:17 +0000 (10:03 -0800)
commit22f62079205fed50ec70f32c3f8639da5b6e6a6e
tree07e273cb2c95730d49b2eb0f1d2597e6e3bf81ba
parent18251a1bd8b8895c4b50a54447d8c3e35fea57b9
Fail lint tests if no tests are found in the test directory

Summary: Ref T4570. Testing a directory with no recognized tests currently passes, but should fail.

Test Plan:
  - Ran `arc unit`.
  - Removed tests from a test directory, ran `arc unit`, got test failure.

Reviewers: leebyron, btrahan

Reviewed By: btrahan

CC: aran
Maniphest Tasks: T4570

Differential Revision: https://secure.phabricator.com/D8434
src/lint/linter/__tests__/ArcanistLinterTestCase.php