<commit_before># fudje
![fudge](http://halalsweeties.com/images/images_big/Vanilla-Fudge.png)

## What
A tiny (~20kb jar) Clojure library designed to offer a helping hand when testing. For those familiar with [midje](https://github.com/marick/Midje), 
you can think of think of this as 'midje-lite'. It provides the majority of features provided my midje, at a fraction of the cost 
(code-bloat, number of transitive dependencies, AOT issues etc).
In addition, fudje offers a convenient migration path away from midje, by introducing its own `fact` & `tabular` macros which
rewrite your existing midje facts into midje-free code (more on this in the intro.md). This allows for smooth & gradual migration, 
as you are, not only able to start writing new tests, but also automatically-(ish) migrating old ones. 

## For whom

This library can (potentially) be of interest to you if:

* You are looking for simple unit-testing library which supports mocking and allows you to write concise tests in a familiar syntax.
* You generally like the features offered by midje (mocking, nesting-checkers etc), but you are not overly thrilled about the syntax/complexity it introduces, and therefore wouldn't mind something less *magical*.
* You are looking for something like midje which can be AOT compiled. 
* You have a large codebase full of midje tests, and for whatever reason, you'd like to migrate away from it (without a full manual rewrite).

This library will NOT be of any interest to you if:

* You are perfectly content with vanilla clojure.test, or some other testing library.
* You never liked/appreciated midje, and even the **slightest** resemblance will put you off.


## Where
[![Clojars Project](https://img.shields.io/clojars/v/fudje.svg)](https://clojars.org/fudje) 

## How

* For migrating an existing test ns away from midje, you want to replace `midje.sweet` => `fudje.sweet` in the ns declaration.<commit_msg>fix latest-version badge in README<commit_after># fudje
![fudge](http://halalsweeties.com/images/images_big/Vanilla-Fudge.png)

## What
A tiny (~20kb jar) Clojure library designed to offer a helping hand when testing. For those familiar with [midje](https://github.com/marick/Midje), 
you can think of think of this as 'midje-lite'. It provides the majority of features provided my midje, at a fraction of the cost 
(code-bloat, number of transitive dependencies, AOT issues etc).
In addition, fudje offers a convenient migration path away from midje, by introducing its own `fact` & `tabular` macros which
rewrite your existing midje facts into midje-free code (more on this in the intro.md). This allows for smooth & gradual migration, 
as you are, not only able to start writing new tests, but also automatically-(ish) migrating old ones. 

## For whom

This library can (potentially) be of interest to you if:

* You are looking for simple unit-testing library which supports mocking and allows you to write concise tests in a familiar syntax.
* You generally like the features offered by midje (mocking, nesting-checkers etc), but you are not overly thrilled about the syntax/complexity it introduces, and therefore wouldn't mind something less *magical*.
* You are looking for something like midje which can be AOT compiled. 
* You have a large codebase full of midje tests, and for whatever reason, you'd like to migrate away from it (without a full manual rewrite).

This library will NOT be of any interest to you if:

* You are perfectly content with vanilla clojure.test, or some other testing library.
* You never liked/appreciated midje, and even the **slightest** resemblance will put you off.


## Where
[![Clojars Project](https://clojars.org/fudje/latest-version.svg)](https://clojars.org/fudje) 

## How

* For migrating an existing test ns away from midje, you want to replace `midje.sweet` => `fudje.sweet` in the ns declaration.
{'fraction_non_alphanumeric': 0.07535483870967742, 'fraction_numerical': 0.001032258064516129, 'mean_word_length': 4.545064377682404, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2027737', 'n_tokens_mistral': 1102, 'n_tokens_neox': 1043, 'n_words': 541}