reagent/docs/development.md
Juho Teperi c68f5a88f4 Optimize node modules, remove old stuff
- Removed webpack build for now, not up-to-date, can be added later if
needed
- Share node modules using symlinks for envs that use the same packages
2017-10-13 16:42:25 +03:00

32 lines
637 B
Markdown

# Reagent development
## Running tests
To prepare different environments for tests run:
```bash
./prepare-test.sh
```
After this, you can run the full test set:
```bash
./run-tests.sh
```
Running all the tests can take a while, so while developing Reagent,
you might want to focus on one test environment, and use Figwheel to
run tests on your browser:
```
cd test-environments/browser-umd-react-16
# If build requires e.g. Lein profiles or such,
# the folder contains figwheel.sh script:
./figwheel.sh
# Else, just run figwheel normally:
lein figwheel
# Open http://0.0.0.0:3449 on a browser
# Check console for test output
```