github.com/juju/juju@v0.0.0-20240430160146-1752b71fcf00/tests/suites/examples/README.md (about)

     1  # Example Test Suite
     2  
     3  The following is a very quick overview of what each file does and why.
     4  
     5  ```console
     6   - task.sh           -> suite registration, bootstraps
     7   - example.sh        -> test runner and tests
     8   - other.sh          -> test runner and other tests
     9  ```
    10  
    11  ## task.sh
    12  
    13  `task.sh` file is the entry point to the suite. You can bootstrap a juju
    14  controller for use inside the suite. Each controller is namespaced, so running
    15  multiple controllers should be fine.
    16  
    17  Registration of tests are also done in this file.
    18  
    19  ## example.sh
    20  
    21  `example.sh` describes a test in the test suite. Generally the grouping of tests
    22  inside of a file should be of the same ilk.
    23  
    24  ## other.sh
    25  
    26  `other.sh` describes another set of tests for the test suite.