I’ve created a test case and select “BDD Test Case”, but there is no detailed documentation or detailed best practices guide or tutorial on how to use “BDD Test Case”.
How does this fit with the Gherkin? and or specflow
Are the default sections (sequences) “Given”, “When” and “Then” just in name. Do we use Gherkin syntax in UiPath test cases and if so, how?
Help please?
here’s a concise version of the BDD Test best practices for UiPath:
BDD Testing in UiPath:
Collaboration: Involve stakeholders in defining tests using plain language.
Gherkin Syntax: Use Given-When-Then keywords to structure test steps.
Scenario Structure: Focus on single behaviors, group logically, and strive for independence.
Example: Use Gherkin syntax with UiPath’s BDD Test Case template and Examples for data-driven testing.
Integration: Integrate BDD tests with UiPath workflows for automated testing.
Optional: Consider Specflow for code generation and advanced Gherkin features.
Tips:
Readability: Keep scenarios clear and concise.
Start Simple: Begin with core BDD principles and add complexity gradually.
Value: Ensure BDD tests provide real-world value for quality improvement.
Maintain: Regularly review and update BDD tests as the application changes.
Thank you, excellent start.
Do you have a test case with a fully developed example using the Gherkin Syntax?
Where and when would you use Specflow, can you be more specific and can you provide an example?
system
(system)
Closed
May 15, 2024, 6:42pm
4
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.