Coder Social home page Coder Social logo

Comments (2)

yogthos avatar yogthos commented on June 17, 2024 1

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.

yogthos avatar yogthos commented on June 17, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.