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

Collaborate with libtest-mimic? #38

Closed
epage opened this issue Feb 14, 2022 · 3 comments
Closed

Collaborate with libtest-mimic? #38

epage opened this issue Feb 14, 2022 · 3 comments

Comments

@epage
Copy link
Contributor

epage commented Feb 14, 2022

In reading the expectations for custom test harnesses, it made me wonder if there was room for some kind of collaboration with libtest-mimic which provides a libtest-like interface for custom test harnesses.

Ideas

  • Create a conformance CLI test crate and update libtest-mimic to use it
  • Suggest libtest-mimic in the docs
@sunshowers
Copy link
Member

Oh that would be fantastic! I didn't know libtest-mimic existed.

sunshowers added a commit to sunshowers/libtest-mimic that referenced this issue Apr 7, 2022
I'm trying to get libtest-mimic to work well with
[cargo-nextest](https://nexte.st/) -- see the documentation on [custom
test harnesses](https://nexte.st/book/custom-test-harnesses.html) and
nextest-rs/nextest#38. I'd love to recommend
libtest-mimic as a way to write custom test harnesses.

One of the requirements for nextest is the ability to detect ignored and
non-ignored tests during the list phase. libtest prints out just the
ignored tests if you run `--list --ignored`: make libtest-mimic do the
same.

In my testing, this appears to be the only issue blocking libtest-mimic
from working with nextest.
@sunshowers
Copy link
Member

It looks like LukasKalbertodt/libtest-mimic#11 is the only blocker.

sunshowers added a commit to sunshowers/libtest-mimic that referenced this issue Apr 13, 2022
I'm trying to get libtest-mimic to work well with
[cargo-nextest](https://nexte.st/) -- see the documentation on [custom
test harnesses](https://nexte.st/book/custom-test-harnesses.html) and
nextest-rs/nextest#38. I'd love to recommend
libtest-mimic as a way to write custom test harnesses.

One of the requirements for nextest is the ability to detect ignored and
non-ignored tests during the list phase. libtest prints out just the
ignored tests if you run `--list --ignored`: make libtest-mimic do the
same.

In my testing, this appears to be the only issue blocking libtest-mimic
from working with nextest.
@sunshowers
Copy link
Member

Once LukasKalbertodt/libtest-mimic#11 is out, we can recommend libtest-mimic in the docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants