dev: update agents.md, add bb e2e-test cmds

This commit is contained in:
rcmerci
2025-09-26 22:10:06 +08:00
parent 49c83fa230
commit 8c968464fb
5 changed files with 34 additions and 9 deletions

View File

@@ -12,16 +12,20 @@
- `deps/`: Internal dependencies/modules
- `clj-e2e/`: End to end test code
## Common used cljs keywords
- All commonly used ClojureScript keywords are defined using `logseq.common.defkeywords/defkeyword`.
- Search for `defkeywords` to find all the definitions.
## Testing Commands
- Run linters and unit-tests: `bb dev:lint-and-test`
- Run single focused unit-test:
- Add the `:focus` keyword to the test case: `(deftest ^:focus test-name ...)`
- `bb dev:test -i focus`
- Run e2e basic tests:
- `bb dev:e2e-basic-test`
- Run e2e rtc extra tests:
- `bb dev:e2e-rtc-extra-test`
## Common used cljs keywords
- All commonly used ClojureScript keywords are defined using `logseq.common.defkeywords/defkeyword`.
- Search for `defkeywords` to find all the definitions.
## Code Guidance
- Keep in mind: @prompts/review.md