# Custom Tests
To help you get started quickly, this section document's video tutorial is available on the WeChat Classroom
Weixin Mini Program test framework Minium is a set of test interfaces provided by the WeChat team for developers to quickly and easily implement custom tests for Mini programs.Developers can use the Minium framework to write test cases and perform automated tests in the cloud test service to achieve the purpose of completely self-customized test scenarios.
Minium scripts can be executed locally, compared to the cloud as follows:
| ability | Execute locally | Cloud measurement services perform |
|---|---|---|
| Test Account | Use your own WeChat account | Support testing with virtual account and your own WeChat account |
| Real-machine deployment | Local deployment, you need to install your own WDA or ADB environment | Without having to prepare a physical machine and installation environment, simply open the test |
| View the report | Need to build a local http service, view the report | Provides detailed test reports ( report sample ), and supports sharing reports https links |
| Performance data | You need to manually call the interface to get it | Supports viewing use case performance data and enables experience scoring to be turned on to further analyze runtime performance |
| Devops | We need to do it ourselves. | Provides a third-party https interface to submit tasks and get results |
| Reboot failure use cases | We need to do it ourselves. | Clicking the "Failed Rerun Use Case" button on the page will automatically integrate the rerun results into this report |
# Get Started Quickly Executing Minium Scripts in the Cloud
The developer first writes the Minium test script according to the business requirements, and after writing, you can submit the test task in the cloud test plug-in according to the following steps
# Use Case for Uploading Minium
On the Minium Use Case Management page, upload the test case zip package.
If the parsing error occurs, refer to to upload custom use case guidelines
# Establish a test plan
On the Test Plan page, create a new test plan.
Plan Type SelectMinium,When checking test cases , execute the test cases in the order in which they are checked 
# Submit a test task
After completing the above preparation, the user can create a new Minium custom test task in the custom task management page.
Particular note: In order to improve machine utilization,will deduct at least 10 minutes offor each test machine.When a use case runs for less than 10 minutes, deduct the 10 minutes, and distribute the number of use cases running on the machine accordingly

# View the report
After the task is completed, the user is automatically notified of the test results in the developer tool.Users can also access the report page by directly clicking the details button on the test task page.
Report style can refer to Report example

# Reboot failure use cases
When a use case runs without success, you can rerun the failed use case with one click on the test report page
Cloud testing will automatically merge the results of the failure reruns into this report.
Special reminder: If you still fail after rerunning, you can repeat the "Rerun Failed Use Case" and rerun the task that still fails again

# Advanced configuration
# Compilation Mode Configuration
Function description: Open Weixin Mini Program specified page, and can carry parameters
# Configuration format
`${pagePath}?${query}`
For example configurepages / index / index?a=123&b=abc, Weixin Mini Program On startup pull up the/ pages / index / indexpage and callPage.onLoad({a: '123', b: 'abc'})
# More References
- [Video Tutorial] Custom Test
- Can complex scenarios not be automated? Minium Test Give it a try!
- Weixin Mini Program Summary of Automatic Practice Program: Minium + Cloud Measurement
- [Continuous Update] Summary of Minium Common Questions
- [Minium Actual Combat] Best Practices - Minium
- Best Practices - Sichuan Airlines
- [Minium] Best Practice - Group Solitaire
# I need help.
If you have any suggestions or needs, welcome to need help page, scan the code to join the cloud test official enterprise micro group, contact the group main feedback.