Skip to content

Commit

Permalink
small code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
gasparnagy committed Oct 3, 2024
1 parent d682eb2 commit 83624ed
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Reqnroll.Generator/Generation/UnitTestFeatureGenerator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ private void SetupTestClassCleanupMethod(TestClassGenerationContext generationCo

testClassCleanupMethod.Statements.Add(expression);

//
// TestRunnerManager.ReleaseTestRunner(testRunner);
testClassCleanupMethod.Statements.Add(
new CodeMethodInvokeExpression(
new CodeTypeReferenceExpression(_codeDomHelper.GetGlobalizedTypeName(typeof(TestRunnerManager))),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ public virtual void SetTestInitializeMethod(TestClassGenerationContext generatio

protected virtual void FixTestRunOrderingIssue(TestClassGenerationContext generationContext)
{
//see https://github.com/reqnroll/Reqnroll/issues/96
//see https://github.com/SpecFlowOSS/SpecFlow/issues/96

//if (testRunner.FeatureContext != null && testRunner.FeatureContext.FeatureInfo.Title != "<current_feature_title>")
// <TestClass>.<TestClassInitialize>(null);
Expand Down

0 comments on commit 83624ed

Please sign in to comment.