Рет қаралды 19,378
API Testing using RestSharp, SpecFlow, C#
SpecFlow: Behavior Driven Development for .NET
SpecFlow bind automation to feature files
What is Behavior-driven development (BDD)?
.BDD is a software development process for teams to create simple scenarios on how an application should behave from the end user's perspective.
.The goal of implementing BDD testing is to improve collaboration between stakeholders, such as developers, testers, product managers, and business analysts.
.The BDD testing framework promises to address the need for automation using Cucumber, Specflow.
Installation and setup:
1. Install visual studio extension (not mandatory) but provides helpful features
To install extension for VS 2019
marketplace.vi...
SpecFlow Project:
We can use number of test execution framework
SpecFlow+ Runner
MSTest
NUnit
xUnit
RestSharp is a powerful library to automate REST API using C#. In this video I will explain about important part of RestSharp and how to automate your REST API tests. I have used NewtonSoft Json.NET to serialize and deserialize JSON.
Please download code from here
Latest version:
github.com/man...
Version 1.0:
drive.google.c...
RestSharp C# Tutorial
RestSharp
API testing
WebServices Tutorial
Rest APIs
API Automation using C# RestSharp
Tests d'API REST à l'aide de C # RestSharp et Json.NET
REST API-testen met behulp van C # RestSharp en Json.NET
REST API testování pomocí C # RestSharp a Json.NET
REST-API-Tests mit C # RestSharp und Json.NET
Teste da API REST usando C # RestSharp e Json.NET
اختبار REST API باستخدام C # RestSharp و Json.NET
C # RestSharp ve Json.NET kullanarak REST API testi
#specflow #restsharp #csharp