Giter VIP home page Giter VIP logo

vscode-dotnet-test-explorer's Introduction

Gitter chat

.NET Core Test Explorer

Features

  • Test Explorer for .NET Core

Prerequisites

Usage

  • Open a .NET Core test project, or set dotnet-test-explorer.testProjectPath to the folder path of .NET Core test project. Then, you will see all the tests in Test Explorer.

test-explorer

  • After you run tests from Test Explorer, you could see test results in CodeLens for C# test projects (This feature depends on C# extension)

test-results

  • If you are using XUnit the test result of the last run tests are also shown in the tree

test-results-tree

Settings

  • dotnet-test-explorer.testProjectPath: Folder path of .NET Core test project. You could set the full path or the relative path to the workspace root path. (Default is "")
  • dotnet-test-explorer.useTreeView: If false, will list all tests as the full namespace. When set to true a tree will be created based on the namespaces of the tests. (Only xUnit tests will be listed in a tree view) (Default is true)
  • dotnet-test-explorer.build: If true, projects will be built when refreshing the test explorer. (Default is true)
  • dotnet-test-explorer.restore: If true, dotnet restore will run when refreshing the test explorer. (Default is true)
  • dotnet-test-explorer.showCodeLens: Determines whether to show the CodeLens test status or not. (Default is true)
  • dotnet-test-explorer.codeLensFailed: The text to display in the code lens when a test has failed. (Default is "")
  • dotnet-test-explorer.codeLensPassed: The text to display in the code lens when a test has passed. (Default is "")
  • dotnet-test-explorer.codeLensSkipped: The text to display in the code lens when a test has been skipped. (Default is "")
  • dotnet-test-explorer.pathForResultFile: The path to (temporarily) store test result files in. (Default is os temp dir)

Telemetry data

By default, anonymous telemetry data collection is turned on to understand user behavior to improve this extension. To disable it, update the settings.json as below:

{
    "dotnet-test-explorer.enableTelemetry": false
}

Change Log

See Change Log here

Issues

Currently, the extension is in the very initial phase. If you find any bug or have any suggestion/feature request, please submit the issues to the GitHub Repo.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.