Documentation
¶
Overview ¶
Package xfail provides plugin for pytest-like xfail functionality.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithStrict ¶
func WithStrict() testoplugin.Option
WithStrict will enable strict mode for xfail.
In strict mode xfail will fail the test if it was marked with XFail and did not fail.
Types ¶
type PluginXFail ¶
PluginXFail is a plugin implementation to embed in T.
func (*PluginXFail) Plugin ¶
func (x *PluginXFail) Plugin( parent testoplugin.Plugin, options ...testoplugin.Option, ) testoplugin.Spec
Plugin implements testoplugin.Plugin.
func (*PluginXFail) XFail ¶
func (x *PluginXFail) XFail()
XFail signals that this test is expected to fail.
In strict mode, see WithStrict, passed tests marked with XFail are considered failed.
Click to show internal directories.
Click to hide internal directories.