From c80130cd6244cf8e8482beb0aa3a803badabcfc3 Mon Sep 17 00:00:00 2001 From: Luc van Vugt Date: Mon, 20 Feb 2023 12:26:13 +0100 Subject: [PATCH] Next improvements #128 --- .../test/atddTestScenariosAndResults_AddFeature.test.ts | 2 +- .../test/atddTestScenariosAndResults_AddScenario.test.ts | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/vscode-extension/src/test/atddTestScenariosAndResults_AddFeature.test.ts b/vscode-extension/src/test/atddTestScenariosAndResults_AddFeature.test.ts index 5c6230d..da9c45d 100644 --- a/vscode-extension/src/test/atddTestScenariosAndResults_AddFeature.test.ts +++ b/vscode-extension/src/test/atddTestScenariosAndResults_AddFeature.test.ts @@ -11,7 +11,7 @@ suite('AddFeature', function () { await TestHelper.resetConfigurations(); }); - test('Scenario086', async () => { + test('Scenario 086 - Add Feature 2a', async () => { //Given Test Directory await workspace.getConfiguration('atddTestScriptor', Uri.file(TestHelper.pathOfTestProject)).update('testDirectory', 'src/codeunit') //When User selects "Add Scenario" action diff --git a/vscode-extension/src/test/atddTestScenariosAndResults_AddScenario.test.ts b/vscode-extension/src/test/atddTestScenariosAndResults_AddScenario.test.ts index 74410ec..fa2db8b 100644 --- a/vscode-extension/src/test/atddTestScenariosAndResults_AddScenario.test.ts +++ b/vscode-extension/src/test/atddTestScenariosAndResults_AddScenario.test.ts @@ -11,7 +11,7 @@ suite('AddScenario', function () { await TestHelper.resetConfigurations(); }); - test('Scenario055', async () => { + test('Scenario 055 - Add Scenario (to existing test codeunit with 1 feature)', async () => { //Given Test function with valid Given-When-Then structure let fsPath: string = TestHelper.getFsPathOfTestProject('TestObject.Codeunit.al') //When User selects "Add Scenario" action @@ -30,7 +30,7 @@ suite('AddScenario', function () { await TestHelper.verifyChangeIsValid(messageUpdate); await TestHelper.verifyResult(messageUpdate, 'scenario055.al'); }) - test('Scenario073', async () => { + test('Scenario 073 - Add another Scenario (to existing test codeunit with 1 feature)', async () => { //Given Result from scenario 55 let fsPath: string = TestHelper.getFsPathOfTestProject('TestObject.Codeunit.al') //When User selects "Add Scenario" action @@ -49,7 +49,7 @@ suite('AddScenario', function () { await TestHelper.verifyChangeIsValid(messageUpdate); await TestHelper.verifyResult(messageUpdate, 'scenario073.al'); }) - test('Scenario078', async () => { + test('Scenario 078 - Add Scenario (to existing test codeunit with 1 feature) with Given-When-Then', async () => { //Given Test function with valid Given-When-Then structure await TestHelper.resetFiles(); let fsPath: string = TestHelper.getFsPathOfTestProject('TestObject.Codeunit.al') @@ -87,7 +87,7 @@ suite('AddScenario', function () { await TestHelper.verifyChangeIsValid(messageUpdate); await TestHelper.verifyResult(messageUpdate, 'scenario078.al'); }) - test('Scenario079', async () => { + test('Scenario 079 - Add another Scenario (to existing test codeunit with 1 feature) with Given-When-Then', async () => { //Given Test function with valid Given-When-Then structure let fsPath: string = TestHelper.getFsPathOfTestProject('TestObject.Codeunit.al') //Given Added scenario