Giter Site home page Giter Site logo

quickie's Introduction

quickie

A Leiningen plugin to that will magically re-run all your tests when a file changes.

Screenshot

Features

  • Uses the builtin clojure.test test runner so you don't need to rewrite your tests
  • Tools.namespace will unload and reload namespaces as needed to keep process in sync
  • Runs every time a clojure file in your project changes
  • Uses (Clansi)[https://github.com/ams-clj/clansi] to show a red or green bar to know if you tests are passing
  • Filters out exception stacktraces to remove cruft
  • Pass in a test matcher to change which tests are run from the command line.

Usage

Use this for project-level plugins:

Put [quickie "0.2.5"] into the :plugins vector of your project.clj.

$ lein quickie

By default all namespaces in your classpath with that contain your project name and end with the work test will be tested for each run. To change this, add a line like this to your project.clj :test-matcher #"my regular expression". Alternatively, you can call to quickie via the command line with the regex you wish to use (lein quickie foo).

Hit ctrl+c whenever you are done. Have fun!

License

Copyright © 2012 Jake Pearson

Distributed under the Eclipse Public License, the same as Clojure.

Contributors

  • Adam Esterline
  • Jeff Smith
  • Russ Teabeault
  • Chris Perkins
  • Jake Pearson

quickie's People

Contributors

hotwoofy avatar

Watchers

James Cloos avatar  avatar

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.