go-lookslike: github.com/elastic/go-lookslike/testslike Index | Files

package testslike

import "github.com/elastic/go-lookslike/testslike"

Index

Package Files

testing.go

func Test Uses

func Test(t *testing.T, validator validator.Validator, value interface{}) *llresult.Results

Test takes the output from a validator.Validator invocation and runs test assertions on the result. If you are using this library for testing you will probably want to run Test(t, Compile(map[string]interface{}{...}), actual) as a pattern.

Package testslike imports 5 packages (graph). Updated 2019-06-17. Refresh now. Tools for package owners.