Skip to content

Commit

Permalink
docs: component test doc
Browse files Browse the repository at this point in the history
  • Loading branch information
yqrashawn committed Feb 20, 2023
1 parent 7f3d9c2 commit 79346ef
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions doc/testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ Also test watcher can be launched. It will re-run the entire test suite when any

Developers can also manually change the shadow-cljs option `:ns-regex` to control which namespaces the test runner should pick.



## Testing with REPL

The most convenient way to develop and run test locally is using REPL:
Expand Down Expand Up @@ -52,3 +50,19 @@ In the video below, you can see two buffers side-by-side. On the left the source
Here I'm showing a terminal-only experience using Tmux (left pane Emacs, right pane the output coming from running the make target).

[2022-12-19 13-17.webm](https://user-images.githubusercontent.com/46027/208471199-1909c446-c82d-42a0-9350-0c15ca562713.webm)

## Component tests

To run tests:

```
make component-test
```

Also test watcher can be launched. It will re-run the entire test suite when any file is modified

```
make component-test-watch
```

Check [component tests doc](./component-tests-overview.md) for more.

0 comments on commit 79346ef

Please sign in to comment.