Skip to content

Coverage report looks wrong for triggers #34

Open

Description

@danbroun

If I have a look at a coverage report of a package every green/red and gray line is understandable. A coverage report for a trigger looks extremely random.

Can anyone confirm this behavior?

Activity

  1. jgebal commented on Mar 30, 2016

    @jgebal
    Contributor

    A steps to reproduce or a working example of bad behavior would help

  2. danbroun commented on Apr 4, 2016

    @danbroun
    Author

    Just create for example an insert trigger and then write a test which inserts data into the example table. If you have a look at the produced coverage report the marking which line were run looks really random.
    If you want I can try to attach a example report. Hope I can make it this week.

  3. javornikolov commented on Apr 4, 2016

    @javornikolov
    Collaborator

    @danbroun, may you also check PLSQL_OPTIMIZE_LEVEL option which has been used to compile the trigger? For better coverage output it's best to use 1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions