Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Coverage report looks wrong for triggers #34

Open
danbroun opened this issue Mar 30, 2016 · 3 comments
Open

Coverage report looks wrong for triggers #34

danbroun opened this issue Mar 30, 2016 · 3 comments

Comments

@danbroun
Copy link

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?

@jgebal
Copy link
Contributor

jgebal commented Mar 30, 2016

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

@danbroun
Copy link
Author

danbroun commented Apr 4, 2016

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.

@javornikolov
Copy link
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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants