Skip to content

Releases: gdt-dev/gdt

v1.7.0

20 Jun 18:05
c4a51f5
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.6.2...v1.7.0

v1.6.2

16 Jun 23:52
d8de82a
Compare
Choose a tag to compare

What's Changed

  • actually write to stdout for Debug() no params by @jaypipes in #25

Full Changelog: v1.6.1...v1.6.2

v1.6.1

09 Jun 00:37
e330962
Compare
Choose a tag to compare

What's Changed

  • gdtcontext.WithDebug() no args to stdout by @jaypipes in #24

Full Changelog: v1.6.0...v1.6.1

v1.6.0

09 Jun 00:05
8a8a812
Compare
Choose a tag to compare

What's Changed

  • add context argument to fixture Stop/Start by @jaypipes in #23

Full Changelog: v1.5.0...v1.6.0

v1.5.0

01 Jun 13:16
d9a4f14
Compare
Choose a tag to compare

What's Changed

Breaking developer SDK change

This is a breaking change for GDT plugin developers, not GDT users

  • rework debug/print into a tracing context by @jaypipes in #21

Full Changelog: v1.4.0...v1.5.0

v1.4.0

27 May 12:48
de1ef61
Compare
Choose a tag to compare

What's Changed

Breaking developer SDK change

This is a breaking change for GDT plugin developers, not GDT users

  • add context.Context arg to assertions.OK() by @jaypipes in #20

Full Changelog: v1.3.0...v1.4.0

v1.3.0

15 Jan 15:21
1a7e229
Compare
Choose a tag to compare

New features

  • Ability to specify none and in for exec plugin's err and out fields (#16)
  • Ensure all parse-time errors include line number and column where error was found (#14)

Breaking changes (developer SDK, not gdt test file format)

  • The Assertion.Terminal() method has been removed since it was no longer used anywhere (#17)

v1.2.1

14 Aug 19:46
1360915
Compare
Choose a tag to compare

Adds more descriptive parse-time errors.

v1.2.0

09 Aug 20:53
13c1ecd
Compare
Choose a tag to compare

Support for on.fail field in exec plugin tests (#13)

Users would like to be able to execute commands, collect log
information, grep for errors in output and other actions when a test
assertion fails.

For instance, if an application is deployed using Kubernetes and network
connectivity doesn't work for the application, the test author might
want to call kubectl logs in the event of a test failure.

Another example might be if you wanted to grep a log file in the event
that no connectivity on a particular IP:PORT combination could be made
you might do this:

tests:
 - exec: nc -z $HOST $PORT
   on:
     fail:
       exec: grep ERROR /var/log/myapp.log

The grep ERROR /var/log/myapp.log command will only be executed if there
is no connectivity to $HOST:$PORT and the results of that grep will be
directed to the test's output. You can use the gdt.WithDebug() function
to configure additional io.Writers to direct this output to.

v1.1.1

08 Aug 14:29
0d8a00e
Compare
Choose a tag to compare

Fixes for #7 and #8

Don't add non-Scenario files to Suite and ensure t.Error() is called from sub-test, not scenario