Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestMyLogic (0.1 sec)

  1. tests/integration/README.md

    ```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) {
        framework.
            NewTest(t).
            Run(func(ctx framework.TestContext) {
                // Create a component
                p := pilot.NewOrFail(ctx, ctx, cfg)
    
                // Use the component.
    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