0

Is it possible to get the name of the test fixture in the OneTimeSetUp method? I can see how to get the currently executing test easily enough (TestContext.CurrentContext.Test.Name) but is there an equivalent for the containing fixture?

Thanks

  • How does your fixture look like? I dont think they have a name, maybe just add an extra field/parameter in the fixture with a name/description. – Niels van Reijmersdal Apr 23 '20 at 17:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.