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

Внедрение ITestOutputHelper через xUnit DI +semver:skip #116

Merged
merged 2 commits into from
Oct 9, 2024

Conversation

Stepami
Copy link
Owner

@Stepami Stepami commented Oct 9, 2024

Description

https://stackoverflow.com/a/73141087

При создании новых интеграционников я бы упёрся в проблему копипасты бойлерплейта:

  1. Запросить ITestOutputHelper в конструкторе тестового класса
  2. Передать в fixture.GetRunner

Удалось избежать рутины, прописав один раз DI надстройку

Copy link

github-actions bot commented Oct 9, 2024

File Coverage Branches Missing
All files 44% 43%

Minimum allowed coverage is 20%

Generated by 🐒 cobertura-action against 4721132

@Stepami Stepami merged commit d29fb72 into master Oct 9, 2024
3 checks passed
@Stepami Stepami deleted the feature/xunit-di branch October 9, 2024 20:15
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.

1 participant