A simple test framework for Unity.
- Support implementing a Test Unit, see TestExample;
- Support multiple Test Cases in a Test Unit;
- Support a self-defined GUI window for a Test Unit;
- Output Test Log to xml files;
- Offer an automatic random button click test unit;
- Call
TestRunner.Create()
where you want initialization, or attach the componentTestRunner.cs
to a gameObject(suggest a new gameObject in the first scene). - Press
F5
in Unity Editor, or touch with 5 fingers on iOS/Android devices to show the test window. - To try the button click test offered, mark buttons in UI prefabs you made by attaching component
TestUIButtonClick.cs
to UI Buttons. There is a fast way to do this: select all UI prefabs, right click, "MUTestTools/Batch Mark Button".
- Offer more test units.
- Offer a editable UI test with GUI.
v1.0.0