Skip to content

Book devoted to tests. Real life examples of not-so-perfect tests, and discussion about how to improve them.

Notifications You must be signed in to change notification settings

kamilszymanski/bad-tests-good-tests

Repository files navigation

Basic Info

This project contains the source code (the text) of my book devoted to tests. Codename: '"Bad Tests, Good Test"'.

The main idea of this (short) book is to present typical issues, bad practices and anti-patterns that I witness frequently when browsing and reviewing test code, and to present how to improve the test code.

You can think about this book as about an additional chapter (very practical and based on real-life issues) of my previous book Practical Unit Testing with TestNG and Mockito.

The idea comes from my talk titled '"Bad Tests, Good Tests"' given on GeeCON 2012 conference (and later polished and presented again on other conferences as well).

It is Free, Yes!

This book is free. I will make it available on my website in different formats.

Printed version? Yeah, I think about it but it won’t be free - printing costs, you know…​ :(

Want to Help? Great!

Basically you can do few things:

  • review the content and comment on it,

  • improve the language (e.g. find typos, correct bugs, make it sound better etc.),

  • provide me with test examples (see here),

The book is free so I can’t pay you for your efforts, but I will mention your contributions so you will get fameous (chicks love fameous people!).

Build

You need to install AsciiDoc first.

Run generateHtml.sh script file. The HTML book will be created in target folder.

About

Book devoted to tests. Real life examples of not-so-perfect tests, and discussion about how to improve them.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published