Sela

Introduction to Unit & API Testing - Workshop

Description
Modern development, including micro-service architecture, is based on APIs. APIs open the doors for better flexibility, improved functionality, and incremental development. But the APIs we develop need to work. To support quality API development, we need to integrate API testing in different situations. Some of the code can be tested as a unit, and some of it can be tested through the APIs themselves. This workshop introduces the automation tooling and methodology for both. The workshop is intended for .net developers, with no prior experience in testing.
Intended audience
.net developers

Topics

What are unit tests, API tests vs other types
How to choose the right test type
Running tests as part of continuous integration
Methods of coming up with cases
Design techniques for API tests
Test frameworks
Asserts as acceptance criteria.
Fixtures and suites
Test separation considerations.
Methods as: features, functionality, speed, stability
Testable architecture
Ports and adapters
Isolation and mocking
Changing behavior and checking interaction
Types of mocks (manual, framework, simulators)
The Moq library
Refactoring without tests
Template-based tests for refactoring
The RestSharp library
Writing tests for REST APIs
Mocking API calls with MockHttp

רוצה לדבר עם יועץ?

האם אתה בטוח שאתה רוצה לסגור את הטופס ולאבד את כל השינויים?