Java RestSharp and Specflow - intive/patronage21-qa GitHub Wiki

1.Specflow downloading

Open Visiual Studio and go Extensions -> Manage Extensions

image

In browser on the right side write: Specflow. It should appear in the window in the center

image

Click icon Download and stard downloading Specflow

image

  1. Download RestSharp

Click File -> New -> Project

image

In the browser write Specflow.

image

Make sure it includes C#

Mark it and click NEXT

Set up the configuration of the new project. Project name, location, solution location.

Click Create

Set up the configuration of Spaceflow project.

Framework: Net 5.0

Test Framework: NUnit

Mark Add FluentAsserions library

image

When the project opens, click on Solution with right mouse click and choose: Manage NuGet Packages for Solution

image

Write in the browser on the left side: RestSharp

image

Lets click on the first search result, which appeared on the top

The searched RestSharp is displayed in the window on the right

image

Make sure, all check boxes are marked on.

Click install.

  1. Validation of the installation

Double click on the CalculatorSepDefinitions.cs

image

Lets write sample of the text: "Using res"

image

The rest of RestSharp should appear. It means the instalation went well.