Displaying 1 result from an estimated 1 matches for "validatedprofil".
Did you mean:
validatedprofile
2009 Apr 27
2
Cucumber: Setting Dependency among scenarios
...for my java project for automated
testing. I would like to know if there is any option in cucumber, by
which we can explicitly provide dependency among running scenarios. For
example:
I have a ValidateProfile.java and a ProfileSignIn.java.
public class ValidateProfile {
...
public ValidatedProfile validate(String userName, String password) {
...
...
}
}
public class ProfileSignIn {
public void doSignIn(ValidatedProfile profile) {
...
...
}
}
Suppose I have a step definition for ValidateProfile as:
public class ValidateProfileTest {
@Given...