Used to check for browser translation.
用于检测浏览器翻译。
ブラウザの翻訳を検出する

Testing


Use AIGNE CLI to run agent tests.

aigne test Command#

Run tests in the specified agent directory.

aigne test [options]

Options#

  • --path <path>: Path to the agent directory (defaults to current directory .)
  • --help: Show command help

Examples#

Run tests in current directory#

aigne test

Run tests in specific directory#

aigne test --path ./my-agents

Test File Structure#

The AIGNE testing system automatically finds and runs test files in your project. Make sure your test files follow the correct naming conventions and structure.

Best Practices#

  1. Organize test files: Place test files in appropriate directory structures
  2. Write clear test cases: Ensure each test case has a clear purpose and expected outcome
  3. Use descriptive test names: Make test names clearly express what the test covers
  4. Run tests regularly: Run tests regularly during development to ensure code quality