Book Image

Learning Android Application Testing

Book Image

Learning Android Application Testing

Overview of this book

Table of Contents (16 chapters)
Learning Android Application Testing
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

GivWenZen


GivWenZen is a framework that builds upon FitNesse and Slim to allow the user to exploit the Behavior-driven Development technique of expression, using the Given-When-Then vocabulary to describe tests. These test descriptions are also created using the FitNesse wiki facility, of expressing the tests as plain text contained in tables in a wiki page.

The idea is simple and straightforward, and follows up with what we have been doing with FitNesse, but this time instead of writing acceptance tests giving a table of values, we will use the three Behavior-driven Development magic words, Given-When-Then, to describe our scenarios.

Firstly, let's install FitNesse with GivWenZen. Download the full distribution from its download list page at http://goo.gl/o3Hlpo. Once unzipped, the GivWenZen JAR starts up exactly the same way as FitNesse did (because it's just a modification on top):

$ java -jar /lib/fitnesse.jar -p 8900

Further reading, comprehensive instructions and examples can be found...