Flavor: simulation 15 to 30 minutes
The best way we know how to introduce people to Mock Objects is to have them experience a simulation of Mock Objects. Our
simulation is designed to help people understand how system objects and Mock Objects are configured, how these objects behave
at runtime and how Mock Objects increase testing efficiency, reduce duplicated test code and improve test-code readability.
ID: 16A |
Flavor: demonstration 30 to 45 minutes
In this demonstration, your workshop coach will walk you through system code and test code that was produced without mock
objects. Next, you'll see how the code gets refactored to use mock objects, which improves its design and makes the system
easier and faster to test.
Requirements: Computer (1), Projector (1), supported IDE, xUnitID: 16B |
Flavor: challenge 60 to 90 minutes
To fully understand mock objects, you need to get your hands dirty. In this challenge, you'll be given system code and test
code that was produced without mock objects. Your goal is to refactor the code to use mock objects, thereby improving the
code's design and making the system easier and faster to test. At the end of the challenge, we will discuss people's mock
object implementations and what to consider when implementing mock objects.
Requirements: Computer (1 for every 2 students), Projector (1), supported IDE, xUnitID: 16C |
Flavor: aspect oriented 15 to 25 minutes
Aspect-oriented programming provides a surprisingly good way to implement mock objects for use in software testing. In this
interactive demonstration, you'll learn how aspect-oriented mock objects aid in the testing of a software system's user interface.
Requirements: Computer (1), Projector (1), supported IDE, xUnit, AspectJID: 16D |