In this session, I live-code a web API with ASP.NET Core from the business perspective with tests that won't get in the way. Starting from some requirements and the acceptance criteria, I write one acceptance test driving the outer loop of our test suite. I then use it as feedback for the progress of the implementation of the feature until it is completed, using unit tests. This is a technique that I've tried several times within delivery teams in the past, achieving amazing success. AFAIK, this technique was first presented in the book "Growing Object-Oriented Software, Guided by Tests" by Steve Freeman and Nat Price.
Agenda:
0:00 Introduction
1:04 Direction of development
2:56 Classic vs. London School of TDD
6:45 Test doubles
13:15 Boundaries - Acceptance tests
14:42 Boundaries - Unit tests
24:46 Boundaries - Integration tests
29:26 Boundaries - End-to-end tests
31:12 Where does design happen in the TDD cycle?
34:33 Questions and Answers
Join us:
ReSharper Website: [ Ссылка ]
ReSharper on Twitter: [ Ссылка ]
Rider Website: [ Ссылка ]
Rider on Twitter: [ Ссылка ]
.NET Tools Blog: [ Ссылка ]
About Pedro Moreira Santos
Over 25 years of experience in software, from embedded systems, aviation, media, retail, to cloud-based enterprise applications. I'm the main author of the Agile Technical practices book. In recent years, I've focused on educating, and inspiring other developers. I coach and mentor. I've spent hundreds of hours doing pairing and mobbing sessions, coaching, and tutoring developers at all levels of proficiency.
Twitter: [ Ссылка ]
#JBDotNetDay #TDD #jetbrains
Categories: Webinar, Event
Ещё видео!