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
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
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