Skip to content

Add json config file for utplsql-cli #23

Open
@jgebal

Description

@jgebal

Calling the command like utplsql run ... -config=config.json should work when we pass the configuration json file as below:

{
  "connection": {
    "user": "hr",
    "password": "hr",
    "host": "localhost",
    "port": 1521,
    "service_name": "xe"
  },
  "suite_paths": [ 
    "hr",
    "usr"
  ],

  "color": true, 
  "reporters": [
    {
      "ut_documentation_reporter": {
        "output": "results.txt",
        "screen": true
      }
    },
    {
      "ut_xunit_reporter": {
        "output": "results.json"
      }
    },
    {
      "ut_coverage_html_reporter": {
        "output": "coverage.html",
        "screen": true
      }
    }
  ],
  "sources_path": "/source",
  "tests_path": "/test"
}

-"host" is optional - default: 127.0.0.1
-"port" is optional - default: 1521
-"service_name" or "sid" must be provided
-"suite_paths" - optional
-"color" - optional
-"reporters" - optional
-"reporter parameters" - optional
-"sources_path" - optional
-"tests_path" - optional

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions