From 48086585491ceef59130c0474a326d2b390cbea1 Mon Sep 17 00:00:00 2001 From: Simon Zelazny Date: Sat, 10 Jan 2015 14:48:32 +0100 Subject: [PATCH] Travis badge, reformat md --- README.md | 27 +++++++++++++++++---------- 1 file changed, 17 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 84e6889..9e97d9d 100644 --- a/README.md +++ b/README.md @@ -1,15 +1,21 @@ -# bddr +bddr +==== +[![Build +Status](https://travis-ci.org/pzel/bddr.svg?branch=master)](https://travis-ci.org/pzel/bddr) + Minimalist BDD for Erlang, sans cucumbers It's pronounced "better". -## why? +why? +==== - To enforce strictness as to what is being tested - To allow groups of develpers to understand each other's test cases - To eliminate `init_per_*` and `end_per_*` anti-patterns -## how? +how? +==== Here is a basic test with independent givens: @@ -26,16 +32,17 @@ bddr:test([given_app_started(), ``` -## ...it doesn't do XYZ? +...so it doesn't do XYZ? +======================== -No, the implementation is minimal. No parse transforms, no macros. It's the -developer's responsibility to provide his/her abstractions for the tested -components. Remember, your tests are just Erlang code. Make it readable and -extensible for others. Be humane. +No, the implementation is intentionally minimal. No parse transforms, no +macros. It's the developer's responsibility to provide his/her abstractions for +the tested components. Remember, your tests are just Erlang code. Make it +readable and extensible for others. Be humane. ----------- +------------------------------------------------------------------------------- -#### Additional copyrights +**Additional copyrights** The test suite contains `dynamic_compile.erl`, copyright 2007 by Mats Cronqvist, Chris Newcombe, and Jacob Vorreuter, licensed under the MIT License.