mirror of
https://github.com/abapGit/abapGit.git
synced 2025-04-30 11:46:38 +08:00
unit testing test (#4169)
* minor unit testing updates * update deps * update deps * update deps * start with cleanup * update deps * update deps * gitignore allure-report directory * update deps * update deps * update deps * fix whitespace * update deps * update deps
This commit is contained in:
parent
2f31cc6173
commit
26e8dcbde2
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -5,4 +5,5 @@ zabapgit.abap
|
|||
.vscode
|
||||
deps
|
||||
output
|
||||
ci/*.abap
|
||||
ci/*.abap
|
||||
allure-report
|
|
@ -1,12 +1,13 @@
|
|||
{
|
||||
"input_folder": "src",
|
||||
"input_filter": ["zif_abapgit_definitions"],
|
||||
"input_filter": ["zif_abapgit_definitions", "zcl_abapgit_convert"],
|
||||
"output_folder": "output",
|
||||
"lib": "https://github.com/open-abap/open-abap",
|
||||
"write_unit_tests": true,
|
||||
"options": {
|
||||
"ignoreSyntaxCheck": false,
|
||||
"addFilenames": true,
|
||||
"addCommonJS": true
|
||||
"addCommonJS": true,
|
||||
"unknownTypes": "runtimeError"
|
||||
}
|
||||
}
|
|
@ -4,7 +4,7 @@
|
|||
"test": "npm run eslint && npm run abaplint",
|
||||
"merge": "abapmerge -f src/zabapgit.prog.abap -c zabapgit_standalone > zabapgit.abap",
|
||||
"merge.ci": "cp zabapgit.abap ci/zabapgit_standalone.prog.abap && cd ci && abaplint && cd ..",
|
||||
"unit_wip": "abap_transpile",
|
||||
"unit": "rm -rf output && abap_transpile && echo RUNNING && node output/index.js",
|
||||
"abaplint": "abaplint",
|
||||
"eslint": "eslint src"
|
||||
},
|
||||
|
@ -13,8 +13,9 @@
|
|||
"url": "git+https://github.com/abapGit/abapGit.git"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@abaplint/cli": "^2.59.7",
|
||||
"@abaplint/transpiler-cli": "^0.6.2",
|
||||
"@abaplint/cli": "^2.60.3",
|
||||
"@abaplint/transpiler-cli": "^0.7.13",
|
||||
"@abaplint/runtime": "^0.7.13",
|
||||
"abapmerge": "^0.14.1",
|
||||
"eslint": "^7.13.0"
|
||||
}
|
||||
|
|
|
@ -203,7 +203,7 @@ CLASS ltcl_convert IMPLEMENTATION.
|
|||
|
||||
cl_abap_unit_assert=>assert_equals( exp = lt_exp
|
||||
act = lt_act
|
||||
msg = ' Error during string split: CRLF' ).
|
||||
msg = 'Error during string split: CRLF' ).
|
||||
|
||||
CLEAR: lt_act.
|
||||
|
||||
|
@ -212,7 +212,7 @@ CLASS ltcl_convert IMPLEMENTATION.
|
|||
|
||||
cl_abap_unit_assert=>assert_equals( exp = lt_exp
|
||||
act = lt_act
|
||||
msg = ' Error during string split: LF' ).
|
||||
msg = 'Error during string split: LF' ).
|
||||
|
||||
ENDMETHOD.
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user