Prebid.js icon indicating copy to clipboard operation
Prebid.js copied to clipboard

Add Units Tests to the Framework

Open ghost opened this issue 11 years ago • 5 comments

ghost avatar Sep 22 '15 19:09 ghost

:+1: Any thoughts on how you intend on doing this?

We've been looking to possibly move our code base on to a framework like this and we've been keeping a close eye on Prebid.js. However, I'm going to find it hard to keep this project a contender until I can prove that it will work and continue to work :bug: free as more people start maintaining it. A high percentage of test coverage will help dramatically.

johngeorgewright avatar Oct 19 '15 13:10 johngeorgewright

@johngeorgewright Hi John, I'm working on this using mocha.

hjeong12 avatar Oct 20 '15 01:10 hjeong12

@johngeorgewright: We're committed to keeping the code base bug free and well maintained. Since the codebase now is stable and almost feature complete, we're switching effort to writing unit tests. Would like to periodically check with you to see how comfortable you're with the test coverage.

ghost avatar Oct 20 '15 15:10 ghost

PR #174 adds support for Karma and Istanbul for running tests and generating reports, and tests will be added soon to bring up coverage to reliable levels.

protonate avatar Feb 04 '16 22:02 protonate

Closing as we now have test coverage in place and will be continuing to add additional tests going forward.

protonate avatar Feb 10 '16 18:02 protonate