https://github.com/zalky/reflet-test
Test fixtures for Reflet
https://github.com/zalky/reflet-test
Last synced: about 1 year ago
JSON representation
Test fixtures for Reflet
- Host: GitHub
- URL: https://github.com/zalky/reflet-test
- Owner: zalky
- License: apache-2.0
- Created: 2022-12-30T19:22:14.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-02-09T20:53:27.000Z (over 3 years ago)
- Last Synced: 2025-01-16T21:52:22.478Z (over 1 year ago)
- Language: Clojure
- Size: 9.77 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

# Reflet Test
[](https://clojars.org/io.zalky/reflet-test)
[**Reflet**](https://github.com/zalky/reflet) is a set of tools for
building [Re-frame](https://github.com/day8/re-frame) + React based
web apps with graph and non-graph data models.
This library provides a set of test fixtures for writing unit tests
with Reflet subscriptions and events.
## Usage
To get started, simply put the following into one of your `deps.edn`
test aliases:
```clj
{:aliases {:tests {:extra-deps {io.zalky/reflet-test {:mvn/version "0.1.0"}}}}}
```
Also, `io.zalky/reflet` is considered a peer dependency, which means
you need to explicitly provide it in whatever project uses
`io.zalky/reflet-test`.
See the Reflet [Testing](https://github.com/zalky/reflet/wiki/Testing)
document for further usage and examples.
There are also lots of usage examples in the set of Reflet tests
namespaces. Take for instance
[`reflet.fsm-test`](https://github.com/zalky/reflet/blob/main/test/clojure/reflet/fsm_test.cljs).
## License
reflet-test is distributed under the terms of the Apache License 2.0.