This directory contains automated test suites for DevTools AI Assistance.
[!WARNING] Google Linux (
gLinux) Environment Required This automated test suite runs only on Google Linux (gLinux) workstations and bots. It requiresstubbyand Linux-specific internal Google tools, which means it does not work for external contributors.Note for macOS Users: You can still run AI Assistance evaluations on macOS. Use the manual evaluation workflow in
../../scripts/ai_assistance/README.md.
Before you run this automated test suite, the prerequisites are:
gLinux).gcloud:gcloud auth login
Compile the test files before you run the test suite:
autoninja -C out/Default test/ai_evals:ai_evals
AI Evals tests:
npm run test -- test/ai_evals/ --ota-username your_ota_account@gmail.com
Harness tests:
python3 scripts/test_harness.py DevToolsTestHarness.test_ai_evals_auth_helper
Protip: You can add --debug to the harness test command line, to see the output.
When you run the test, the test runner performs these steps:
stubby to get a temporary password for the OTA account.