Skip to content

Use libtest_mimic to run gix-url fixture tests#1

Merged
niklaswimmer merged 1 commit intogix-url-fixture-testsfrom
gix-url-fancy-fixture
Aug 7, 2023
Merged

Use libtest_mimic to run gix-url fixture tests#1
niklaswimmer merged 1 commit intogix-url-fixture-testsfrom
gix-url-fancy-fixture

Conversation

@niklaswimmer
Copy link
Owner

@niklaswimmer niklaswimmer commented Aug 7, 2023

I wanted fancy nextest output and it turns out getting it is simpler than I originally thought.

Running cargo nextest run --package gix-url --test baseline --no-fail-fast the following output is generated:

Screenshot from 2023-08-07 18-21-17

Running cargo nextest run --all --no-fail-fast produces the following output (i.e. it treats them as tests on the same level as all the other tests):

image

I wanted fancy nextest output and it turns out getting it is simpler
than I originally thought.
@Byron
Copy link

Byron commented Aug 7, 2023

I.am.loving.it! It's great, and I never would have had the idea! And if I would have had the idea nonetheless, I wouldn't have found libtest_mimic :D.

I am about to write other baseline tests soon for pathspec matching, and it will be hard for me not to do them like this now :D.

Please do push this commit to the PR so I can try it locally (more easily).

Thank you 🙏

@niklaswimmer
Copy link
Owner Author

Aight, you got it boss

@niklaswimmer niklaswimmer merged commit f128742 into gix-url-fixture-tests Aug 7, 2023
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

Successfully merging this pull request may close these issues.

2 participants