testchronicle
v0.1.14
Published
CLI agent for syncing test data to Test Chronicle
Maintainers
Readme
testchronicle
Keep your test suite visible. Sync test specs and history to your dashboard automatically.
Local NPM Usage
Link a local repository to your Test Chronicle account:
npx testchronicle@latest loginThe login command opens a browser, lets you select or create a project, writes a non-secret
testchronicle.config.json file in the repository, and stores the project-scoped agent token
in your user config directory.
Run a sync locally:
npx testchronicle@latest syncCheck or remove the local link:
npx testchronicle@latest status
npx testchronicle@latest logoutGitHub Action
Use the GitHub Action to sync tests on merges to main:
name: Sync Tests to Chronicle
on:
push:
branches: [main]
jobs:
sync:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
with:
fetch-depth: 0
- uses: TestChronicle/test-chronicle-agent@v0
with:
API_KEY: ${{ secrets.API_KEY }}
PROJECT_ID: ${{ secrets.PROJECT_ID }}CI Environment Variables
For CI or scripts, set:
API_KEY: personal or team API keyPROJECT_ID: Test Chronicle project ID
Environment variables take precedence over local login credentials.
Supported Frameworks
See Framework Support.
What Gets Synced
- Test specifications, names, paths, and structure
- Test file changes from git history
- Author information and timestamps
License
MIT. See LICENSE.
