Fork me on GitHub
#boot
<
2016-11-05
>
martinklepsch09:11:52

@ag you'll need to provide more info - how do they fail? Is there an error? What does the error say? Er

lxsameer12:11:48

should i add the target dir to source-paths ?

chooie17:11:54

Running into an issue when running boot-test/test:

boot.user> (boot (run-backend-tests))
clojure.lang.Compiler$CompilerException: java.lang.RuntimeException: Failed to get driver instance for jdbcUrl=jdbc:, compiling:(config.clj:18:21)
             java.lang.RuntimeException: Failed to get driver instance for jdbcUrl=jdbc:
                  java.sql.SQLException: No suitable driver
How do I provide the Postgresql driver to HikariCP through Conman? I tried :datasource-classname "org.postgresql.Driver" in the pool-spec but no joy The problem area in question: (def ^:dynamic *db* (conman/connect! pool-spec))

dominicm17:11:14

Do you depend on the postgres jdbc driver?

chooie20:11:22

@dominicm yep: [org.postgresql/postgresql "9.4.1211"]

chooie20:11:29

It all works fine when I don’t include (boot-test-clj/test) in my dev task

chooie23:11:54

Another question regarding boot-test-clj: How do I restrict the namespaces to be tested to those that end with '-test'?

dominicm23:11:05

There's a regex option the test task takes