team-quick-draw / quickdraw

Illustrate how Service Oriented Architectures (SOAs) have changed over time by creating an app that randomly selects a winner for a prize drawing.
MIT License
2 stars 0 forks source link

Test Coverage Tool #8

Closed jkilgrow closed 7 years ago

jkilgrow commented 7 years ago

Find a good test coverage tool.

Criteria:

  1. good reporting
  2. allows a wide range of frameworks (junit + mocha + testng + etc)
  3. integrates well with build/ci/ide/etc
jkilgrow commented 7 years ago

check out istanbul (https://www.npmjs.com/package/istanbul)

jkilgrow commented 7 years ago

https://www.google.com/webhp?sourceid=chrome-instant&ion=1&espv=2&ie=UTF-8#q=test+coverage+tools&*

jkilgrow commented 7 years ago

Let's go with JaCoCo for Java JUnit tests. We know there is a known issue with JaCoCo and mocking frameworks (PowerMock/EasyMock) as documented here: https://github.com/jacoco/jacoco/issues/51

Where possible, we will just not use mocking frameworks.

jkilgrow commented 7 years ago

Let's leave it here for now. As we get further into javascript testing (if we get there), we can decide then.