Connects to SAP Netweaver and runs abap unit tests for the given package or object Outputs a file in junit format
You can run this directly from npm:
npx abapunit2junit --host=<host> --protocol=<http/https> --username=<user> --password=<password> --package=<package name>
Or install the application once and for all:
npm install --global abapunit2junit
and then run it like any other CLI:
abapunit2junit --host=<host> --protocol=<http/https> --username=<user> --password=<password> --package=<package name>
There are two ways to configure the app. Either by passing command line arguments when starting the app, or by using env-variables. The arguments are always prioritized if both are given.
- --host=<url>> - url to SAP server
- --protocol=<http/https> - protocol to be used
- --package=<name of abap package>
- --username=<username>
- --password=<password>
- --insecure=<true/false> - Enables to connect to https enabled endpoints without valid certificates
- --out - path and name of result file, default result/output.xml
- --aunit - <true/false> - Should abap result file be saved, default false
- --aunitout - path and name of abap result file, default result/abapresult.xml