-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fully Tatin-compatible, RunTests and Make
- Loading branch information
Showing
39 changed files
with
6,851 additions
and
74 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -1,6 +1,10 @@ | ||
{r}←Initialize;⎕TRAP | ||
{r}←Initialize;⎕TRAP;parent | ||
⎕TRAP←0 'S' | ||
r←⍬ | ||
{}⎕SE.UCMD'cd ',AcreConfig.ProjectFolder | ||
⎕SE.aplteam.InitializeAPLTreeProject ⎕THIS | ||
⎕WSID←AcreConfig.ProjectFolder,'project.dws' | ||
parent←⍕⎕THIS | ||
⍝ {}⎕SE.Tatin.LoadDependencies'./packages/'parent ⍝ There are not any! | ||
parent,←'.TestCases' | ||
{}⎕SE.Tatin.LoadDependencies'./packages_dev/'parent | ||
⍝Done |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,18 @@ | ||
Prepare | ||
Prepare;testPath;testFilename;ask;answer | ||
⎕IO←1 ⋄ ⎕ML←1 | ||
T←⎕NEW ##.Tester2 ⎕THIS | ||
T.codeCoverage←⎕NEW ##.CodeCoverage(,⊂'#.',{⍵,'.',⍵}2↓⍕⎕THIS.##) | ||
⍝ T.codeCoverage←⎕NEW ##.CodeCoverage(,⊂'#.WindowsEventLog') | ||
T.codeCoverage.filename←(⊃1 ⎕NPARTS''),'TestResults/CodeCoverage' | ||
T←⎕NEW Tester2 ⎕THIS | ||
testPath←(⊃1 ⎕NPARTS''),'TestResults' | ||
testFilename←testPath,'/CodeCoverage' | ||
:If ⎕NEXISTS testPath | ||
:If ⎕NEXISTS testFilename,'.dcf' | ||
ask←{⎕←⍵,'; 1=append, 2=replace' ⋄ a←⎕ ⋄ ~(⊂a)∊1 2:∇ ⍵ ⋄ ⊃a} | ||
answer←⊃ask'Coverage file already exists' | ||
:If 2≡answer | ||
1 ⎕NDELETE testFilename,'.dcf' | ||
:EndIf | ||
:EndIf | ||
:EndIf | ||
3 ⎕MKDIR testPath ⍝ | ||
T.codeCoverage←⎕NEW CodeCoverage(,⊂'#.',{⍵,'.',⍵}2↓⍕⎕THIS.##) | ||
T.codeCoverage.filename←testFilename | ||
⍝Done |
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 |
---|---|---|
@@ -1,12 +1,8 @@ | ||
RunTests;dcfFilename;htmlFilename;tno | ||
RunTests;htmlFilename | ||
Prepare | ||
dcfFilename←(⊃,/¯1↓⎕NPARTS T.codeCoverage.filename),'.dcf' | ||
:If ##.FilesAndDirs.IsFile dcfFilename | ||
:AndIf ∆YesOrNo'CodeCovarge data file already exists; override?' | ||
tno←dcfFilename ⎕FTIE 0 | ||
dcfFilename ⎕FERASE tno | ||
T.Run 1 | ||
htmlFilename←CodeCoverage.ProcessDataAndCreateReport T.codeCoverage.filename | ||
:If 1 ∆YesOrNo'View CodeCoverage report?' | ||
APLTreeUtils2.GoToWebPage'file://',htmlFilename | ||
:EndIf | ||
2 T.Run 1 | ||
htmlFilename←##.CodeCoverage.ProcessDataAndCreateReport T.codeCoverage.filename | ||
##.APLTreeUtils2.GoToWebPage'file://',htmlFilename | ||
⍝Done |
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
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
aplteam-APLTreeUtils2-1.1.0 | ||
aplteam-FilesAndDirs-5.0.0 | ||
aplteam-OS-3.0.0 | ||
aplteam-Tester2-3.1.0.90 | ||
aplteam-CodeCoverage-0.7.1 | ||
aplteam-WinReg-5.0.1 | ||
aplteam-WinSys-5.0.0 |
Oops, something went wrong.