The Power of Acceptance Testing
Learn the downsides of a real-time distributed application and how testing can fix them.
We'll cover the following...
Acceptance tests
Although Phoenix handles many complex parts, writing and running real-time systems is a challenge. Real-time systems use persistent connections to optimize the speed and efficiency of sending data to clients. We covered in Design for Unreliable Connections that persistent connections are less forgiving than traditional web requests. They require additional code to cover scenarios that can happen to users.
Let’s look at why this is the case and how acceptance tests can help us gain confidence in our application. Acceptance tests use the entire application stack, from browser to server. They can be manual or automated, which we’ll cover ...