In this tutorial, you will learn how to configure ...
John Ferguson Smart
by admin
1y ago
In this tutorial, you will learn how to configure and run your Java automation testing scripts on the LambdaTest Selenium cloud platform using Serenity BDD. Objectives By the end of this topic, you will be able to: Set up an environment for testing your hosted web pages using Serenity framework with Selenium. Understand and configure the core capabilities required for your Selenium test suite. Run test cases in parallel using Serenity with Selenium to reduce build times. Test your locally hosted pages on LambdaTest platform. Explore advanced features of LambdaTest. Pre-requisites Before you ..read more
Visit website
What’s new In Serenity BDD 3.x
John Ferguson Smart
by admin
2y ago
Serenity BDD is one of the most popular Java test automation libraries, and for good reason! If you are writing automated web tests in Java, using Serenity BDD correctly can reduce the amount of code you need to write by well over 50%, slashing the amount of code you need to maintain yourself. Serenity BDD produces powerful test reports that you can use both as as evidence of your testing activities and documentation of your application. And with over a million downloads a month, regular releases and a vibrant open source community, it's a solid bet for your test automation framework! In this ..read more
Visit website
Does BDD Help With Manual Testing
John Ferguson Smart
by admin
2y ago
Does BDD Help With Manual Testing? This question came up recently, and it's a good one. The answer is YES. If you're a manual tester, or just getting into automation, BDD can feel a bit intimidating. But it turns out, it can be a fast track to more effective agile testing, even if you don't write a line of code! How so? Well, there are two main ways that BDD practices can help with manual testing. The first benefit is probably the biggest one. The BDD process (not the tools, not the automation, not the Given..When..Then format, but the process) is designed to build a shared understanding of th ..read more
Visit website
How do you do field validation in Gherkin?
John Ferguson Smart
by admin
2y ago
How do you do field validation in a Cucumber scenario? I got this question recently, and wanted to share a few techniques I've personally found helpful. Here's one option: This is a classic data-driven approach. It is pretty readable. But the test will reload the page for each variation, which might not be optimal. What else could we do? Here we use soft asserts to perform multiple checks on the same page. Not a conventional use of Gherkin, but it is perfectly readable, and would run quickly as well. But what if we need to check all the fields on a page? Well, how about this? This is a bit ..read more
Visit website
Four tips to help your team REALLY do BDD
John Ferguson Smart
by admin
2y ago
For many teams, the benefits of Behaviour Driven Development are obvious. Teams that practice BDD well see significantly lower defect rates and higher quality features. These teams tend to be more engaged and creative as well. More importantly, they stand a much higher chance of delivering the solutions the customer actually needs. So the benefits of BDD are pretty clear. But then so are the benefits of exercise, and we don't all do as much of that as we should either. The truth is, when the pressure is on to deliver, it can be hard to find the time to plan and analyse, even if we know deep do ..read more
Visit website
Runways
John Ferguson Smart
by admin
2y ago
I came across this cartoon recently. It's supposed to illustrate that two apparently contradictory viewpoints can both be correct, "from a certain point of view". Or that both viewpoints are equally correct. It's a cute metaphor, but does it hold up to reality? And is it helpful? Now in software development, this isn't a theoretical question. We depend on precision and clarity, Are both viewpoints really equally valid? And how do we know? Let's consider a real-world example of this. What number do you think this paintwork represents? Is there any ambiguity? What do you say ..read more
Visit website
Parallel Test Execution With Cucumber and Serenity BDD
John Ferguson Smart
by admin
2y ago
Parallel execution is a great way to speed up almost any test suite, but for a long time, running tests in parallel with Cucumber has been challenging. But there is great news on this front: Cucumber 6 supports parallel execution of features in JUnit natively. And if you are using Serenity BDD with Maven, this means it is now very easy to run features in parallel. First of all, you need a single test runner class to run all of your feature files, like this: @RunWith(CucumberWithSerenity.class) @CucumberOptions( plugin = {"pretty"}, features = "src/test/resources/features" ) public cla ..read more
Visit website
ATDD all the things
John Ferguson Smart
by admin
4y ago
A guest post from Andreas Worm (source: https://www.linkedin.com/pulse/atdd-all-things-andreas-worm) Why would you test the frontend, if you are not confident that the backend is performing correctly? In this article we utilize Serenity BDD and the screenplay pattern. Due to the added level of abstraction, it allows for defining "given-when-then" type scripts to be implemented on the backend services, the web interfaces, the frontend and any other interface you can think of. I have not yet tested this in collaboration with other people but I would imagine this could lead to: more shared QA ow ..read more
Visit website
Improve Your Test Automation Learning And Delivery With The Three Stream Method
John Ferguson Smart
by admin
4y ago
What are your testing goals for the week? One way I like to prioritise my own goals is to think in terms of streams. The most obvious stream is value. You need to deliver value to your customer. From an agile test automation perspective, for example, this might mean writing relevant automated tests that help give the team fast feedback about whether a feature is ready for release. But the value stream is not the only stream, and if you neglect the other streams, the value stream will dry up. Let’s see why. The second stream is quality or technical debt. If you deliver value too quickly, you l ..read more
Visit website
Feature Mapping – a lightweight requirements discovery practice for agile teams
John Ferguson Smart
by admin
4y ago
Feature Mapping is a simple but effective way for teams to discover, explore and deeply understand the features their customers need. In a Feature Mapping session, teams work through concrete examples of how a feature should work, breaking these examples down into steps and tangible business outcomes. Mapping out these examples helps team members discover edge cases, flush out assumptions, and spot uncertainty. This all contributes to building a better shared understanding of goals and business rules. And this helps the team deliver features sooner, with less waste, and with fewer defects. Fea ..read more
Visit website

Follow John Ferguson Smart on FeedSpot

Continue with Google
Continue with Apple
OR