From 41d4f7cd3ed3476ed69e3da7cef704174d485038 Mon Sep 17 00:00:00 2001 From: Timo Reimann Date: Mon, 16 Dec 2019 16:06:34 +0100 Subject: [PATCH] Update pkg/sanity Go driver usage README instructions --- pkg/sanity/README.md | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/pkg/sanity/README.md b/pkg/sanity/README.md index fd30f192..773bf33c 100644 --- a/pkg/sanity/README.md +++ b/pkg/sanity/README.md @@ -15,12 +15,9 @@ Golang `TestXXX` functions. For example: func TestMyDriver(t *testing.T) { // Setup the full driver and its environment ... setup driver ... - config := &sanity.Config{ - TargetPath: ... - StagingPath: ... - Address: endpoint, - } - + config := sanity.NewTestConfig() + // Set configuration options as needed + cfg.Address = endpoint // Now call the test suite sanity.Test(t, config)