After adding new rules, variables or products, test Verdex detection against several Docker containers running different versions:
go run . -test -product keycloak
To test a specific version, use:
go run . -test -product keycloak -test-version 26.0.4 -verbose
To test a specific range, use semver syntax:
go run . -test -product keycloak -test-version 26.x -verbose
To start a test session (live detection) on specific version, use:
go run . -test -product keycloak -test-version 26.0.4 -test-session -verbose
# eg: keycloak 23.0.2 ⠙ at http://localhost:58943 | [d]etect or [s]top
# --> press "d" (to run detection) or "s" (to stop session), then return