File tree Expand file tree Collapse file tree 2 files changed +24
-0
lines changed Expand file tree Collapse file tree 2 files changed +24
-0
lines changed Original file line number Diff line number Diff line change 35
35
^renovate\.json$
36
36
^tests/testthat/helper-sync\.R$
37
37
^index\.md$
38
+ ^CLAUDE\.md$
Original file line number Diff line number Diff line change
1
+ # Claude Development Notes for dm Package
2
+
3
+ This file contains important notes and best practices for working with the dm package codebase.
4
+
5
+ ## Testing Guidelines
6
+
7
+ ### Use test_local() with filter argument for specific test files
8
+
9
+ Always use the ` filter ` argument when running specific test files to avoid running all tests:
10
+
11
+ ``` r
12
+ # Run specific test files
13
+ testthat :: test_local(filter = " flatten" ) # Runs test-flatten.R
14
+
15
+ # Run all tests (only when necessary)
16
+ testthat :: test_local()
17
+ ```
18
+
19
+ ** Important** : The ` filter ` argument filters by test file names, not individual test names within files.
20
+
21
+ ---
22
+
23
+ * This file should be updated as new patterns are discovered.*
You can’t perform that action at this time.
0 commit comments