Skip to content
This repository was archived by the owner on May 23, 2026. It is now read-only.
/ xfail Public archive

FerretDB/xfail

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

xfail

Go package providing testing helpers for expected tests failures.

Examples

Simple

func TestParseDuration(tt *testing.T) {
	t := XFail(tt, "https://github.com/golang/go/issues/67076")

	if _, err := time.ParseDuration("3.336e-6s"); err != nil {
		t.Fatal(err)
	}
}

License

Copyright 2021 FerretDB Inc. Licensed under Apache License v2.0.

Packages

 
 
 

Contributors

Languages