Skip to content

Releases: ozontech/testo

v1.3.1

29 May 16:49
Immutable release. Only release title and notes can be modified.

Choose a tag to compare

Install

go get github.com/ozontech/testo@v1.3.1

What's Changed

New Contributors

Full Changelog: v1.3.0...v1.3.1

v1.3.0

24 May 10:39
Immutable release. Only release title and notes can be modified.
26edd80

Choose a tag to compare

Install

go get github.com/ozontech/testo@v1.3.0

What's Changed

package main

import (
	"testing"

	"github.com/ozontech/testo"
)

type T = *testo.T

func TestSimple(t *testing.T) {
	testo.RunTest(t, func(t T) {
		t.Log("Hello from testo!")
	})
}

func TestMultiple(t *testing.T) {
	t.Run("First test", testo.Test(func(t T) {
		t.Log("Hello from the first test!")
	}))

	t.Run("Second test", testo.Test(func(t T) {
		t.Log("Hello from the second test!")
	}))
}
// new
var _ = testo.Options(
    myplugin.WithFoo(),
    myplugin.WithBar(),
)

// old (both are supported)
func init() {
    testo.Option(
        myplugin.WithFoo(),
        myplugin.WithBar(),
    )
}

Full Changelog: v1.2.0...v1.3.0

v1.2.0

21 May 07:12
Immutable release. Only release title and notes can be modified.

Choose a tag to compare

Install

go get github.com/ozontech/testo@v1.2.0

What's Changed

type OuterSuite struct{ testo.Suite[T] }

func (OuterSuite) Test(t T) {
	testo.RunSubSuite(t, new(InnerSuite))
}

type InnerSuite struct{ testo.Suite[T] }

func (InnerSuite) Test(t T) {
	t.Log("Hello from sub-suite!")
}

New Contributors

Full Changelog: v1.1.0...v1.2.0

v1.1.0

19 May 21:24
Immutable release. Only release title and notes can be modified.

Choose a tag to compare

Install

go get github.com/ozontech/testo@v1.1.0

What's Changed

New Contributors

Full Changelog: v1.0.1...v1.1.0

v1.0.1

15 May 11:12
Immutable release. Only release title and notes can be modified.

Choose a tag to compare

Install

go get github.com/ozontech/testo@v1.0.1

What's Changed

Full Changelog: v1.0.0...v1.0.1

v1.0.0

13 May 14:06
Immutable release. Only release title and notes can be modified.

Choose a tag to compare

Install

go get github.com/ozontech/testo@v1.0.0

Full Changelog: https://github.com/ozontech/testo/commits/v1.0.0