Code Monkey home page Code Monkey logo

vstest.coverage's People

Contributors

codito avatar harshjain2 avatar shreyasrmsft avatar smadala avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

vstest.coverage's Issues

Restore fails for the project

arun@codito:~/src/gh/spekt/vstest.coverage (!)
> dotnet restore                                                                                                                                                                   master [03fd6e5] (!)
  Restoring packages for /home/arun/src/gh/spekt/vstest.coverage/src/Coverage.Report/Coverage.Report.csproj...                                                                                         
  Restore completed in 49.06 ms for /home/arun/src/gh/spekt/vstest.coverage/src/CodeCoverageToLcovConverterTests/CodeCoverageReaderTests.csproj.                                                       
  Restore completed in 49.06 ms for /home/arun/src/gh/spekt/vstest.coverage/src/Coverage.Report.Tests/Coverage.Report.Tests.csproj.
/home/arun/src/gh/spekt/vstest.coverage/src/CodeCoverageToLcovConverter/CodeCoverageReader.csproj : warning NU1603: CodeCoverageReader depends on NETStandard.Library (>= 2.0.2-servicing-26420-0) but NETStandard.Library 2.0.2-servicing-26420-0 was not found. An approximate best match of NETStandard.Library 2.0.2 was resolved. [/home/arun/src/gh/spekt/vstest.coverage/vstest.coverage.sln]
  Restore completed in 52.32 ms for /home/arun/src/gh/spekt/vstest.coverage/src/CodeCoverageToLcovConverter/CodeCoverageReader.csproj.                                                                 
/home/arun/src/gh/spekt/vstest.coverage/src/Coverage.Report/Coverage.Report.csproj : error NU1603: Spekt.Vstest.Coverage.Report depends on NETStandard.Library (>= 2.0.2-servicing-26420-0) but NETStandard.Library 2.0.2-servicing-26420-0 was not found. An approximate best match of NETStandard.Library 2.0.2 was resolved. [/home/arun/src/gh/spekt/vstest.coverage/vstest.coverage.sln]
  Restore failed in 227.65 ms for /home/arun/src/gh/spekt/vstest.coverage/src/Coverage.Report/Coverage.Report.csproj.

Booth Allocation for Hackathon

Booth Allocation Details

Title : Code Sheild
Booth Location : Hyderabad - MLCP
Booth number : 179

Setting up booth starts from 11.00 AM today, that is 27th July.

Let's celebrate the success

Me and @codito decide to throw a party for awesomeness we have created last few days ๐ŸŽ‰ .

Please decide place and time @spekt/vstest-coverage . I am thinking tomorrow dinner works for everone.

Real time coverage info in VS Code

Description

  • This idea inspired by Scott Hanselman blog(@shanselman) and .NET Core developers( special thanks to @sesispla for bring blog to our attention) ask from vstest issue

  • As user write new/update test and save the test file, the coverage info should update for product/test file in VS Code.

Steps to reproduce

Expected behavior

  • Something similar to

codecoverage_report_vscode

Actual behavior

  • Currently user need VS Enterprise to view code coverage results from .coverage file (Eg coverage file: C:\Users\samadala\tmp\cc-mstest\TestResults\ab987d22-bcc9-4748-a04d-071bbe9851c3\samadala_SAMADALA_2018-07-23.18_54_39.coverage)

Display code coverage report on console on dotnet test --collect "Code Coverage"

Description

  • dotnet test --collect "Code coverage" should show coverage info for each module on console

Steps to reproduce

Expected behavior

Something similar to below image
code-coverage-cli-report

Actual behavior

  • dotnet test just prints .coverage file path.
Test run for C:\Users\samadala\tmp\cc-mstest\bin\Debug\netcoreapp2.0\cc-mstest.dll(.NETCoreApp,Version=v2.0)
Microsoft (R) Test Execution Command Line Tool Version 15.8.0-preview-20180605-02
Copyright (c) Microsoft Corporation.  All rights reserved.

Starting test execution, please wait...

Attachments:
 C:\Users\samadala\tmp\cc-mstest\TestResults\ab987d22-bcc9-4748-a04d-071bbe9851c3\samadala_SAMADALA_2018-07-23.18_54_39.coverage

Total tests: 1. Passed: 1. Failed: 0. Skipped: 0.
Test Run Successful.

Converting xml to Internal Data Model

Creating internal data model from xml file

Present internal data model specifics.

Internal data model consists of the following information

  1. start_line
  2. end_line
  3. source_id
  4. covered

Covered can be either of the following : yes/no/partial
Source Ids in the xml file are module specific. We generate unique ids for sources for internal data model.

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.