diff options
author | Debian Emacs addons team <pkg-emacsen-addons@lists.alioth.debian.org> | 2017-06-19 12:08:00 +0100 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2017-06-19 12:08:00 +0100 |
commit | 107776803ed4ad6bd65973b6b5a6ab2771586ddd (patch) | |
tree | 0a3a2a79540bc6240a6d0c23eb2af4e03233020d | |
parent | 558fc48459836d220bc7ad4eadd274e75c9cf50b (diff) |
patch-README-for-Debianarchive/debian/1.7-1
Gbp-Pq: Name patch-README-for-Debian.diff
-rw-r--r-- | README.md | 28 |
1 files changed, 4 insertions, 24 deletions
@@ -1,10 +1,5 @@ # Buttercup — Behavior-Driven Emacs Lisp Testing -[![Build Status](https://api.travis-ci.org/jorgenschaefer/emacs-buttercup.png?branch=master)](https://travis-ci.org/jorgenschaefer/emacs-buttercup) -[![MELPA Stable](http://stable.melpa.org/packages/buttercup-badge.svg)](http://stable.melpa.org/#/buttercup) - -![Ranculus repens, photo by sannse](docs/images/buttercup.jpg) - Buttercup is a behavior-driven development framework for testing Emacs Lisp code. It allows to group related tests so they can share common set-up and tear-down code, and allows the programmer to “spy” on @@ -16,7 +11,7 @@ The framework is heavily inspired by ## Example -*Full article: [Writing Tests](docs/writing-tests.md)* +*Full article: [Writing Tests](writing-tests.md.gz)* A simple test looks like this. @@ -26,26 +21,11 @@ A simple test looks like this. (expect t :to-be t))) ``` -## Installation and Usage - -*Full article: [Running Tests](docs/running-tests.md)* - -You can install buttercup from -[MELPA Stable](http://stable.melpa.org/). Add the following to your -`init.el` or `.emacs` file: - -``` -(require 'package) -(add-to-list 'package-archives - '("melpa-stable" . "http://stable.melpa.org/packages/") t) -``` - -This should allow you to `M-x package-install RET buttercup RET`. +## Usage -Alternatively, users of Debian 9 or later or Ubuntu 16.10 or later may -simply `apt-get install elpa-buttercup`. +*Full article: [Running Tests](running-tests.md.gz)* -Now create a file called `test-feature.el` with these contents: +Create a file called `test-feature.el` with these contents: ```Lisp (describe "A suite" |