Repository navigation
What's new in 3.2.0
Added
.bellatrix/config.json: the project settings for your repository (the test project per domain: path, name, root
namespace or base package, build command; and the test-case folder), with a JSON schema
(schemas/bellatrix-config.v1.schema.json,"version": 1). Commit it. Its$schemapoints at the schema in the
release tag (…/BELLATRIX-Agent/v<version>/schemas/…), so it never changes under you.bellatrix initfinds the BELLATRIX test project per domain (C#*.csproj, Javapom.xml/build.gradle,
TypeScriptpackage.jsonthat reference BELLATRIX; the framework's own projects are skipped), proposes it and, in
a terminal, asks you to confirm. New flags--project <path>/--project desktop=<path>,web=<path>and
--test-cases-dir <dir>(default: SPECTRA'stests.dir, elsetest-cases). Without a terminal, several
candidates are a usage error (exit 2) and nothing is written.bellatrix config showandbellatrix config validate.- The init JSON has a
configfield (path, status, values, commit, warnings). docs/contributing/RELEASE-CHECKLIST.md; the release workflow checks that the tag serves the config schema before
it publishes anything.- Published on NuGet.org:
dotnet tool install -g Bellatrix.Cli. The release workflow pushes the package with
NuGet Trusted Publishing (no long-lived API key) and still attaches the.nupkgand its.sha256to the GitHub
release.
Fixed
-
The skills no longer hard-code a sample project (
Demo.DesktopTests,MyProject.WebTests,demo-desktop-tests,
my-web-tests, …) or its build command. They use{project.*}placeholders from.bellatrix/config.jsonand ask
you when it has no project. -
One test-case convention in every skill:
{testCasesDir}/{suite}/TC-{id}.md. Previously some skills read
tests/{suite}/…and otherstest-cases/{suite}/…. The folder is recorded in.bellatrix/config.json
(default: SPECTRA'stests.dir, elsetest-cases). -
Skill wording that predates the CLI: the desktop skills no longer say a "driver server" or the CLI manages the
driver (the user runs it; the CLI reportsdriver_unreachable),reattach-sessionis described correctly (a new
driver session id under the same--sessionname), and garbled sentences in the desktop SPECTRA skill are fixed. -
The C# desktop batch flow no longer says "build → run → fix-if-failing"; like the rest of the skills it is build
only and the user runs the tests. -
The desktop generator agent's frontmatter no longer lists made-up tool ids (and no test-running tools).
-
TypeScript skills call the BELLATRIX-JavaScript test runner as
npx bellatrix ./tests …, so it is not confused
with the .NETbellatrixCLI.
Changed
--no-interactionnow has an effect:initis the one command that may prompt, and only in a terminal. Ending input at
the prompt (Ctrl+C, Ctrl+Z, a closed terminal) cancelsinitwith nothing written.initcontract rule R9: re-runninginit/update-skillsnever overwrites.bellatrix/config.jsonwithout
--regenerate; missing values are merged in, an invalid file is left untouched.
Install
dotnet tool install -g Bellatrix.Cli --version 3.2.0 # or: dotnet tool update -g Bellatrix.CliFrom the attached Bellatrix.Cli.3.2.0.nupkg instead (offline or pinned): docs/INSTALL-PREVIEW.md.
SHA-256 of Bellatrix.Cli.3.2.0.nupkg: 39d466879c9aa5b38fcf7c1b642c26c1e4c704596f7c46af8e9942580e51c9b5
Full Changelog: https://github.com/AutomateThePlanet/BELLATRIX-Agent/commits/v3.2.0