Midje is a testing library for Clojure designed for readable, expressive test writing. It offers both top-down (mock-based) and bottom-up testing styles, helps ease migration from clojure.test, and promotes graceful syntax for developer-friendly test expression. Midje has loaded the tests and run them for the first time. It's also watching for file changes. When it sees them, it loads the changed files and any dependencies. But notice that you still have a repl prompt. That means you can move rapidly and smoothly among typing at the repl to try out code samples or look up documentation, having your editor send code snippets to the repl to evaluate, and saving source or test files to immediately see what passes or fails.

Features

  • Friendly syntax resembling examples from Clojure literature (“facts” and “=>” assertions)
  • Supports top-down (mockish) testing as well as standard test flows
  • Encourages readability and abstraction in tests
  • Provides helpful debugging and expressive failure messages
  • Easy migration path from Clojure’s built-in clojure.test
  • Integrates with development tools like CIDER through Emidje plugin for test running and reporting

Project Samples

Project Activity

See All Activity >

Categories

Frameworks

License

MIT License

Follow Midje

Midje Web Site

Other Useful Business Software
Demo Series - Small Business Backup By Veeam Icon
Demo Series - Small Business Backup By Veeam

Learn how to protect your Microsoft 365 data, with simple, actionable tips today.

Watch this on-demand demo series and learn how to protect your Microsoft 365 data with clear, simple, actionable steps that are easy to implement for businesses of all sizes.
Watch Demo Series
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Midje!

Additional Project Details

Registered

2025-08-19