Skip to content

Commit 9b81330

Browse files
committed
Prep for a 2.x Alpha release
1 parent 55fa55b commit 9b81330

File tree

5 files changed

+17
-17
lines changed

5 files changed

+17
-17
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Version 2.0.0 in progress
22

3-
> NOTE: The dependency name will change from `expectations/clojure-test` to something still to be determined. Clojars has introduced a [Verified Group Names policy](https://github.com/clojars/clojars-web/wiki/Verified-Group-Names) which means no new libraries can be pushed to the `expectations` group, and because `doo` filters out JAR artifacts that begin `clojure-` for self-hosted ClojureScript environments (i.e., `planck`), continuing to use `clojure-test` for the artifact name is not viable.
3+
> NOTE: Clojars has introduced a [Verified Group Names policy](https://github.com/clojars/clojars-web/wiki/Verified-Group-Names) which means no new libraries can be pushed to the `expectations` group, and `doo` filters out JAR artifacts that begin `clojure-` for self-hosted ClojureScript environments (i.e., `planck`), continuing to use `clojure-test` for the artifact name is not viable. Accordingly, the 2.x versions of this library are published as `com.github.seancorfield/expectations`.
44
55
* Make `(defexpect foo)` and `(defexpect foo (bar))` match the behavior of `deftest`, without wrapping the body in `(expect ,,,)`. This is potentially breaking insofar as `(defexpect foo (produces-falsey))` would have been a failing test in 1.x but now silently just runs `(produces-falsey)` in the same way that `(deftest foo (produces-falsey))` does.
66
* Bring in several test-running functions from `clojure.test`, for convenience in dev/test so users don't need to require `clojure.test` as well.

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ A `clojure.test`-compatible version of the [classic Expectations testing library
44

55
## Where?
66

7-
[![Clojars Project](https://clojars.org/expectations/clojure-test/latest-version.svg)](https://clojars.org/expectations/clojure-test) [![cljdoc badge](https://cljdoc.org/badge/expectations/clojure-test)](https://cljdoc.org/d/expectations/clojure-test/CURRENT)
7+
[![Clojars Project](https://clojars.org/com.github.seancorfield/expectations/latest-version.svg)](https://clojars.org/com.github.seancorfield/expectations) [![cljdoc badge](https://cljdoc.org/badge/com.github.seancorfield/expectations)](https://cljdoc.org/d/com.github.seancorfield/expectations/CURRENT)
88

99
Try it out:
1010

1111
```
12-
clj -Sdeps '{:deps {expectations/clojure-test {:mvn/version "RELEASE"}}}'
12+
clj -Sdeps '{:deps {com.github.seancorfield/expectations {:mvn/version "RELEASE"}}}'
1313
```
1414

1515
## What?

deps.edn

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
:runner
88
{:extra-deps {io.github.cognitect-labs/test-runner
99
{:git/url "https://github.com/cognitect-labs/test-runner"
10-
:sha "2d69f33d7980c3353b246c28f72ffeafbd9f2fab"}}
10+
:sha "62ef1de18e076903374306060ac0e8a752e57c86"}}
1111
:exec-fn cognitect.test-runner.api/test}
1212
:cljdoc {:extra-deps {planck/planck {:mvn/version "2.25.0"}}}
1313
:cljs-runner

doc/getting-started.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
1-
# Getting Started with expectations/clojure-test
1+
# Getting Started with expectations.clojure.test
22

33
This library provides an expressive alternative to [`clojure.test`](http://clojure.github.io/clojure/clojure.test-api.html), based on the syntax of Jay Fields' [Expectations](https://clojure-expectations.github.io/) library, but fully compatible with all the `clojure.test`-based tooling out there: no special plugins or editor modes are needed.
44

55
## Installation
66

7-
You can add `expectations/clojure-test` to your project with either:
7+
You can add `expectations.clojure.test` to your project with either:
88

99
```clojure
1010
;; add this to :extra-deps under a :test alias:
11-
expectations/clojure-test {:mvn/version "1.2.1"}
11+
com.github.seancorfield/expectations {:mvn/version "2.0.0-alpha1"}
1212
```
1313
for `deps.edn` or:
1414

1515
```clojure
1616
;; add this to :dev-dependencies (Leiningen)
17-
[expectations/clojure-test "1.2.1"]
17+
[com.github.seancorfield/expectations "2.0.0-alpha1"]
1818
;; or add this to :dependencies (Boot)
19-
[expectations/clojure-test "1.2.1" :scope "test"]
19+
[com.github.seancorfield/expectations "2.0.0-alpha1" :scope "test"]
2020
```
2121
for `project.clj` or `build.boot`.
2222

@@ -188,10 +188,10 @@ Of course, you can also update the `:test` alias to add those new options into `
188188
{:test
189189
{:extra-paths ["test"]
190190
:extra-deps
191-
{expectations/clojure-test {:mvn/version "1.2.1"}
191+
{com.github.seancorfield/expectations {:mvn/version "2.0.0-alpha1"}
192192
io.github.cognitect-labs/test-runner
193193
{:git/url "https://github.com/cognitect-labs/test-runner"
194-
:sha "2d69f33d7980c3353b246c28f72ffeafbd9f2fab"}}
194+
:sha "62ef1de18e076903374306060ac0e8a752e57c86"}}
195195
:exec-fn cognitect.test-runner.api/test
196196
:exec-args {:dirs ["src" "test"]
197197
:patterns [".*"]}}}}
@@ -206,10 +206,10 @@ Note that you'll need both `src` _and_ `test` directories if you want `test-runn
206206
{:test {:extra-paths ["test"]}
207207
:runner
208208
{:extra-deps
209-
{expectations/clojure-test {:mvn/version "1.2.1"}
209+
{com.github.seancorfield/expectations {:mvn/version "2.0.0-alpha1"}
210210
io.github.cognitect-labs/test-runner
211211
{:git/url "https://github.com/cognitect-labs/test-runner"
212-
:sha "2d69f33d7980c3353b246c28f72ffeafbd9f2fab"}}
212+
:sha "62ef1de18e076903374306060ac0e8a752e57c86"}}
213213
:exec-fn cognitect.test-runner.api/test
214214
:exec-args {:dirs ["src" "test"]
215215
:patterns [".*"]}}}}

pom.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
33
<modelVersion>4.0.0</modelVersion>
4-
<groupId>expectations</groupId>
5-
<artifactId>cljc-test</artifactId>
6-
<version>2.0.0-SNAPSHOT</version>
4+
<groupId>com.github.seancorfield</groupId>
5+
<artifactId>expectations</artifactId>
6+
<version>2.0.0-alpha1</version>
77
<name>exp-clojure-test</name>
88
<description>A clojure.test-compatible version of the classic Expectations testing library.</description>
99
<url>https://github.com/clojure-expectations/clojure-test</url>
@@ -22,7 +22,7 @@
2222
<connection>scm:git:[email protected]:clojure-expectations/clojure-test.git</connection>
2323
<developerConnection>scm:git:[email protected]:clojure-expectations/clojure-test.git</developerConnection>
2424
<url>https://github.com/clojure-expectations/clojure-test</url>
25-
<tag>ea94caad53ad390f6485f0d32bdb022e89ab5a4b</tag>
25+
<tag>v2.0.0-alpha1</tag>
2626
</scm>
2727
<dependencies>
2828
<dependency>

0 commit comments

Comments
 (0)