rolandweber / Pityoulish

A collection of programming/debugging exercises to support a course on Distributed Systems.
Creative Commons Zero v1.0 Universal
7 stars 0 forks source link

Unit tests with JMockit #10

Closed rolandweber closed 3 years ago

rolandweber commented 8 years ago

Use JMockit to stub objects in unit tests.

Test candidate for first use: pityoulish.sockets.server.RequestHandlerImpl. It expects three different helper objects. The logic in the class is about calling these helpers in the correct order, feeding the output from one as input to the next.

rolandweber commented 3 years ago

Won't be implemented with the current Message Board.