Skip to content

Commit b4e70cd

Browse files
PeterDaveHelloljharb
authored andcommitted
1 parent e11221d commit b4e70cd

1 file changed

Lines changed: 23 additions & 3 deletions

File tree

AGENTS.md

Lines changed: 23 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -186,17 +186,24 @@ npm install # Installs urchin, semver, and replace tools
186186

187187
#### Run All Tests
188188
```bash
189-
npm test # Runs tests in current shell (sh, bash, dash, zsh, ksh)
190-
make test # Runs tests in all supported shells (sh, bash, dash, zsh, ksh)
189+
npm test # Runs tests in the current shell only (sh, bash, dash, zsh)
190+
make test # Runs tests in default shells (sh, bash, dash, zsh)
191191
make test-sh # Runs tests only in sh
192192
make test-bash # Runs tests only in bash
193193
make test-dash # Runs tests only in dash
194194
make test-zsh # Runs tests only in zsh
195-
make test-ksh # Runs tests only in ksh
195+
make SHELLS=ksh test # Runs tests only in ksh (experimental, see issue #574)
196196
```
197197

198198
#### Run Specific Test Suites
199199
```bash
200+
npm run test/fast # Runs fast tests in the current shell
201+
npm run test/slow # Runs slow tests in the current shell
202+
npm run test/sourcing # Runs sourcing tests in the current shell
203+
npm run test/install_script # Runs install script tests in the current shell
204+
npm run test/installation # Runs installation tests (node + iojs) in the current shell
205+
npm run test/installation/node # Runs Node installation tests in the current shell
206+
npm run test/installation/iojs # Runs io.js installation tests in the current shell
200207
make TEST_SUITE=fast test # Only fast tests
201208
make TEST_SUITE=slow test # Only slow tests
202209
make SHELLS=bash test # Only bash shell
@@ -209,6 +216,19 @@ make SHELLS=bash test # Only bash shell
209216
./node_modules/.bin/urchin 'test/fast/Unit tests/nvm_get_arch' # Run single test safely without shell termination
210217
./node_modules/.bin/urchin test/slow/ # Run slow test suite
211218
./node_modules/.bin/urchin test/sourcing/ # Run sourcing test suite
219+
./node_modules/.bin/urchin test/install_script/ # Run install script test suite
220+
./node_modules/.bin/urchin test/installation_node/ # Run Node installation test suite
221+
./node_modules/.bin/urchin test/installation_iojs/ # Run io.js installation test suite
222+
```
223+
224+
#### Linting and Docs Checks
225+
```bash
226+
npm run eclint # Checks EditorConfig compliance
227+
npm run doctoc:check # Verifies README table of contents
228+
npm run dockerfile_lint # Lints the Dockerfile
229+
npm run test:check-exec # Checks test files have executable permission
230+
npm run test:check-nonexec # Checks non-test files don't have executable permission
231+
npm run markdown-link-check # Validates markdown links (requires markdown-link-check)
212232
```
213233

214234
### Test Writing Guidelines

0 commit comments

Comments
 (0)