Skip to content

Commit

Permalink
rename project
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreaCrotti committed Dec 7, 2020
1 parent c039e83 commit efe60e4
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ the reporting to make sure we don't report failed tests.

Add the dependency to your project.clj/deps.edn file with:

[![Clojars Project](https://img.shields.io/clojars/v/kaocha-retry-plugin.svg)](https://clojars.org/kaocha-retry-plugin)
[![Clojars Project](https://img.shields.io/clojars/v/kaocha-retry.svg)](https://clojars.org/kaocha-retry)

And add `:retry.plugin/retry` to your list of Kaocha plugins.
And add `:kaocha-retry.plugin/retry` to your list of Kaocha plugins.
4 changes: 2 additions & 2 deletions release.edn
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{:group-id "kaocha-retry-plugin"
:artifact-id "kaocha-retry-plugin"
{:group-id "kaocha-retry"
:artifact-id "kaocha-retry"
:scm-url "https://github.com/andreacrotti/kaocha-retry"}
2 changes: 1 addition & 1 deletion simple-testing/deps.edn
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{:deps {kaocha-retry/kaocha-retry {:local/root "../"}
;; kaocha-retry-plugin/kaocha-retry-plugin {:mvn/version "0.2.3"}
;; kaocha-retry/kaocha-retry {:mvn/version "0.2.3"}
org.clojure/test.check {:mvn/version "1.0.0"}}}
4 changes: 2 additions & 2 deletions simple-testing/tests.edn
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#kaocha/v1
{;; add the plugin globally but enable it on each test scenario
:plugins [:retry.plugin/retry]
:plugins [:kaocha-retry.plugin/retry]
:capture-output? false

:tests [{:id :unit
:retry.plugin/retry? true
:kaocha-retry.plugin/retry? true
:test-paths ["test"]}]}
4 changes: 2 additions & 2 deletions src/retry/plugin.clj → src/kaocha-retry/plugin.clj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
(ns retry.plugin
(ns kaocha-retry.plugin
"Instrument/unstrument namespaces with Orchestra, to get validation of function
arguments and return values based on clojure.spec.alpha."
(:require [clojure.test :as te]
Expand Down Expand Up @@ -33,7 +33,7 @@

(recur (with-capture-report t)))))))))

(defplugin retry.plugin/retry
(defplugin kaocha-retry.plugin/retry
(pre-run [test-plan]
(reset! current-retries {})
test-plan)
Expand Down

0 comments on commit efe60e4

Please sign in to comment.