diff --git a/Allure.Net.Commons/AllureApi.cs b/Allure.Net.Commons/AllureApi.cs
index e86e11af..ffd61940 100644
--- a/Allure.Net.Commons/AllureApi.cs
+++ b/Allure.Net.Commons/AllureApi.cs
@@ -89,9 +89,9 @@ public static void AddLabel(string name, string value) =>
/// Adds a label to the current test result.
///
/// Requires the test context to be active.
- /// The new label of the test.
- public static void AddLabel(Label newLabel) =>
- CurrentLifecycle.UpdateTestCase(tr => tr.labels.Add(newLabel));
+ /// The new label of the test.
+ public static void AddLabel(Label label) =>
+ CurrentLifecycle.UpdateTestCase(tr => tr.labels.Add(label));
///
/// Sets the current test's severity.
@@ -140,30 +140,30 @@ public static void AddTags(params string[] tags) =>
/// Adds an additional parent suite to the current test.
///
/// Requires the test context to be active.
- /// The parent suite to be added.
- public static void AddParentSuite(string additionalParentSuite) =>
+ /// The parent suite to be added.
+ public static void AddParentSuite(string parentSuite) =>
AddLabel(
- Label.ParentSuite(additionalParentSuite)
+ Label.ParentSuite(parentSuite)
);
///
/// Adds an additional suite to the current test.
///
/// Requires the test context to be active.
- /// The suite to be added.
- public static void AddSuite(string additionalSuite) =>
+ /// The suite to be added.
+ public static void AddSuite(string suite) =>
AddLabel(
- Label.Suite(additionalSuite)
+ Label.Suite(suite)
);
///
/// Adds an additional sub-suite to the current test.
///
/// Requires the test context to be active.
- /// The sub-suite to be added.
- public static void AddSubSuite(string additionalSubSuite) =>
+ /// The sub-suite to be added.
+ public static void AddSubSuite(string subSuite) =>
AddLabel(
- Label.SubSuite(additionalSubSuite)
+ Label.SubSuite(subSuite)
);
#endregion
@@ -174,30 +174,30 @@ public static void AddSubSuite(string additionalSubSuite) =>
/// Adds an additional epic to the current test.
///
/// Requires the test context to be active.
- /// The epic to be added.
- public static void AddEpic(string additionalEpic) =>
+ /// The epic to be added.
+ public static void AddEpic(string epic) =>
AddLabel(
- Label.Epic(additionalEpic)
+ Label.Epic(epic)
);
///
/// Adds an additional feature to the current test.
///
/// Requires the test context to be active.
- /// The feature to be added.
- public static void AddFeature(string additionalFeature) =>
+ /// The feature to be added.
+ public static void AddFeature(string feature) =>
AddLabel(
- Label.Feature(additionalFeature)
+ Label.Feature(feature)
);
///
/// Adds an additional story to the current test.
///
/// Requires the test context to be active.
- /// The story to be added.
- public static void AddStory(string additionalStory) =>
+ /// The story to be added.
+ public static void AddStory(string story) =>
AddLabel(
- Label.Story(additionalStory)
+ Label.Story(story)
);
#endregion