-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Below you find a number of tutorial screencasts showing capabilities of this extension to get started. All sourcecode is available on Github for you to clone. The supporting Nuget package SpecByExample.Common is part of this but has its own lifecycle.
Shows you how to get the extension, create a solution for web testing and test the sample website.
This video shows how to:
- Install the extension
- Create your first test solution
- Generate SpecFlow Steps to test the homepage of the sample website
- Put the Chrome webdriver in the right place to start the test
- Run the SpecFlow test from the Test Explorer
NOTE: Only Chrome supported at this time due to a compile-time directive in the Nuget package (will be fixed soon)
The wizard can create a feature file for you to get you started. In general this will not be all that useful as writing the features is the part that requires human intelligence :) To get started, however, it creates a simple test feature containing 1 scenario:
It uses the SpecByExample Sample Website to show how you can easily create a SpecFlow test that executes a scenario like a visitor on the website.
Initially this scenario will fail. This makes sense since the first link on the page is the Home link, which does not take you to a different url.
Shows how you can customize the T4 templates used to generate the code.
This video shows how to:
- Add the T4 templates to your project
- Move them next to your solution file so they can be used by multiple projects
- Update the template by adding a header to the page
- Run the custom tool to update the PageAdapter file
Screencasts for more advanced scenarios will be added:
- Test a login to a website
- Improve your model
- Advanced: Add your custom control