Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Azure DevOps Services | Azure DevOps Server | Azure DevOps Server 2022
Inline tests let you add, run, and track manual test cases directly from your board. Each test you create automatically links to its parent user story or bug, so test coverage stays visible alongside your work.
Tip
You can use AI to help with this task later in this article, or see Enable AI assistance with Azure DevOps MCP Server to get started.
Prerequisites
| Category | Requirements |
|---|---|
| Project access | Project member. |
Open your board
From your web browser, open the project for your organization and select Azure Boards. If you don't have a project, create one now. If you aren't a team member, get invited now.
The URL follows this pattern:
https://dev.azure.com/fabrikamfiber/_boards/boardIf you don't see the team or project you want, select
Azure DevOps to browse all projects and teams.Select Boards to open the board.

Add tests
To add tests, open the menu for a work item.

Inline tests are the same as test cases in a test suite. A default test plan and test suite automatically get created under which the manual test cases are grouped. You can find the auto-created test plan in Test Plans > Mine.
For example, a test suite is created for the following user story, and inline tests are added to that suite. User story 314 is highlighted. It has two manual tests defined with the IDs 337 and 341.

If you need to add many tests, enter each title and select Enter.

To add details to the test case, open it. You can select the title, double-select the inline item, or open the context menu and choose Open. From the test case form, you can add test steps, expected results, and attachments.

For more information about defining tests, see Create manual tests.
Run a test
Run the test by selecting
Run test from the
actions menu for the inline test.

Microsoft Test Runner starts in a new browser instance. For information on how to run a test, see Run manual tests.
Update the status of a test
You can update the status of the test from the
actions menu.

When you update the status of tests, you can track test results.
Delete a test
To remove an inline test, open the
actions menu for the test and select Delete. Deleting a test permanently removes the test case work item and its link to the parent user story or bug.
Expand or collapse inline tests
When you first open the board, you see a view of checklists and tests that isn't expanded.

Select the inline test summary to expand a set of tests that you collapsed. Select the same summary to collapse a list that you expanded.

Use AI to manage inline tests
If you configure the Azure DevOps MCP Server, you can use AI assistants to manage test cases through natural language prompts.
Example prompts for inline test management
| Task | Example prompt |
|---|---|
| View test cases | List test cases linked to user story <1234> in <Contoso> project |
| Check test status | Show test results for the latest test run in <Contoso> project |
| Find untested items | List user stories in <Contoso> that have no linked test cases |
| Review test coverage | Show all backlog items in <Contoso> with failing inline tests |
| Find test gaps | List active user stories in area path <Contoso\Backend> that have zero test cases |
| Prep for a sprint review | Summarize test pass rates for all user stories in the current sprint for <Contoso> project |
| Spot regressions | List test cases in <Contoso> that passed last sprint but failed in the current sprint |
| Prioritize testing | Show the highest-priority user stories in <Contoso> that still have untested test cases |