Skip to content

Commit

Permalink
Updates the documentation for the renamed namespaces.
Browse files Browse the repository at this point in the history
  • Loading branch information
pjstadig committed Mar 11, 2013
1 parent f26fc6e commit 7a2f216
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.org
Expand Up @@ -2,6 +2,8 @@
* conjecture changelog * conjecture changelog
** 0.3.0 ** 0.3.0
- Compatible with Clojure 1.2.1. - Compatible with Clojure 1.2.1.
- Renamed groupId to conjecture.
- Renamed namespaces from name.stadig.* => conjecture
** 0.2.0 ** 0.2.0
- Runs fixtures when you call a function as a test (e.g. at a REPL) - Runs fixtures when you call a function as a test (e.g. at a REPL)
- Removes support for singleton fixtures. They did not provide an - Removes support for singleton fixtures. They did not provide an
Expand Down
8 changes: 4 additions & 4 deletions README.org
Expand Up @@ -3,23 +3,23 @@
A ~clojure.test~ compatible third-party testing library for Clojure. Please A ~clojure.test~ compatible third-party testing library for Clojure. Please
contribute code and features through GitHub issues and pull requests. contribute code and features through GitHub issues and pull requests.
** Usage ** Usage
Same as ~clojure.test~, except you pull in ~name.stadig.conjecture~. Same as ~clojure.test~, except you pull in ~conjecture.core~.


For example, you would add the following dependency to your project.clj: For example, you would add the following dependency to your project.clj:


: :dependencies [[name.stadig/conjecture "0.2.0"]] : :dependencies [[name.stadig/conjecture "0.2.0"]]


Use ~name.stadig.conjecture~ in your tests: Use ~conjecture.core~ in your tests:


: (ns foo.bar.test : (ns foo.bar.test
: (:use [name.stadig.conjecture])) : (:use [conjecture.core]))
: :
: (deftest test-widget : (deftest test-widget
: (is (= foo bar)) : (is (= foo bar))
: ...) : ...)


Conjecture is compatible with any ~clojure.test~ based tests you may have. Conjecture is compatible with any ~clojure.test~ based tests you may have.
You simply swap ~name.stadig.conjecture~ in for ~clojure.test~. You simply swap ~conjecture.core~ in for ~clojure.test~.


You can add the lein-conjecture plugin to your project.clj, if that's your You can add the lein-conjecture plugin to your project.clj, if that's your
style: style:
Expand Down

0 comments on commit 7a2f216

Please sign in to comment.