Skip to content
Snippets Groups Projects
civi-test-run.md 667 B
Newer Older
  • Learn to ignore specific revisions
  • # civi-test-run
    
    
    totten's avatar
    totten committed
    `civi-test-run` is a script which runs one or more test suites locally. It is compatible with `civibuild`-based deployments.
    
    
    ## Installation
    
    `civi-test-run` is included within [buildkit](/tools/buildkit.md).
    
    ## Usage
    
    Run without arguments to see the exact usage:
    
    ```bash
    $ civi-test-run
    ```
    
    ## Test types
    
    The test type is one of:
    
    
    totten's avatar
    totten committed
    -  `all` - Run all standard CiviCRM test suites
    
    totten's avatar
    totten committed
    -  `karma` - Run the KarmaJS test suite
    
    totten's avatar
    totten committed
    -  `phpunit-api` - Run the `api_v3` test suite
    -  `phpunit-civi` - Run the `Civi/` test suite
    -  `phpunit-crm` - Run the `CRM` test suite
    -  `phpunit-e2e` - Run the `E2E` test suite
    
    totten's avatar
    totten committed
    -  `upgrade` - Run the upgrade test suite