/// <summary> /// Defines that the name of the test should be taken from the NUnit test. /// </summary> /// <param name="builder">The builder.</param> /// <returns>The <see cref="AtataContextBuilder"/> instance.</returns> public static AtataContextBuilder UseNUnitTestName(this AtataContextBuilder builder) { dynamic testContext = GetNUnitTestContext(); string testName = testContext.Test.Name; return(builder.UseTestName(testName)); }