GitHub Copilot
The Arcus plugin for the GitHub Copilot CLI captures your coding sessions and sends them to QI Home, where Arcus generates test cases from them.
Prerequisites
- The GitHub Copilot CLI.
- An active Arcus project.
Install the plugin
Section titled “Install the plugin”The plugin captures your prompts, the tools Copilot runs, and the files it changes. In your terminal, run:
copilot plugin marketplace add testsigmahq/arcus-copilot-plugincopilot plugin install arcus@testsigmaThen start a new GitHub Copilot CLI session so the plugin loads.
Sign in and pick a project
Section titled “Sign in and pick a project”-
In the GitHub Copilot CLI, run
/arcus:loginand complete the sign-in in the browser. You sign in once per machine. -
Run
/arcus:project listto see your projects, then/arcus:project use <project_id>to pin the one your sessions go to.
Capture starts after you sign in.
Link your work to a ticket
Section titled “Link your work to a ticket”Run /arcus:map ticket <KEY> with the ticket for the work you’re doing:
/arcus:map ticket PROJ-123The ticket can come from Jira, Azure DevOps, Linear, ClickUp, or GitHub. Your session then arrives in QI Home already mapped to the sprint holding that ticket, so nobody maps it manually.
Write and push test cases
Section titled “Write and push test cases”-
Run
/arcus:test, optionally followed by the feature you want covered. Copilot writes end-to-end test cases for the current repository, validates them, and offers to run them. -
Run
/arcus:pushto send the test cases from this session to Arcus. Pick a sprint and module, or leave them unlinked.
For every command, see Plugins.
Where your work lands
Section titled “Where your work lands”- Sessions arrive on the Unlinked Contexts tab of Context Management, unless you linked a ticket. Mapping a session to a sprint or an Adhoc session triggers test generation from it.
- Pushed test cases arrive on the Unlinked Test Cases tab, unless you picked a sprint when you pushed.
The mapping and linking steps are in Context Management.
Pull requests for the same work
Section titled “Pull requests for the same work”With the Arcus GitHub App installed, a pull request for work you captured here joins your session automatically:
- Session not mapped yet: the session and the pull request become a single entry in Unlinked Contexts.
- Session already mapped: the pull request is mapped to the same sprint or Adhoc session, and there’s nothing more to do.
Was this page helpful?
Thanks for the feedback.