Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for MySuite (0.38 sec)

  1. tests/integration/README.md

    [tests/integration](https://github.com/istio/istio/tree/master/tests/integration).
    
    ```console
    $ cd ${ISTIO}/tests/integration
    $ mkdir mysuite
    ```
    
    Within that package, create a `TestMain` to bootstrap the test suite:
    
    ```go
    func TestMain(m *testing.M) {
        framework.
            NewSuite("mysuite", m).
            Run()
    }
    ```
    
    Next, define your tests in the same package:
    
    ```go
    func TestMyLogic(t *testing.T) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 09 19:04:51 UTC 2024
    - 20.9K bytes
    - Viewed (0)
Back to top