Skip to content

Conversation

@Stepami
Copy link
Owner

@Stepami Stepami commented Oct 9, 2024

Description

https://stackoverflow.com/a/73141087

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

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

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

@github-actions
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
@Stepami Stepami deleted the feature/xunit-di branch October 9, 2024 20:15
Stepami added a commit that referenced this pull request Feb 2, 2025
* Внедрение ITestOutputHelper через xUnit DI

* re ident 4 spaces
Stepami added a commit that referenced this pull request Feb 3, 2025
* Внедрение ITestOutputHelper через xUnit DI

* re ident 4 spaces
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