testcontainers-clj/project.clj
Rob Hanlon 8794b4a991
Allow for provision of a Testcontainer instance (#16)
* Allow for provision of a Testcontainer instance

Testcontainers provides many different container implementations that
can be very useful. This simple change allows callers to provide their
own, premade container instance so consumers can flexibly choose their
container type. If no container instance is supplied, then
clj-test-containers falls back to its original behavior.

* Extract  function

* Cleanup, ensure Clojure types instead of Java types

Co-authored-by: Tim Zöller <mail@tim-zoeller.de>
2020-08-05 07:25:59 +02:00

14 lines
661 B
Clojure

(defproject clj-test-containers "0.1.0"
:description "A lightweight, unofficial wrapper around the Testcontainers Java library"
:url "https://github.com/javahippie/clj-test-containers"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.10.1"]
[org.testcontainers/testcontainers "1.14.3"]]
:plugins [[metosin/bat-test "0.4.4"]]
:bat-test {:report [:pretty {:type :junit
:output-to "target/junit.xml"}]}
:profiles {:dev {:dependencies [[org.testcontainers/postgresql "1.14.3"]]}}
:target-path "target/%s")