dotnet / dotnet/vscode-csharp

Theory parameters not displayed when running tests

Open
#3,890 0 comments 0 reactions 0 assignees View on GitHub
Bug OmniSharp Test Triaged
Dominant language
TypeScript
Stars
3.1k
Forks
737
Avg merge
17h 56m
Merged PRs (30d)
21

Description

## Issue Description ##
It seems that when running tests with omnisharp's run test in context does not display theories properly, I see theory name more than once but not parameters.

## Steps to Reproduce ##
1. Create a xunit test project.
1. Write some data theory test.
1. Try to run the test with "run test in context".

## Expected Behavior ##
In the output window, I should see the test along with theory parameters.

## Actual Behavior ##
I only see theory method name, when theory is executed more than once, I see it like the test was duplicated.

## Environment information ##

**VSCode version**: 1.47.0-insider
**C# Extension**: 1.22.1

Mono Information
OmniSharp using built-in mono
Dotnet Information
.NET Core SDK (reflecting any global.json):
Version: 3.1.201
Commit: b1768b4ae7

Runtime Environment:
OS Name: arch
OS Version:
OS Platform: Linux
RID: linux-x64
Base Path: /opt/dotnet/sdk/3.1.201/

Host (useful for support):
Version: 3.1.3
Commit: 4a9f85e9f8

.NET Core SDKs installed:
3.1.201 [/opt/dotnet/sdk]

.NET Core runtimes installed:
Microsoft.AspNetCore.App 3.1.3 [/opt/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 3.1.3 [/opt/dotnet/shared/Microsoft.NETCore.App]

To install additional .NET Core runtimes or SDKs:
https://aka.ms/dotnet-download

Visual Studio Code Extensions

|Extension|Author|Version|
|---|---|---|
|cpptools|ms-vscode|0.28.3|
|csharp|ms-dotnettools|1.22.1|
|EditorConfig|EditorConfig|0.15.1|
|github-actions-vscode|OmarTawfik|2.7.0|
|gitlens|eamodio|10.2.2|
|java|redhat|0.63.0|
|latex-workshop|James-Yu|8.11.1|
|markdown-preview-enhanced|shd101wyy|0.5.12|
|msbuild-project-tools|tintoy|0.3.6|
|remote-containers|ms-vscode-remote|0.124.0|
|remote-ssh|ms-vscode-remote|0.51.0|
|remote-ssh-edit|ms-vscode-remote|0.51.0|
|remote-wsl|ms-vscode-remote|0.44.4|
|vscode-ltex|valentjn|6.0.0|
|vscode-postgresql|ms-ossdata|0.3.0|
|vscode-pull-request-github|GitHub|0.17.0|
|vscode-remote-extensionpack|ms-vscode-remote|0.20.0|
|vscode-yaml|redhat|0.8.0|
|xml|DotJoshJohnson|2.5.0|;

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.