1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-27 09:12:41 +01:00
phorge-phorge/src
epriestley 4d68c0ae04 Make Herald test workflow modular and more clear
Summary:
Fixes T9719. Currently, the Herald "Test Console" has a big `instanceof` thing, so new adapters (like a Calendar adapter, or third-party adapters) aren't available automatically. Instead, do a standard modular thing: load the available adapters, ask which ones can test the object the user selected, then let the user pick which one they want to move forward with.

Additionally, it isn't very clear that you can't test "commit hook" rules because they rely on push state which we don't really have a good way to simulate. When the user picks a commit, we now show them the "Hook" events, but the options are disabled and explain why they can not be selected.

Test Plan:
 - Ran test rules for revisions, commits, mocks, tasks, wiki documents, questions, and outbound mail.
 - Plugged in a commit, got a more-helpful choice screen explaining why you do a test run of hook rules.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T9719

Differential Revision: https://secure.phabricator.com/D16360
2016-08-03 16:12:33 -07:00
..
__tests__ Use PhutilClassMapQuery instead of PhutilSymbolLoader 2015-08-14 07:49:01 +10:00
aphront Smooth over a few more transaction compatibility/structure issues with Calendar events 2016-07-13 07:44:15 -07:00
applications Make Herald test workflow modular and more clear 2016-08-03 16:12:33 -07:00
docs Fix a documentation typo ("repositorie") 2016-08-02 18:02:34 -07:00
extensions Add src/extensions/ to Phabricator 2013-08-14 15:38:06 -07:00
infrastructure Improve performance when constructing custom fields for objects 2016-07-31 11:25:58 -07:00
view Fix Differental Filetree browser hotkey 2016-08-01 14:36:48 -07:00
__phutil_library_init__.php
__phutil_library_map__.php Subsume 'harbormaster.querybuilds' with a modern search API method 2016-07-31 21:44:22 +00:00