<commit_before># transit-clj

A Clojure library designed to ... well, that part is up to you.

## Usage

FIXME

## License

Copyright © 2014 FIXME

Distributed under the Eclipse Public License either version 1.0 or (at
your option) any later version.<commit_msg>Add test instructions to the README<commit_after># transit-clj

A Clojure library designed to ... well, that part is up to you.

## Usage

FIXME

## Testing

This project contains code which may be used to test all
implementations of transit. It will attempt to test each
implementation of transit that you have on your machine.

The only requirement for an implementation to be testable is that it
have a script named `roundtrip` in its `bin` directory. This script
must start a process which accepts transit data on standard in and
then returns transit data on standard out. The process should
roundtrip the incoming data and write it to standard out.

The script must take one argument which can be either `json` or
`msgpack` which will be used to setup the correct encoding.

To run a test, execute the following command in the transit-clj
directory.

```clj
lein run -m transit.verify
```

This can currently be used to test both the Clojure and Java
implementations of transit.

transit-clj just works.

To test transit-java, clone the repository and then build the project by
running

```
mvn package
```

Tests are currently limited to json and a few EDN examples.


### Improvements

Add bin/roundtrip scripts for the other implementations
Get it working with msgpack
Automate the process of cloning (and building if required) implementations
Add generative tests

## License

Copyright © 2014 FIXME

Distributed under the Eclipse Public License either version 1.0 or (at
your option) any later version.
{'fraction_non_alphanumeric': 0.0467869222096956, 'fraction_numerical': 0.006764374295377677, 'mean_word_length': 4.23598820058997, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '5536816', 'n_tokens_mistral': 483, 'n_tokens_neox': 454, 'n_words': 272}