Skip to content

feat: add --tests flag for multi-pattern build-time test filtering#52

Merged
bchelkowski merged 1 commit into
masterfrom
feat--add-tests-argument
Apr 1, 2026
Merged

feat: add --tests flag for multi-pattern build-time test filtering#52
bchelkowski merged 1 commit into
masterfrom
feat--add-tests-argument

Conversation

@bchelkowski
Copy link
Copy Markdown
Member

Adds a new --tests CLI flag (and TESTS env var) that accepts semicolon-separated glob patterns matched against unit names (filename without .test.brs). Only matching test files are compiled and deployed, reducing build and deploy time when working on a subset of tests.

Examples:
npm test -- --tests="Home*;Video*;Button"
TESTS="Home*" npm test

Unlike --testFileName (runtime filter on device), --tests filters at build time before test schemas are generated.

Adds a new --tests CLI flag (and TESTS env var) that accepts
semicolon-separated glob patterns matched against unit names
(filename without .test.brs). Only matching test files are compiled
and deployed, reducing build and deploy time when working on a
subset of tests.

Examples:
  npm test -- --tests="Home*;Video*;Button"
  TESTS="Home*" npm test

Unlike --testFileName (runtime filter on device), --tests filters
at build time before test schemas are generated.
@bchelkowski bchelkowski requested a review from a team as a code owner April 1, 2026 18:41
@bchelkowski bchelkowski requested review from kamil-dazn and zaqqaz and removed request for a team April 1, 2026 18:41
@bchelkowski bchelkowski merged commit e1e01cb into master Apr 1, 2026
1 check passed
@bchelkowski bchelkowski deleted the feat--add-tests-argument branch April 1, 2026 18:42
github-actions Bot pushed a commit that referenced this pull request Apr 1, 2026
# [2.6.0](v2.5.2...v2.6.0) (2026-04-01)

### Features

* add --tests flag for multi-pattern build-time test filtering ([#52](#52)) ([e1e01cb](e1e01cb))
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 1, 2026

🎉 This PR is included in version 2.6.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant