ערוך

שתף באמצעות


Test your app

After integrating your app with Microsoft Teams, you must test your app before publishing it. The ultimate goal is to get as many users for your app, therefore, ensure to test the app on multiple devices that users could use. For testing your app:

  • Prepare your Microsoft 365 tenant.
  • Choose a workspace to test and debug your app.
  • Add test data to your Microsoft 365 tenant.

Prepare your Microsoft 365 tenant

Before you start testing your app, prepare your Microsoft 365 test tenant and enable custom Teams app to allow you to upload your app. You must sign-up for Microsoft 365 developer program and manage the Teams settings for your organization. Set up your developer subscription and configure it through prepare your Microsoft 365 Tenant.

Test and debug

To test and debug your app, you must create at least one workspace. You can select a test setup, such as local host or cloud-based host to test and debug the app. Guidance to debug your Teams app is provided to load and run your app experience. For more information, see choose a set up and run your Microsoft Teams app.

Test your bot locally. For more information, see debug your bot locally with an IDE. You can also debug your bot with inspection middleware and adaptive tools.

To view the console logs, view or modify html, css, and network requests during runtime, add breakpoints to your JavaScript code, and perform interactive debugging access the Dev Tools. For more information, see access the Dev Tools for Teams tabs.

Note

Debugging is supported on desktop, web, and Android devices but not on iOS devices.

Add test data to your Microsoft 365 tenant

Add the test data to Microsoft 365 test tenant. For more information, see add test data to your Microsoft 365 test tenant, and complete all the prerequisites before you start uploading your test data.

Next step

See also