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)
Wed, Aug 3, 4:07 AM
Unknown Object (File)
Wed, Jul 27, 1:16 PM
Unknown Object (File)
Thu, Jul 14, 3:30 AM
Unknown Object (File)
Jul 3 2022, 1:21 PM
Unknown Object (File)
Jul 3 2022, 1:20 PM
Unknown Object (File)
Jul 3 2022, 1:20 PM
Unknown Object (File)
Jun 29 2022, 12:50 PM
Unknown Object (File)
Jun 25 2022, 9:41 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
Branch
master
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 7575
Build 8190: [Placeholder Plan] Wait for 30 Seconds
Build 8189: arc lint + arc unit

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.