Page MenuHomePhabricator

Automatically use the configuration driven unit test engine
ClosedPublic

Authored by joshuaspence on Aug 10 2015, 9:28 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Mar 7, 9:53 AM
Unknown Object (File)
Tue, Mar 5, 6:47 AM
Unknown Object (File)
Feb 10 2024, 5:43 PM
Unknown Object (File)
Jan 28 2024, 8:06 AM
Unknown Object (File)
Jan 28 2024, 8:06 AM
Unknown Object (File)
Jan 28 2024, 8:06 AM
Unknown Object (File)
Jan 28 2024, 3:14 AM
Unknown Object (File)
Dec 27 2023, 6:40 AM
Subscribers
Tokens
"Yellow Medal" token, awarded by avivey."Love" token, awarded by hach-que.

Details

Summary

Ref T5568. Use the ArcanistConfigurationDrivenUnitTestEngine automatically, if an .arcunit file exists. This behavior mimics the auto-detection for the configuration driven lint engine.

Test Plan

Ran through the following scenarios:

  • Ran arc unit and saw unit tests execute.
  • Ran arc unit --engine PhutilUnitTestEngine
  • Remove the .arcunit file and ran arc unit... got an exception.

Diff Detail

Repository
rARC Arcanist
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

joshuaspence retitled this revision from to Automatically use the configuration driven unit test engine.
joshuaspence updated this object.
joshuaspence edited the test plan for this revision. (Show Details)
joshuaspence added a reviewer: epriestley.
epriestley edited edge metadata.
epriestley added inline comments.
src/workflow/ArcanistWorkflow.php
1920

"lint" -> "unit"

This revision is now accepted and ready to land.Aug 10 2015, 9:30 PM
This revision was automatically updated to reflect the committed changes.