Skip to content

Runs Abap Unit tests and converts results to JUnit report format

License

Notifications You must be signed in to change notification settings

trr-official/abapunit2junit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

Connects to SAP Netweaver and runs abap unit tests for the given package or object Outputs a file in junit format

Getting Started

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>

Settings

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.

Arguments

  1. --host=<url>> - url to SAP server
  2. --protocol=<http/https> - protocol to be used
  3. --package=<name of abap package>
  4. --username=<username>
  5. --password=<password>
  6. --insecure=<true/false> - Enables to connect to https enabled endpoints without valid certificates
  7. --out - path and name of result file, default result/output.xml
  8. --aunit - <true/false> - Should abap result file be saved, default false
  9. --aunitout - path and name of abap result file, default result/abapresult.xml

About

Runs Abap Unit tests and converts results to JUnit report format

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages