search for: validateprofiletest

Displaying 1 result from an estimated 1 matches for "validateprofiletest".

2009 Apr 27
2
Cucumber: Setting Dependency among scenarios
...... 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("I have user credential as (.*) and (.*)$") public void setCredentials(String userName, String password) { // set credentials to members ... } @When("I call Validate Profile") public void validateProfile() { ... ValidatedProfile profile = v...