From 96b9c403757f3e355e295e9af6fbb514b82a75f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maxime=20Soul=C3=A9?= Date: Sun, 3 Nov 2019 13:09:50 +0100 Subject: [PATCH] Add a chapter about helpers to https://go-testdeep.zetta.rocks MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Maxime Soulé --- README.md | 2 +- docs/404.html | 16 +- docs/categories/index.html | 88 +- docs/example/advanced-testdeep/index.html | 88 +- docs/example/basic-testdeep/index.html | 88 +- docs/example/index.html | 88 +- .../example/testdeep-cmp-shortcuts/index.html | 88 +- docs/example/testdeep-t/index.html | 88 +- docs/example/using-testing/index.html | 88 +- docs/faq/index.html | 90 +- docs/functions/index.html | 88 +- docs/functions/testdeep-t/index.html | 88 +- docs/helpers/index.html | 2744 +++++++++++++++++ docs/helpers/index.xml | 14 + docs/{image.png => images/logo.png} | Bin docs/index.html | 90 +- docs/index.json | 7 + docs/introduction/index.html | 88 +- docs/operators/all/index.html | 88 +- docs/operators/any/index.html | 88 +- docs/operators/array/index.html | 88 +- docs/operators/arrayeach/index.html | 88 +- docs/operators/bag/index.html | 88 +- docs/operators/between/index.html | 88 +- docs/operators/cap/index.html | 88 +- docs/operators/catch/index.html | 88 +- docs/operators/code/index.html | 88 +- docs/operators/contains/index.html | 88 +- docs/operators/containskey/index.html | 88 +- docs/operators/empty/index.html | 88 +- docs/operators/gt/index.html | 88 +- docs/operators/gte/index.html | 88 +- docs/operators/hasprefix/index.html | 88 +- docs/operators/hassuffix/index.html | 88 +- docs/operators/ignore/index.html | 88 +- docs/operators/index.html | 88 +- docs/operators/isa/index.html | 88 +- docs/operators/json/index.html | 88 +- docs/operators/keys/index.html | 88 +- docs/operators/lax/index.html | 88 +- docs/operators/len/index.html | 88 +- docs/operators/lt/index.html | 88 +- docs/operators/lte/index.html | 88 +- docs/operators/map/index.html | 88 +- docs/operators/mapeach/index.html | 88 +- docs/operators/matrix/index.html | 88 +- docs/operators/n/index.html | 88 +- docs/operators/nan/index.html | 88 +- docs/operators/nil/index.html | 88 +- docs/operators/none/index.html | 88 +- docs/operators/not/index.html | 88 +- docs/operators/notany/index.html | 88 +- docs/operators/notempty/index.html | 88 +- docs/operators/notnan/index.html | 88 +- docs/operators/notnil/index.html | 88 +- docs/operators/notzero/index.html | 88 +- docs/operators/pptr/index.html | 88 +- docs/operators/ptr/index.html | 88 +- docs/operators/re/index.html | 88 +- docs/operators/reall/index.html | 88 +- docs/operators/set/index.html | 88 +- docs/operators/shallow/index.html | 88 +- docs/operators/slice/index.html | 88 +- docs/operators/smuggle/index.html | 88 +- docs/operators/string/index.html | 88 +- docs/operators/struct/index.html | 88 +- docs/operators/subbagof/index.html | 88 +- docs/operators/submapof/index.html | 88 +- docs/operators/subsetof/index.html | 88 +- docs/operators/superbagof/index.html | 88 +- docs/operators/supermapof/index.html | 88 +- docs/operators/supersetof/index.html | 88 +- docs/operators/tag/index.html | 88 +- docs/operators/trunctime/index.html | 88 +- docs/operators/values/index.html | 88 +- docs/operators/zero/index.html | 90 +- docs/sitemap.xml | 4 + docs/tags/index.html | 88 +- tools/docs_src/content/_index.md | 2 +- tools/docs_src/content/helpers/_index.md | 22 + tools/docs_src/static/images/logo.png | Bin 0 -> 73770 bytes 81 files changed, 7277 insertions(+), 1788 deletions(-) create mode 100644 docs/helpers/index.html create mode 100644 docs/helpers/index.xml rename docs/{image.png => images/logo.png} (100%) create mode 100644 tools/docs_src/content/helpers/_index.md create mode 100644 tools/docs_src/static/images/logo.png diff --git a/README.md b/README.md index 78ffea90..2bb8578b 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ go-testdeep [![Version](https://img.shields.io/github/tag/maxatome/go-testdeep.svg)](https://github.com/maxatome/go-testdeep/releases) [![Mentioned in Awesome Go](https://awesome.re/mentioned-badge.svg)](https://github.com/avelino/awesome-go/#testing) -![testdeep](docs/image.png) +![testdeep](tools/docs_src/static/images/logo.png) **Extremely flexible golang deep comparison, extends the go testing package.** diff --git a/docs/404.html b/docs/404.html index db97c411..9ed03250 100644 --- a/docs/404.html +++ b/docs/404.html @@ -9,15 +9,15 @@ 404 Page not found - - - - - - - + + + + + + + - + + + + + + + + + + +
+
+
+ +
+
+ + + + + + + +
+
+ +
+ +
+ +
+ +

+ + Helpers +

+ + + + + + + + + +

HTTP API test helper aka. tdhttp

+ +

The +tdhttp +package helper allows to easily test HTTP APIs.

+ +

It handles any kind of API, with some specific features for the routes +accepting and/or returning JSON or XML.

+ +

See examples of use in FAQ.

+ +

Helpers utils aka. tdutil

+ +

To write helpers, some commonly used functions are shared in +tdutil +package.

+ + + + + +
+ +
+ + +
+ + +
+ + + +
+ +
+
+
+ + + + + + + + + + + + + + + + + + diff --git a/docs/helpers/index.xml b/docs/helpers/index.xml new file mode 100644 index 00000000..d55af09a --- /dev/null +++ b/docs/helpers/index.xml @@ -0,0 +1,14 @@ + + + + Helpers on go-testdeep + https://go-testdeep.zetta.rocks/helpers/ + Recent content in Helpers on go-testdeep + Hugo -- gohugo.io + en-us + + + + + + \ No newline at end of file diff --git a/docs/image.png b/docs/images/logo.png similarity index 100% rename from docs/image.png rename to docs/images/logo.png diff --git a/docs/index.html b/docs/index.html index 103f29a8..6b1416e6 100644 --- a/docs/index.html +++ b/docs/index.html @@ -12,20 +12,20 @@ go-testdeep :: go-testdeep - - - - - - - - - + + + + + + + + + - + - +