📄️ The Customers API
The API we will be using for integration tests
📄️ Our first integration test
Let's write our first integration test for the API
📄️ Dealing with leftover data
Integration tests can create data. Let's deal with that.
📄️ Running the API smarter
Having to run the API manually is painful. Let's fix it
📄️ Writing the rest of the tests
Time for you to practice by writing the rest of the tests
📄️ Our own WebApplicationFactory
Creating our own WebApplicationFactory
📄️ Perfecting database cleanup
Now let's absolutely perfect the cleanup approach for our data
📄️ Creating databases on demand
Using Docker to create databases when we need them
📄️ Dealing with third-party APIs
Using third-party APIs in our system can be a problem
📄️ Realistic fake data
Creating realistic fake data for our tests
📄️ Exercise: The Foreign Exchange API
Let's take it back and write tests for an old friend