Sounds good for me. I'm going start to code today. So at the end of the week I will show you some completed work. And also will take a look on spock framework.
-Petr 2015-05-18 14:49 GMT+03:00 Bertrand Delacretaz <[email protected]>: > Hi Petr, > > On Mon, May 18, 2015 at 1:38 PM, Petr Shypila <[email protected]> wrote: > > .../bundles/commons/logservice > > /bundles/commons/scheduler > > /bundles/commons/threaddump > > /bundles/commons/threads... > > Out of those I think scheduler would be a good starting point as it's > got zero tests so far. > > My idea would be that you start creating some unit tests for this > module, without going too far, and we review and decide if it also > needs integration tests, which can then be implemented locally in that > module, to have them "closer" than many modules which have their > integration tests under launchpad/integration-tests. We can then > discuss how to implement those integration tests, as several options > are currently available. > > Would that work for you? > > Note that I briefly played with https://code.google.com/p/spock/ > recently and that looks very interesting. If you like it you might try > creating tests with that framework so we can see how well that fits in > our overall environment and maybe suggest that as an option going > forward. > > -Bertrand >
