//
pkg.gl
Category
github.com/kkyr/go-recipe
internal
html
scrape
test
package
0.4.0
Repository:
https://github.com/kkyr/go-recipe.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
8
Dependents
0
Files
148 SLOC
#
Functions
ReadHTMLFileOrFail
ReadHTMLFileOrFail attempts to read an HTML file from the testdata directory and then load it into a Document.
Verify
Verify checks whether wantOK matches with gotOK and reports failures with t.Errorf().
#
Structs
Scraper
Scraper is a struct that helps test packages to test values returned by a recipe.Scraper.