Skip to content

Releases: rekby/fixenv

Add fixenv.New instead of fixenv.NewEnv func

10 May 16:34
9e868cd

Choose a tag to compare

Merge pull request #29 from rekby/dev

add fixenv.New

Print name and position of failed fixture.

01 Mar 12:10
ec60e89

Choose a tag to compare

v0.3.2

Merge pull request #25 Print name and position of failed fixture.

Fix bug in cache with generic helper

12 Jun 21:35
7f21018

Choose a tag to compare

v0.3.1

Merge fix cache values if use generic helper

Move cleanup function

12 Jun 13:09
9994d0f

Choose a tag to compare

Move cleanup function from Fixture options to result of callback of method CacheWithCleanup

Remove generic params for env and cache params in generic helper

12 Jun 08:24
e71b6ee

Choose a tag to compare

It isn't need for internals, but restrict arguments. For example - can't set constant nil value for params. But it is often case.

Main purpose of the helper - return typed value.

Add generic sugar

11 Jun 00:00
dcda94e

Choose a tag to compare

Add generic function fixenv.Cache for use from fixtures.

No api changed, sugar add with build tag. Library continue build from go 1.16 (without generic sugar).

Add ErrSkipTest

01 Mar 17:31
cb1c8e3

Choose a tag to compare

Add support to skip tests from fixture by return special error: ErrSkipTest

Add linters to ci

05 Sep 19:14
72c6b1f

Choose a tag to compare

Merge pull request #6 from rekby/devel, linters

linters

Remove Cleanup method from env

05 Sep 18:38
a3af7c3

Choose a tag to compare

and improove documentation.

Full semantic version

03 Sep 15:11
c79c816

Choose a tag to compare

fix module name (#4)

* fix module name