github.com/kubeshop/testkube@v1.17.23/docs/docs/articles/running-test-suites.md (about)

     1  # Running Test Suites
     2  
     3  To run your Tests Suites, pass the `testsuites run` command with the test name to your `kubectl testkube` plugin. Test Suites are started asynchronously by default.
     4  
     5  ```sh
     6  testkube run testsuite test-example
     7  ```
     8  
     9  ```sh title="Expected output:"
    10  Name: test-example.fairly-humble-tick
    11  Status: running
    12  
    13    STATUSES | STEP | IDS | ERRORS
    14  +----------+------+-----+-------+
    15  
    16  
    17  
    18  Use the following command to get test suite  execution details:
    19  $ kubectl testkube get tse 61e1136165e59a3183465125
    20  
    21  
    22  Use the following command to get test suite execution details:
    23  $ kubectl testkube watch tse 61e1136165e59a3183465125
    24  ```
    25  
    26  After the test is started, you can check the current status of the test with `tests execution EXECUTION_ID`.
    27  
    28  ## Running Testsuites Synchronously
    29  
    30  You can start a testsuite synchronously by passing the `-f` flag (like --follow) to your command:
    31  
    32  ```sh
    33  testkube run testsuite test-example -f
    34  ```
    35  
    36  ```sh title="Expected output:"
    37  
    38  Name          : testsuite-parallel
    39  Execution ID  : 63d3cd05c6768fc8b574e2e8
    40  Execution name: ts-testsuite-parallel-19
    41  Status        : running
    42  Duration: 38.530756ms
    43  
    44    STATUSES                  | STEP                           | IDS                            | ERRORS      
    45  ----------------------------+--------------------------------+--------------------------------+-------------
    46    running, running, running | run:testkube/cli-test,         | 63d3cd05c6768fc8b574e2e9,      | "", "", ""  
    47                              | run:testkube/demo-test, delay  | 63d3cd05c6768fc8b574e2ea, ""   |             
    48                              | 1000ms                         |                                |             
    49    queued                    | delay 5000ms                   | ""                             | ""   
    50  
    51  ...
    52  
    53  Id:       63d3cd05c6768fc8b574e2e8
    54  Name:     ts-testsuite-parallel-19
    55  Status:   running
    56  Duration: 22.138s
    57  
    58  Labels:   
    59    STATUSES               | STEP                           | IDS                            | ERRORS      
    60  -------------------------+--------------------------------+--------------------------------+-------------
    61    passed, passed, passed | run:testkube/cli-test,         | 63d3cd05c6768fc8b574e2e9,      | "", "", ""  
    62                           | run:testkube/demo-test, delay  | 63d3cd05c6768fc8b574e2ea, ""   |             
    63                           | 1000ms                         |                                |             
    64    running                 | delay 5000ms                   | ""                             | ""  
    65  
    66  ...
    67  
    68  
    69  Id:       63d3cd05c6768fc8b574e2e8
    70  Name:     ts-testsuite-parallel-19
    71  Status:   passed
    72  Duration: 22.138s
    73  
    74  Labels:   
    75    STATUSES               | STEP                           | IDS                            | ERRORS      
    76  -------------------------+--------------------------------+--------------------------------+-------------
    77    passed, passed, passed | run:testkube/cli-test,         | 63d3cd05c6768fc8b574e2e9,      | "", "", ""  
    78                           | run:testkube/demo-test, delay  | 63d3cd05c6768fc8b574e2ea, ""   |             
    79                           | 1000ms                         |                                |             
    80    passed                 | delay 5000ms                   | ""                             | ""  
    81  
    82  
    83  Use the following command to get test suite execution details:
    84  $ kubectl testkube get tse 61e1142465e59a318346512b
    85  ``ì