File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -160,37 +160,9 @@ bun run lint:php:fix # Auto-fix PHP lint issues
160160- ** slic** installed and on PATH — clone [ stellarwp/slic] ( https://github.com/stellarwp/slic ) (located at ` ~/stellar/slic/ ` )
161161- ** Docker** running (slic uses Docker containers for the WordPress + database environment)
162162
163- ### First-Time Setup
163+ ### Setup & Running Tests
164164
165- Run once from the WordPress plugins directory:
166-
167- ``` bash
168- cd ~ /workspace/srv/wp-content/plugins
169- ~ /stellar/slic/slic here
170- ~ /stellar/slic/slic use integration-workos
171- ~ /stellar/slic/slic composer install
172- ```
173-
174- - ` slic here ` registers the current directory as the plugins root
175- - ` slic use integration-workos ` selects the plugin as the active target
176- - ` slic composer install ` installs PHP dependencies inside the container
177-
178- ### Running Tests
179-
180- ``` bash
181- ~ /stellar/slic/slic use integration-workos
182- ~ /stellar/slic/slic run wpunit
183- ```
184-
185- ### Running Specific Tests
186-
187- ``` bash
188- # Run a single test file:
189- ~ /stellar/slic/slic run tests/wpunit/PluginTest.php
190-
191- # Run a single test method:
192- ~ /stellar/slic/slic run tests/wpunit/PluginTest.php:test_version_constant_is_defined
193- ```
165+ Use the global ` /slic ` skill for first-time setup, running tests, and all slic CLI commands.
194166
195167### Test Structure
196168
You can’t perform that action at this time.
0 commit comments