# WeChat Test Account Resolution

The cloud testing service offers two test accounts for developers to use:

  • Use virtual account testing
  • Use your own real WeChat test

Please note that when in the same project,When you submit multiple machine tasks with the same ** ** account, the cloud testing service automatically queues the test account, which increases the test time exponentially

# Virtual Account Test

Virtual account is the use of developer tools, multi-account debugging capabilities provided by the virtual account for testing, virtual account for different Weixin Mini Program is independent.Specific use of documentation can refer to Use virtual account test

# advantage

  • Provides 24 virtual accounts to facilitate the construction of rich test scenarios
  • You can configure test data on a developer tool for team sharing

# shortcoming

  • The virtual account is bound to the virtual mobile phone number, can not accept the mobile phone verification code, if you need to verify the code to complete the login logic Weixin Mini Program, you need to mock their own processing.In this case, it is recommended to use the real account test, such as the virtual account must be used, the specific operation can refer to virtual account mobile number Mock program

# True WeChat test

Please note that this feature is being tested within the framework, please go to for help , join the official enterprise WeChat-0]] group, and contact the MiniTest assistant to request

The cloud test service also supports users to use the real WeChat number test, the specific use can refer to the document Use the real account test

# advantage

  • Using the user's own real account can solve the problem of mobile phone verification code
  • Users do not need to migrate test data from test accounts, reducing the cost of use

# shortcoming

There are restrictions on real account usage:

  • The WeChat number must be of the WeChat development platform, and the developer or administrator of the Weixin Mini Program
  • The account has a certain validity period, currently 30 days. When the account expires or expires, the user needs to rescan the code to authorize