Skip to content

Code coverage for Haraka plugin tests? #3218

Answered by msimerson
tabascoterrier asked this question in Q&A
Discussion options

You must be logged in to vote

I'm trying to do better at testing my plugins.

🎉❤️

Is there a way of getting code coverage reporting working with Haraka plugin tests?

Unfortunately, not without ripping all the vm.runInContext stuff out of Haraka. That's what is interfering with the testing coverage. PRs are welcome.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@tabascoterrier
Comment options

Answer selected by tabascoterrier
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
2 participants