Test Doubles: creating a Mock

5.0 02 In this series of posts about Test Doubles we’ve looked at the manual and tool-aided creation of a Dummy Object and the use of the Test Stub and the Test Spy. So it’s […]

Test Doubles: creating a Test Spy

5.0 02 In this series of posts about Test Doubles we’ve looked at the manual and tool-aided creation of a dummy object and the use of the test stub. Now it’s time to discuss the […]

Test Doubles: creating a Test Stub

5.0 01 In this series of posts about Test Doubles we’ve looked at the manual and tool-aided creation of a dummy object. Now it’s time to discuss the creation of a stub. The stub is […]

Test Doubles: creating a Dummy Object using a mocking framework

5.0 01 In this series of posts about Test Doubles we’ll look at five examples. In the previous post we looked the manual creation of a dummy object. The conclusion was that the manual approach […]

Test Doubles: creating a Dummy Object manually

5.0 02 In this series of posts about Test Doubles we’ll look at five examples. The Dummy Object is the first and most straightforward. Its definition is: A placeholder object that is passed to the […]

Test Doubles for the win

Test Doubles

5.0 03 When writing unit or contract tests you encounter situations in which you need mock things. Given you want to test a method in Class A that uses a collaborator (class / interface B). […]

Learn Development Practices To Improve Your Test Automation Code

0.0 00 This was originally posted on testhuddle. Test automation is a prominent part of testing. To improve your test automation code, you should look at development practices. Creating clean code is a good practice […]

Scroll to an element with Selenium WebDriver

3.1 20 We need to take into account that a web element, for instance a button, can dynamically go out of view depending on the screen resolution we test with. So how do we wait […]