We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hey, might be a general limitation but worth mentioning this issue or maybe There is a way around it.
My classes are setup like;
[ClassConstructor<DependencyInjectionClassConstructor>] [InheritsTests] public class SessionAccountantScenarioTests(IMediator mediator, [SubstituteInstance] IInMemoryEventHubWrapper eventHub, [SubstituteInstance] ITimeProvider timeProvider, AccountantInterfaceFactory factory, IAccountantContextTestInterface accountantContextTest, IAccountantStateInterface stateInterface) : AccountantScenarioTests(mediator, eventHub, timeProvider, factory, accountantContextTest, stateInterface)
public abstract class AccountantScenarioTests(IMediator mediator, IInMemoryEventHubWrapper eventHub, ITimeProvider timeProvider, AccountantInterfaceFactory factory, IAccountantContextTestInterface contextTestInterface, IAccountantStateInterface stateInterface) : AccountTestBase(timeProvider)
With a test in AccountantScenarioTests
AccountantScenarioTests
[Test] [DependsOn(nameof(Accountant_WillHaveCorrectBalance_WhenAccountantConstructed))] public async Task CompleteTransaction_WillOverChargeIfRequired([Matrix(2)] double initalBalance, [Matrix(0, 1)] double reservation, [Matrix(1, 20)] double charge, [Matrix(MarkupPercent.Zero, MarkupPercent.Forty)] MarkupPercent markupPercent)
My SessionAccountantScenarioTests then want's to depend on this method
SessionAccountantScenarioTests
[Test] [DependsOn(nameof(AccountantScenarioTests.CompleteTransaction_WillOverChargeIfRequired))] public async Task CompleteTransaction_WillChargeUsers_EvenIfTheyLeaveTheCampaign([Matrix(2)] double initialBalance, [Matrix(0, 1)] double reservation, [Matrix(1, 20)] double charge, [Matrix(MarkupPercent.Zero, MarkupPercent.Forty)] MarkupPercent markupPercent)
I get a TUnit0004: No method found, also thanks for the error really helps ❤️ (not being sarcastic just a useful error)
TUnit0004: No method found
The text was updated successfully, but these errors were encountered:
Should be resolved in 0.3.34! Thanks for the report
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Hey, might be a general limitation but worth mentioning this issue or maybe There is a way around it.
My classes are setup like;
With a test in
AccountantScenarioTests
My
SessionAccountantScenarioTests
then want's to depend on this methodI get a
TUnit0004: No method found
, also thanks for the error really helps ❤️ (not being sarcastic just a useful error)The text was updated successfully, but these errors were encountered: