Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Add support for coverage file mapping options in a separate file #22

Copy link
Copy link
Open
@jgebal

Description

@jgebal
Issue body actions

To complete the mapping of utPLSQL API we need to provide ability to define file mapping options as described in documentation

The static file mapping should be optionally provided as a JSON file to the command line:

utplsql run ... -file_mappings=mappings.json

The JSON could be of following format:

{
  "source_file_mappings": [
    {
      "file_name": "sources/hr/award_bonus.prc",
      "object_owner": "HR",
      "object_name": "AWARD_BONUS",
      "object_type": "PROCEDURE"
    },
    {
      "file_name": "sources/hr/betwnstr.fnc",
      "object_owner": "HR",
      "object_name": "BETWNSTR",
      "object_type": "FUNCTION"
    }
  ],
  "test_file_mappings": [
    {
      "file_name": "test/hr/ut_award_bonus.pkb",
      "object_owner": "HR",
      "object_name": "ut_award_bonus",
      "object_type": "PACKAGE BODY"
    },
    {
      "file_name": "test/hr/ut_betwnstr.pkb",
      "object_owner": "HR",
      "object_name": "ut_betwnstr",
      "object_type": "PACKAGE BODY"
    }
  ]
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.