GithubHelp home page GithubHelp logo

agilecreativity / try-virgil Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 1.0 220 KB

Example Java/Clojure/auto-reloaded project using Virgil

Home Page: https://github.com/agilecreativity/try-virgil

License: MIT License

Clojure 80.91% Java 19.09%
clojure reload clojure-repl java-interop

try-virgil's Introduction

try-virgil

Java/Clojure interop project automatically reloaded with virgil and lein-auto.

Basic Usage

Pull the code and run locally

git clone [email protected]:agilecreativity/try-virgil.git

cd try-virgil

# Get the dependencies
lein deps :tree

# Start the test session using =auto test=
lein auto test

Change the Java/Clojure codes and notice the lein auto test console log.

  • Try change some code in the Java e.g. JavaLib.java
  • Try change some Clojure code in core.clj
  • Try change the test code that use both Java and Clojure in core_test.clj

The console of lein auto test should be automatically triggered based on changes.

Sample Session

./repl-session-example.png

Useful Links

https://github.com/clojure-cookbook/clojure-cookbook/blob/master/10_testing/10-01_unit-testing.asciidoc

https://github.com/clojure-cookbook/clojure-cookbook/blob/master/10_testing/10-01_unit-testing.asciidoc

http://clojure.github.io/clojure/clojure.test-api.html

https://clojuredocs.org/clojure.test/use-fixtures

https://clojuredocs.org/clojure.test

http://blog.jayfields.com/2010/08/clojuretest-introduction.html

TODOs

Add junit test for Java code

try-virgil's People

Contributors

agilecreativity avatar burinc avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

jonasseglare

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.