This repository contains SpecFlow's BDD with Selenium with the aim to test the search feature in Google and Youtube platforms.
Create and go to the directory where you want to place the repository
cd my-directory
Clone the project
git clone https://github.com/pncsoares/specflow-selenium-search.git
Go to the project directory
cd specflow-selenium-search
Click in the Build
button
Open terminal and execute the following commands:
# run in SpecFlowCalculator directory
dotnet build
Click in Run all tests
button
Open terminal and execute the following commands:
# run in SpecflowSelenium directory
dotnet test
You need to have livingdoc installed in your computer
Open terminal and execute the following commands:
# run in SpecflowSelenium directory
livingdoc test-assembly SpecflowSelenium/bin/Debug/net6.0/SpecflowSelenium.dll -t SpecflowSelenium/bin/debug/net6.0/TestExecution.json
Open the LivingDoc.html
that livingdoc created in the root of SpecflowSelenium
directory.
MIT