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:
Lars Hvam 2020-11-15 12:09:41 +01:00 committed by GitHub
parent 2f31cc6173
commit 26e8dcbde2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 11 additions and 8 deletions

3
.gitignore vendored
View File

@ -5,4 +5,5 @@ zabapgit.abap
.vscode
deps
output
ci/*.abap
ci/*.abap
allure-report

View File

@ -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"
}
}

View File

@ -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"
}

View File

@ -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.