-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
16 changed files
with
608 additions
and
395 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 |
---|---|---|
|
@@ -3,3 +3,4 @@ exec.log | |
gen.log | ||
tests/fixtures/test-report.xml | ||
tests/junit-log.xml | ||
*.ospx |
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,20 +1,35 @@ | ||
@echo on | ||
@chcp 65001 | ||
|
||
"%ProgramFiles(x86)%\OneScript\bin\oscript.exe" -encoding=utf-8 c:\projects\1testrunner\testrunner.os -runall tests xddReportPath tests | ||
set OSCRIPT=%ProgramFiles(x86)%\OneScript | ||
|
||
@if %ERRORLEVEL%==2 GOTO good_exit | ||
@if %ERRORLEVEL%==0 GOTO good_exit | ||
dir .\tests\ | ||
|
||
exit /B 1 | ||
@echo . | ||
@echo ======================= ======================= ======================= ======================= | ||
@echo . | ||
@echo . | ||
|
||
call 1testrunner -runall tests xddReportPath tests | ||
|
||
set TESTLEVEL=%ERRORLEVEL% | ||
|
||
:good_exit | ||
@echo . | ||
@echo ======================= ======================= ======================= ======================= | ||
@echo . | ||
@echo . | ||
|
||
"%ProgramFiles(x86)%\OneScript\bin\oscript.exe" -encoding=utf-8 src\bdd.os features/core -junit-out tests/bdd-log.xml | ||
oscript -encoding=utf-8 src\bdd.os features -junit-out tests/bdd-log.xml | ||
|
||
@if %ERRORLEVEL%==2 GOTO good_exit_bdd | ||
@if %ERRORLEVEL%==0 GOTO good_exit_bdd | ||
|
||
dir .\tests\ | ||
|
||
exit /B 1 | ||
|
||
:good_exit_bdd | ||
exit /B 0 | ||
|
||
dir .\tests\ | ||
|
||
exit /B %TESTLEVEL% |
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.