Activity

Stefan Dirnstorfer is the CTO at testup.io, where he focuses on creating an entirely visual workflow for test automation. With many years of experience as a software developer, he has now dedicated himself to a new mission in software quality assurance.
This badge is awarded to members who update their profile with a new photo. image
This badge is awarded to members who update their profile with a new photo.
This badge is awarded to members who update their social links on their profile. image
This badge is awarded to members who update their social links on their profile.
This badge is awarded to members who add their pronouns to their member profile, helping create a more inclusive community. image
This badge is awarded to members who add their pronouns to their member profile, helping create a more inclusive community.
This badge is awarded to members who publish their first article on the Ministry of Testing site image
This badge is awarded to members who publish their first article on the Ministry of Testing site
Earned through actions that have made the MoT Community a more pleasant and useful place to be. image
Earned through actions that have made the MoT Community a more pleasant and useful place to be.
<div>Thanks for feeding back to us on how writing with us has helped you!</div> image
Thanks for feeding back to us on how writing with us has helped you!
<a href="https://www.ministryoftesting.com/articles/four-reasons-to-stop-testing-finding-the-right-balance-in-software-quality" rel="noopener nofollow">Four reasons to stop testing: Finding the right balance in software quality</a> image
Four reasons to stop testing: Finding the right balance in software quality
Decide when to stop testing by weighing up the costs, benefits, risks, and impact on quality. image
Decide when to stop testing by weighing up the costs, benefits, risks, and impact on quality.
<div>Thank you for donating your article fee to the Scholarship fund!</div> image
Thank you for donating your article fee to the Scholarship fund!
This badge is awarded to those who donate to the MoT Scholarship Fund image
This badge is awarded to those who donate to the MoT Scholarship Fund
This badge is awarded to members who have read 10 articles while logged in. image
This badge is awarded to members who have read 10 articles while logged in.
<a href="https://www.ministryoftesting.com/articles/a-software-tester-s-guide-to-the-art-of-mocking" rel="noopener nofollow">A software tester’s guide to the art of mocking</a> image
A software tester’s guide to the art of mocking
<a href="https://www.ministryoftesting.com/articles/failing-with-grace-a-tester-s-guide-to-error-culture" rel="noopener nofollow">Failing with grace: A tester's guide to error culture</a> image
Failing with grace: A tester's guide to error culture
<a href="https://www.ministryoftesting.com/articles/how-to-write-visual-ui-automation-tests-using-graphics-instead-of-complex-locator-strings" rel="noopener nofollow">How to write visual UI automation tests using graphics instead of complex locator strings</a> image
How to write visual UI automation tests using graphics instead of complex locator strings
This badge is awarded to members who contribute a new term or an alternative definition to the software testing glossary. image
This badge is awarded to members who contribute a new term or an alternative definition to the software testing glossary.
Learn when to use mock testing to create effective and challenging test scenarios image
Learn when to use mock testing to create effective and challenging test scenarios
This badge is awarded to those who subscribe to the software testing news weekly newsletter. image
This badge is awarded to those who subscribe to the software testing news weekly newsletter.
<div>
<strong>Mock objects</strong> are lookalikes that replace external systems to help maintain testability. For example, instead of pulling live weather data, a <strong>mocked service</strong> can return predefined temperatures, allowing testers to verify the display without relying on the real service. <br><br><strong>Mocks can be difficult to build and maintain,</strong> especially when the external service evolves. However, they are useful when components are <strong>slow, unavailable, indeterministic, under development, or require rare responses</strong>. <br><br>
</div><div>Test setups vary based on the number of mocks used: <br><br>
</div><ul>
<li>
<strong>Component tests</strong> mock everything except the tested module.</li>
<li>
<strong>Integration tests</strong> replace some or most components with mocks.</li>
<li>
<strong>End-to-end tests</strong> use real components whenever possible.</li>
</ul><div>
<br>Mocks can be implemented via <strong>MockServer, Mockoon, Mocki</strong>, or frameworks like <strong>JMock</strong> and <strong>Mockito</strong>. <strong>Dependency Injection</strong> helps swap components efficiently. Some systems allow modifying components to <strong>serve as their own mock</strong> or using <strong>control interfaces and test-specific triggers</strong> (e.g., a test user named <strong>"CrashAtStepX"</strong>).</div> image
Definitions of Mocks
Improve user satisfaction and software resilience by prioritising thoughtful error messaging and a good error culture image
Improve user satisfaction and software resilience by prioritising thoughtful error messaging and a good error culture
Where to click and where to look? These are the questions that need to be defined in an automated UI test script. Why not use images to show it, rather than text to describe it? image
Where to click and where to look? These are the questions that need to be defined in an automated UI test script. Why not use images to show it, rather than text to describe it?
This badge is awarded to members who have updated their profile. image
This badge is awarded to members who have updated their profile.
This badge is awarded to members who have signed up as a Club member. image
This badge is awarded to members who have signed up as a Club member.
Subscribe to our newsletter
We'll keep you up to date on all the testing trends.