Comments (2)
Actually, just checked your project.clj
, and it looks like it's based off the older version of the template that uses lein-cprop
plugin to generate the .lein-env
config file. My recommendation would be to get rid of lein-cprop
along with the :jvm-opts ["-server" "-Dconf=.lein-env"]
at the top level, and create separate JVM opts for dev and testing profiles keeping the configs in files like dev-config.edn
and test-config.edn
.
from conman.
I think you might be missing the configuration for tests. Luminus sets up a project with separate configurations for development and testing. This is managed by the :jvm-opts
key in the profiles. If you at the test profile in project.clj
, it has the following line there: :jvm-opts ["-Dconf=test-config.edn"]
. So, you should add the database URL for the test database there, and you should be able to run the tests either using lein test
or with lein test-refresh
which will watch the project for changes and run tests as needed.
from conman.
Related Issues (20)
- Error when AOT compiling HOT 1
- Unable to catch specific sql exception HOT 13
- Dynamic table name HOT 1
- java.lang.ClassCastException: clojure.lang.PersistentArrayMap cannot be cast to java.util.concurrent.Future HOT 10
- Split one query definition file into many smaller ones HOT 2
- is it possible to use component instead of mount?
- Connect To oracle database HOT 10
- From the user namespace how do I reload queries from the REPL? HOT 3
- how to rebind-connection a sql file HOT 10
- SQL query debug HOT 2
- Options are not evaluated in bind-connection(-deref) HOT 1
- Clojure docker build fail for lein compile HOT 1
- would it support sharding-jdbc HOT 3
- Support next.jdbc HOT 14
- ClassCastException when doing a request HOT 2
- Failed parsing from JSON after upgrading from 0.8.4 to 0.8.6 HOT 2
- disconnect! does nothing to return value of connect! HOT 7
- Request for support for HugSQL tuple list queries HOT 4
- Java version incompatibility in 0.9.6 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from conman.