QA

Back-end Automation with C#


Content
  • RestSharp
  • Setup Visual Studio project with RestSharp
  • Send Request
  • Validate Response
  • Serialization, Deserizalization and Authentication
  • XUnit
  • Add XUnit to the Automation framework
  • Test Explorer
  • Facts and Theories
  • Traits/Categories
  • Executing tests
  • Assertions
  • Compare XUnit to the others .Net testing frameworks
  • XUnit Cheat Sheet
  • Data Transfer Objects (DTOs)
  • What is a DTO?
  • Repackaging data with DTOs
  • Example
  • Create DTO class
  • Optimize DTO classes
  • Override Equals() method for DTO
  • Override Equals() methods
  • Factory Pattern
  • Factory Method Pattern
  • Static Factory Method Pattern and Constructors
  • Replace Constructor with Factory Method
  • Create Factory classes
  • Tips and Tricks
  • System.Linq Namespace
  • Read from resource file
  • Read a property from configuration file
  • Build Backend Automation Framework
  • Initial structure of the framework
  • Testing environment parameters
  • Add baseUrl to app.config
  • Perform Authentication manually in Swagger
  • Authentication manual exercise
  • Create BaseTests class
  • Create BaseSteps classes
  • BaseSteps exercise
  • Implement RequestOperationsHelper class
  • Add more methods to the RequestOperationsHelper class
  • Create Steps for GET endpoint
  • Add more Steps classes
  • Add Authentication to the framework
  • Create test cases for GET endpoint
  • Add more Tests classes
Completion rules
  • All units must be completed