Software Quality Assurance & Testing Stack Exchange is a question and answer site for software quality control experts, automation engineers, and software testers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have many test scenarios with their steps written as Cucumber features. Each time I start developing new scenario, I have to read through different feature files and try to find whether I have the step I need already implemented by me in another scenario or will I have to create it from scratch. Moreover, as each step obviously depends on one more other steps (e.g. you can't perform any operations before you log in), this process sometimes become very tedious and prone to errors.

So I thought that if there was some tool that I could input my steps with their respective dependencies into and it could give the dependencies tree as an output, that would've been very helpful.

However I am sure that something like that already exists and possibly has a name. Does that sounds familiar to anyone? Any ideas what tools are there that can help me with test steps management?

share|improve this question

bumped to the homepage by Community 3 hours ago

This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.

    
TFS has shared test steps – Bookeater Jun 27 '16 at 16:02

I am not sure about steps dependency management tool, but we can check if step def exits for scenario in a feature file. One way is to check is by having a dry run.

@Cucumber.Options (dryRun = true)

Dry run will ensures that you have step definition for your scenarios without actually running it. This approach may not work always, depending on how you structure your scenario, but its still worth a try nonetheless. Let me know, if it works for you or not?

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.