Skip to content
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

Feat req: Use tarpaulin with archived tests #363

Open
lcmgh opened this issue Jul 18, 2022 · 1 comment
Open

Feat req: Use tarpaulin with archived tests #363

lcmgh opened this issue Jul 18, 2022 · 1 comment
Labels
A-reuse-build Issues around support for reusing builds enhancement New feature or request help wanted Extra attention is needed

Comments

@lcmgh
Copy link

lcmgh commented Jul 18, 2022

Hi!

I'm using the great archived test features in order to exec. my tests on a temporary CICD spawned pod in Kubernetes to test against other resources in there.

Two questions:

  1. Is there a way to run those archived tests with tarpaulin to gather code coverage?
  2. I run my remote tests with ./cargo-nextest nextest run --archive-file /app/test-archive.tar.zst (Cargo not installed). How would I run these tests and gather code coverage with llvm-cov?

Thanks

@sunshowers
Copy link
Member

Thanks for the questions!

  1. At the moment tarpaulin hasn't been integrated with nextest yet -- see Cargo nextest integration xd009642/tarpaulin#992 for discussion. I believe nextest provides everything tarpaulin needs as machine-readable output, it's just some integration work that needs to be done on their end.
  2. Honestly I'm really not sure about this! I think it depends on whether llvm-cov runs without Cargo installed. I'd be interested to hear about what you or others find out.

@sunshowers sunshowers added enhancement New feature or request help wanted Extra attention is needed A-reuse-build Issues around support for reusing builds labels Jul 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-reuse-build Issues around support for reusing builds enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants