Skip to content

Releases: lamoda/gonkey

v1.1.0

03 Sep 15:40
526496b
Compare
Choose a tag to compare

Add support for MySQL database

v1.0.10

03 Sep 15:01
15b8a86
Compare
Choose a tag to compare

Fixed Slow mocks shutdown in Go 1.15 (#59)

v1.0.9: load env file in runner_testing (#54)

17 Aug 12:46
02fd94f
Compare
Choose a tag to compare
When we use Gonkey as a library, we may also want to use env-file.

Also here is little cleanup of env-file loading in main.go

v1.0.7

28 Jul 12:09
44040d9
Compare
Choose a tag to compare
add upload files support (#51)

To upload file with test request you need to specify names and paths
 of files.
Don't forget specify Content-Type:
 > Content-Type: multipart/form-data

Example:

 - name: "upload-files"
   method: POST
   form:
       files:
         file1: "testdata/upload-files/file1.txt"
         file2: "testdata/upload-files/file2.log"
   headers:
     # case-sensitive, can be omitted
     Content-Type: multipart/form-data
   response:
     200: |
       {
         "status": "OK"
       }

v1.0.6: don't follow redirects (#50)

24 May 15:45
005b332
Compare
Choose a tag to compare

New features:

  • Extract a fragment of JSON-encoded server response and store it as a variable value
  • Inject environment variables or previously extracted data into test definition

Fixes and improvements:

  • Stop following redirects while requesting the server
  • Updated dependencies

v1.0.5: Added support for assert response headers (#45)

20 Mar 08:09
122e4c1
Compare
Choose a tag to compare
Co-authored-by: Alexander Krüger <alexander.krueger@invia.de>

v1.0.4

11 Feb 18:26
f7d6e30
Compare
Choose a tag to compare

Use proxy url from env if it exist (#39)
Add missed db query and response to report and console log (#40)
Add regexp support for response check (#38)

v1.0.3

31 Jan 14:02
Compare
Choose a tag to compare
Reset mocks for each test (#32) (#36)

v1.0.2

23 Nov 14:03
Compare
Choose a tag to compare
(#33) Upgrade Go to 1.13; Update deps (#34)

v1.0.1

11 Sep 20:46
Compare
Choose a tag to compare
allows to test https service (#18)