Your First Upload¶
Upload test results to Drape and see them in your dashboard.
Prerequisites¶
- The
drapeCLI installed - Your
DRAPE_API_KEYset as an environment variable - A JUnit XML test results file (most test frameworks can generate these)
Generate Test Results¶
If you don't have a JUnit XML file yet, most test frameworks can produce one:
Upload Test Results¶
The --wait flag tells the CLI to wait for server-side processing and print a summary:
Upload complete!
Tests ingested: 142
Failures: 3
Suppressed: 1
Result: FAIL (2 unsuppressed failures)
Upload Coverage¶
If your test framework also generates a coverage report:
Next Steps¶
- Set up the GitHub Action to automate uploads on every push and PR.
- Explore CLI commands for the full reference.