From fe7608d95a4f637bb5d2de96421f1993212f8dcb Mon Sep 17 00:00:00 2001 From: Luc van Vugt Date: Mon, 20 Feb 2023 08:42:46 +0100 Subject: [PATCH] First improvements #128 --- .../atddTestScenariosAndResults_Add.test.ts | 27 ++++++++++--------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/vscode-extension/src/test/atddTestScenariosAndResults_Add.test.ts b/vscode-extension/src/test/atddTestScenariosAndResults_Add.test.ts index c865ebb..46a36ea 100644 --- a/vscode-extension/src/test/atddTestScenariosAndResults_Add.test.ts +++ b/vscode-extension/src/test/atddTestScenariosAndResults_Add.test.ts @@ -11,7 +11,7 @@ suite('Add', function () { await TestHelper.resetConfigurations(); }); - test('Scenario001', async () => { + test('Scenario 001 - Add New Given', async () => { //Given Test function with valid Given-When-Then structure let fsPath: string = TestHelper.getFsPathOfTestProject('TestObject.Codeunit.al') //When Add Given "New Given" @@ -28,7 +28,7 @@ suite('Add', function () { //Then await TestHelper.verifyResult(messageUpdate, 'scenario001.al'); }) - test('Scenario002', async () => { + test('Scenario 002 - Add New Given 2', async () => { //Given Result from scenario 1 let fsPath: string = TestHelper.getFsPathOfTestProject('TestObject.Codeunit.al') //When Add Given "New Given 2" @@ -45,7 +45,7 @@ suite('Add', function () { //Then await TestHelper.verifyResult(messageUpdate, 'scenario002.al'); }) - test('Scenario003', async () => { + test('Scenario 003 - Add duplicate Given', async () => { //Given Test function with valid Given-When-Then structure await TestHelper.resetFiles(); let fsPath: string = TestHelper.getFsPathOfTestProject('TestObject.Codeunit.al') @@ -63,7 +63,7 @@ suite('Add', function () { //Then await TestHelper.verifyResult(messageUpdate, 'scenario003.al'); }) - test('Scenario010', async () => { + test('Scenario 010 - Add New Given with non-alphabetic or non-numerical characters', async () => { //Given Test function with valid Given-When-Then structure await TestHelper.resetFiles() @@ -82,7 +82,7 @@ suite('Add', function () { //Then await TestHelper.verifyResult(messageUpdate, 'scenario010.al'); }) - test('Scenario012', async () => { + test('Scenario 012 - Add New Given with only lowercase characters', async () => { //Given Test function with valid Given-When-Then structure await TestHelper.resetFiles() @@ -101,7 +101,7 @@ suite('Add', function () { //Then await TestHelper.verifyResult(messageUpdate, 'scenario012.al'); }) - test('Scenario014', async () => { + test('Scenario 014 - Given prefix', async () => { //Given Test function with valid Given-When-Then structure await TestHelper.resetFiles() @@ -123,7 +123,7 @@ suite('Add', function () { //Then await TestHelper.verifyResult(messageUpdate, 'scenario014.al'); }) - test('Scenario061', async () => { + test('Scenario 061 - Given helper function with no exception', async () => { //Given Test function with valid Given-When-Then structure await TestHelper.resetFiles() @@ -145,7 +145,8 @@ suite('Add', function () { //Then await TestHelper.verifyResult(messageUpdate, 'scenario061.al'); }) - test('Scenario004', async () => { + + test('Scenario 004 - Add New Then', async () => { //Given Test function with valid Given-When-Then structure await TestHelper.resetFiles() @@ -165,7 +166,7 @@ suite('Add', function () { //Then await TestHelper.verifyResult(messageUpdate, 'scenario004.al'); }) - test('Scenario005', async () => { + test('Scenario 005 - Add New Then 2', async () => { //Given Result from scenario 4 let fsPath: string = TestHelper.getFsPathOfTestProject('TestObject.Codeunit.al') @@ -183,7 +184,7 @@ suite('Add', function () { //Then await TestHelper.verifyResult(messageUpdate, 'scenario005.al'); }) - test('Scenario011', async () => { + test('Scenario 011 - Add New Then with non-alphabetic or non-numerical characters', async () => { //Given Test function with valid Given-When-Then structure await TestHelper.resetFiles(); let fsPath: string = TestHelper.getFsPathOfTestProject('TestObject.Codeunit.al') @@ -202,7 +203,7 @@ suite('Add', function () { //Then await TestHelper.verifyResult(messageUpdate, 'scenario011.al'); }) - test('Scenario013', async () => { + test('Scenario 013 - Add New Then with only lowercase characters', async () => { //Given Test function with valid Given-When-Then structure await TestHelper.resetFiles(); let fsPath: string = TestHelper.getFsPathOfTestProject('TestObject.Codeunit.al') @@ -221,7 +222,7 @@ suite('Add', function () { //Then await TestHelper.verifyResult(messageUpdate, 'scenario013.al'); }) - test('Scenario015', async () => { + test('Scenario 015 - Then prefix', async () => { //Given Test function with valid Given-When-Then structure await TestHelper.resetFiles(); let fsPath: string = TestHelper.getFsPathOfTestProject('TestObject.Codeunit.al') @@ -242,7 +243,7 @@ suite('Add', function () { //Then await TestHelper.verifyResult(messageUpdate, 'scenario015.al'); }) - test('Scenario062', async () => { + test('Scenario 062 - Then helper function with no exception', async () => { //Given Test function with valid Given-When-Then structure await TestHelper.resetFiles(); let fsPath: string = TestHelper.getFsPathOfTestProject('TestObject.Codeunit.al')