Move test command to project-local commands #105

Closed
opened 2026-01-05 21:27:21 +00:00 by mprihoda · 1 comment
mprihoda commented 2026-01-05 21:27:21 +00:00 (Migrated from github.com)

The 'iw test' command is specific to iw-cli's own development - it assumes Scala tests in .iw/core/test/ and BATS E2E tests in .iw/test/, using scala-cli and bats runners.

This command should not be part of the distributed iw-cli that other projects use. Move it to project-local commands that only exist in the iw-cli repository itself, not in the commands that get distributed to other projects.

Other projects have their own test frameworks, runners, and directory structures - they don't need this iw-cli-specific test command.

The 'iw test' command is specific to iw-cli's own development - it assumes Scala tests in .iw/core/test/ and BATS E2E tests in .iw/test/, using scala-cli and bats runners. This command should not be part of the distributed iw-cli that other projects use. Move it to project-local commands that only exist in the iw-cli repository itself, not in the commands that get distributed to other projects. Other projects have their own test frameworks, runners, and directory structures - they don't need this iw-cli-specific test command.
Member

Intake: fixed by 323cc7abd4

Commit 323cc7ab ("IW-106: Restructure source code location - separate from .iw directory (#330)") moved every distributed command from .iw/commands/ to commands/ and kept test.scala in .iw/commands/. On main, commands/ holds no test.scala, and .iw/commands/ holds only test.scala. scripts/package-release.sh copies only commands/ into the release package, so other projects do not get the test command. It runs in this repository as ./iw ./test.

Intake: fixed by 323cc7abd41db027ef0f4820aaa99c58f2a5476d Commit 323cc7ab ("IW-106: Restructure source code location - separate from .iw directory (#330)") moved every distributed command from `.iw/commands/` to `commands/` and kept `test.scala` in `.iw/commands/`. On `main`, `commands/` holds no `test.scala`, and `.iw/commands/` holds only `test.scala`. `scripts/package-release.sh` copies only `commands/` into the release package, so other projects do not get the test command. It runs in this repository as `./iw ./test`.
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
iterative-works/iw-cli#105
No description provided.