Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

BDD with Manual Tests?

We are switching from a classic 'Waterfall' model into more Agile-orient philosophy. We decided to give BDD a try (Cucumber), but we have some issues with migrating some of our 'old' methodologies. The biggest question mark is how manual tests integrates into the cycle.

Let's say the Project Manager defined the Feature and some basic Scenario Outlines. With the test team, we defined around 40 Scenarios for this feature. Some are not possible to automatically test, which means they will have to be tested manually. Execute manual testing when all you have is the feature file, feels wrong. We want to be able to see past failure rate of tests for example. Most of the Test-Cases managers support such features, but they can't work with Feature files. Maintaining the Manual Testcases in external Test-Case manager, will cause never-ending updating issues between the Feature file and the Test-Case manager.

I'm interested to hear if anyone is able to cover this 'mid-ground' and how.

like image 445
Okiba Avatar asked Mar 02 '15 14:03

Okiba


People also ask

Can BDD be used for manual testing?

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!

What is BDD in manual testing?

Behavior-driven development is a testing practice that follows the idea of specification by example (e.g., Test-Driven Development [TDD]). The idea is to describe how the application should behave in a very simple user/business-focused language.

Can cucumber be used in manual testing?

The scenarios written within CucumberStudio can be manually executed. Once your test run is created (see the instructions to create one), you can start a test execution cycle.

Is BDD automated testing?

When it comes to testing in a behavior-driven development process, there are a wide variety of automated testing tools that can work with Cucumber or Gherkin requirements to streamline your efforts. Automation is vital to the success of any team looking to implement BDD.


1 Answers

This is not a very unusual case. Even in Agile it may not be possible to automate every scenario. The scrum teams I am working with usually tag them as @manual scenario in the feature file. We have configured our automation suite (Cucumber - Ruby) to ignore these tags while running nightly jobs. One problem with this is, as you have mentioned, we won't know what was the outcome of manual tests as the testers document the results locally.

My suggestion for this was to document the results of each iteration in a YML or any other file format that suits the purpose. This file should be part of the automation suite and should be checked in the repository. So to start with you have results documented along with the automation suite. Later when you have the resource and time, you can add a functionality to your automation suite to read this file and generate a report either with other automation results or separately. Until then your version control should help you to track all previous results.

Hope this helps.

like image 153
Eswar Avatar answered Oct 06 '22 01:10

Eswar