Skip to content

imagicbell/MUTest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

MUTest

A simple test framework for Unity.

Features

  • 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;

How to Use

  • Call TestRunner.Create() where you want initialization, or attach the component TestRunner.csto 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.csto UI Buttons. There is a fast way to do this: select all UI prefabs, right click, "MUTestTools/Batch Mark Button".

Dev Plan

  • Offer more test units.
  • Offer a editable UI test with GUI.

Version

v1.0.0

References

Unity UI Test Automation Framework

About

A test framework for Unity

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages