Specflow Pt2, using different test data

 


In the step definition, just input the codes respectively.


string here indicates that this method will return a string value. If void would mean that there is no value to be returned.


This will be the validation and testing portion for specflow


Description here will be a variable. All data below Description are the test data to be used during testing.



Underlined in red would be a dynamic value. Underlined in yellow is the variable parameter. EditTM method needs to be updated to accept a description parameter.



Comments

Popular posts from this blog

Specflow, Gherkin

DevOps, Github

Test Automation tool, VS, selenium, Github, Gitbash