Assert.Raises<> in xUnit
I'm trying to create tests for certain events. However it seems that xUnit assumes that I use EventHandler<> for my events (see screenshot) which is not true for me.
I have my own delegate for events:
So I'm wondering if there's a way I could test it using my delegate (preferably while still using xUnit). Any help would be appreciated.
O
occluder•387d ago
I have resolved this issue
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
51KMembers
View on DiscordWant results from more Discord servers?
More Posts❔ I have an API function and I want to know what exception it can throw. How can I do that?This is not said in the documentationAmbiguity between 2 things idk how to fixGot an error message all of a sudden saying this when everything was working perfect before so i und❔ Problem populating DatagridI'm trying to populate a datagrid where certain columns are populated with information that is read ❔ Avisynth script maker thingIm trying to make a script that creates AVS files for every file in a Directory based on a template.