Skip to content

A simple way to include context on unittest coverage #371

Open
@sansalinas

Description

@sansalinas

Hi, here you can find a simple way to include context info into a project for our unittext, I read in some post about it was not clear how context was going to be used, I generate this simple script to make a demo about the way that I use, similar that php coverage report is done.

https://github.com/sansalinas/coverage-context-report

Maybe would be better include into coverage HTML report a dropdown with all contexts and color lines according the selected one, but this is my first approach.

Take in consideration this the first time that I work with python :S (I have started 3 weeks ago) and sorry for my English

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions