-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/fluxxus-nl/ATDD.TestScrip…
- Loading branch information
Showing
66 changed files
with
314 additions
and
357 deletions.
There are no files selected for viewing
45 changes: 45 additions & 0 deletions
45
test/test-project/test/TestObjectHoleInScenarioNos.Codeunit.al
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
codeunit 50109 "TestObjectHoleInScenarioNosFLX" | ||
{ | ||
Subtype = Test; | ||
|
||
var | ||
IsInitialized: Boolean; | ||
|
||
trigger OnRun() | ||
begin | ||
// [FEATURE] Feature | ||
end; | ||
|
||
[Test] | ||
procedure TestFunctionForScenario1() | ||
// [FEATURE] Feature | ||
begin | ||
// [SCENARIO 0001] Test function for scenario 1 | ||
Initialize(); | ||
end; | ||
|
||
[Test] | ||
procedure TestFunctionorScenario3() | ||
// [FEATURE] Feature | ||
begin | ||
// [SCENARIO 0003] Test function for scenario 3 | ||
Initialize(); | ||
end; | ||
|
||
local procedure Initialize() | ||
var | ||
LibraryTestInitialize: Codeunit "Library - Test Initialize"; | ||
begin | ||
LibraryTestInitialize.OnTestInitialize(Codeunit::"TestObjectHoleInScenarioNosFLX"); | ||
|
||
if IsInitialized then | ||
exit; | ||
|
||
LibraryTestInitialize.OnBeforeTestSuiteInitialize(Codeunit::"TestObjectHoleInScenarioNosFLX"); | ||
|
||
IsInitialized := true; | ||
Commit(); | ||
|
||
LibraryTestInitialize.OnAfterTestSuiteInitialize(Codeunit::"TestObjectHoleInScenarioNosFLX"); | ||
end; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.