Skip to content

Commit

Permalink
Travis badge, reformat md
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon Zelazny committed Jan 10, 2015
1 parent 5519179 commit 4808658
Showing 1 changed file with 17 additions and 10 deletions.
27 changes: 17 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -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:

Expand All @@ -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.

0 comments on commit 4808658

Please sign in to comment.