Loading…
This event has ended. Visit the official site or create your own event on Sched.
Get your ticket and additional info and support at jcon.one
Thursday, September 22 • 12:00 - 12:50
How to TDD a REST API

Log in to save this to your schedule, view media, leave feedback and see who's attending!

Feedback form is now closed.
If you're working with a framework for writing APIs (and who doesn't), writing tests up front, almost guarantees the tests will be ugly. And the code might not be that great, either. TDD is great for unit tests, but if you take it up a level, for REST APIs, or an end-to-end behavior, TDD may not look like the tool as advertised. Unless... TDD can work for building REST APIs. And I'm not talking about just writing a test before the code, but the entire TDD experience, with tests passing every few minutes. But unlike "regular" TDD, it doesn't just work. We need to prepare and plan a bit before we can harness of the power of TDD in our real-world applications. In this session, I’m going to go step by step of building APIs from scratch, including the thinking of what to do next. I’ll be using small steps, and show you where I backtracked and made changes. At the end we’ll have working APIs, with tests that prove that they work. TDD is not just for unit tests anymore.

Speakers
avatar for Gil Zilberfeld

Gil Zilberfeld

CTO, TestinGil
Gil Zilberfeld has been in software since childhood, writing BASIC programs on his trusty Sinclair ZX81. With more than 25 years of developing commercial software, he has vast experience in software methodology and practices. From automated testing to exploratory testing, design practices... Read More →


Thursday September 22, 2022 12:00 - 12:50 CEST
#5 Web Development