Page MenuHomePhabricator

Fix broken PhpunitTestEngine
Closed, DuplicatePublic

Description

arc unit is broken when trying to use phpunit for testing:

Usage Exception: Test engine 'phpunit' specifies invalid type 'phpunit'. Available test engines are: phutil.

Additionally, PhpunitTestEngine doesn't have access to an ArcanistConfigurationManager instance, so it's unable to read the configuration and find the phpunit_config.

Details

Event Timeline

rfreebern claimed this task.
rfreebern raised the priority of this task from to Normal.
rfreebern updated the task description. (Show Details)
rfreebern added a project: Arcanist.
rfreebern added a subscriber: rfreebern.

The configuration-driven unit test engine isn't yet ready for general consumption.

I apologize for not discussing this with you first, @joshuaspence. I'll just maintain a local branch instead. Thanks for your feedback!