Skip to content

Can't output multiple files in vstest #547

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
PaleNeutron opened this issue Sep 16, 2019 · 3 comments
Closed

Can't output multiple files in vstest #547

PaleNeutron opened this issue Sep 16, 2019 · 3 comments
Labels
duplicate This issue or pull request already exists

Comments

@PaleNeutron
Copy link

After set

      <DataCollector friendlyName="XPlat code coverage">
        <Configuration>
          <Format>lcov,cobertura,json</Format>
          <!-- <MergeWith>/custom/path/result.json</MergeWith> -->
          <Exclude>[coverlet.*.tests?]*,[*]Coverlet.Core*,[*]CosMate*Class1</Exclude> <!-- [Assembly-Filter]Type-Filter -->
          <!-- <Include>[coverlet.*]*,[*]Coverlet.Core*</Include> [Assembly-Filter]Type-Filter -->
          <SingleHit>false</SingleHit>
          <UseSourceLink>true</UseSourceLink>
        </Configuration>
      </DataCollector>

3 formats in settings file as example in docs, only the first format file will be output.

BTW, how can we specific the output file path here?

@MarcoRossignoli
Copy link
Collaborator

dup of #490
will be present in next release #533
for now you can use nightly build(not today but tomorrow I just fixed an issue and we're back by one week) https://github.com/tonerdo/coverlet/blob/master/Documentation/ConsumeNightlyBuild.md

@MarcoRossignoli MarcoRossignoli added the duplicate This issue or pull request already exists label Sep 16, 2019
@MarcoRossignoli
Copy link
Collaborator

MarcoRossignoli commented Sep 16, 2019

BTW, how can we specific the output file path here?

And you can specify output in this way #500 (comment)

@MarcoRossignoli
Copy link
Collaborator

Feel free to reopen if needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants