O'Reilly logo

Quality Code: Software Testing Principles, Practices, and Patterns by Stephen Vance

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Retrospective

WebRetriever has reached a functional state with a couple of extra perks over its more mature predecessor curl, at least for the implemented features. It can default a scheme, and it automatically follows HTTP-based redirects. The latter could be seen as a liability if you want to use it to diagnose redirect behaviors, but for most content purposes it helps. As I left it, it works as developed if you do the Maven build and invoke it as a JAR.

Its functionality falls short of curl by a long shot, but as a demonstration of testing techniques that would get tedious. I have tested a few error conditions, but many remain.

From a software design perspective, it went through some fairly ugly and chaotic intermediate forms, but it is shaping ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required