-
Notifications
You must be signed in to change notification settings - Fork 12
/
Changes
426 lines (267 loc) · 9.51 KB
/
Changes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
0.2.0
# BREAKING CHANGES!!!
As with version 0.2.0 swat removes the usage of prove ( Test::More, Test::Harness modules ), there are consequences of that:
* swat reports is no longer a TAP
* tests do not get run recursively, rewrite your tests scenarios to use modules to run your test sets
* `-t` command line parameter now defines a single swat story rather than a subset of stories, it should follow
`$http_resource/$http_method` notation
* to run meta story, you should use path=http_resource/META or -t http_resource/META options.
0.1.96 2016-04-13
* merged documentation changes from Outthentic into swat
0.1.95 2016-04-12
* META.yml generated
0.1.94 2016-04-12
* now swat consumes yaml configuration files as well
0.1.93 2016-03-18
* require latest version of outthentic dsl
* some debug messages are only shown at higher level of debug variable
* Makefile.PL - fix for Unparsable version for prerequisite Term::ANSIColor
0.1.92 2016-03-16
* Required at least >= 4.02 version of Term::ANSIColor
0.1.91 2016-03-11
* experimenting with color schema in TAP
0.1.90 2016-03-09
* changed output color schema a little bit
* output_mod variable is respected
0.1.89 2016-03-07
* adding color output - thanks to Term::ANSIColor author
0.1.88 2016-03-06
* new feature - meta stories
* checking http code instead of relying on `curl -f`
* TAP output improved
0.1.87 2016-03-04
* internal tests directory structure changed - should not alter public API behavior
0.1.86 2016-03-04
* curl `-L` now replaced by curl_follow_redirect variable
0.1.85 2016-02-29
* made debug12 mode less verbose to easier debugging
0.1.84 2016-02-22
* swat client - changed default output layout, made it less verbose, more simple and more clear
0.1.83 2016-02-15
* stream function exported from dsl
* match_lines function exported from dsl
* depends on latest version of Outthentic::DSL
* https://github.com/melezhik/swat/issues/17 fixed (broken pod)
0.1.82 2016-01-30
* bin/swat - resource name calculation hotfix for paths like foo.txt/bar.txt/get.txt
0.1.81 2016-01-28
* function run_response_processor now save modified response into temporary file so it could be viewed latter
0.1.80 2016-01-26
* response processors implementation
* diag response - unix `head` command replaced by perl code
0.1.79 2016-01-26
* ability to pass group of tests as -t path1 path2 path3 ... - https://github.com/melezhik/swat/issues/13
* new command line parameter `--debug`
* response processors
0.1.78 2016-01-18
* regenerated build for the sake of meta.yml get lost for last one ( a pesky issue for me )
0.1.77 2016-01-18
* Breaking changes - swat.my is deprecated ( use test suite ini file instead )
* Support of test suite ini file
* Hooks API - \`set_response' could be called more than once
* https://github.com/melezhik/swat/pull/16 - by [Luca Ferrari](https://github.com/fluca1978) - Thanks a lot!
0.1.76 2016-01-11
* documentation release ( typos fixes, swat client command line options cleared, response processors feature announced ( not implemented yet )
0.1.75 2015-12-30
* documentation release ( typo fix, thanks to Lance Wicks - pull/15; swat_purge_cache and swat_my variables described )
0.1.74 2015-12-30
* hot fix - resource variable calculation in right place, so swat.ini "see" correct value of $resource
0.1.73 2015-12-29
* swat now respects swat_my environment to use a swat.my file located not only in CWD.
This feature is required for sparrow integration.
0.1.72 2015-12-26
* *BREAKING CHANGES*:
* test_file is deprecated - use \`-t' option instead
* prove settings should be passed via \`--prove' option now ( old behavior - "pass as is")
* swat_purge_cache could be set in different contexts ( env var, swat.ini )
0.1.71 2015-12-15
* unsuccessful http status codes now result in immediate exit(1) and proper diag message.
* fix pod issue ( added =pod marker in the beginning of pod) - thanks to [alaska332](http://habrahabr.ru/users/alaska332/)
0.1.70 2015-12-09
* dump curl stderr
0.1.69 2015-12-09
* now ignore_http_err=1 results in running curl without -f flag to allow see http response body for bad responses - https://github.com/melezhik/swat/issues/5
* use `curl -o file` instead of redirect to file to save responses
0.1.68 2015-11-16
* swat_purge_cache: ability to remove swat cache directory after tests are done
0.1.67 2015-11-12
* bin/swat - hotfix for host:port issue ( second try )
0.1.66 2015-11-12
* bin/swat - hotfix for host:port issue
0.1.65 2015-11-08
* this version is fully compatible with the latest version of Outthentic::DSL (0.0.3)
0.1.64
* skip story feature added
0.1.63 2015-10-30
* minor documentation changes
0.1.62 2015-10-30
* Outthentic::DSL - now is a distinct module
* made use of Outthentic::DSL
* documentation changed for the sake of usage of Outthentic::DSL
* refactored examples
* bin/swat minor changes
0.1.61 2015-10-23
* small changes in TAP output
* --match_l variable - in TAP output truncate matching strings to {match_l} bytes
0.1.60
- removed old dependencies from Makefile.PL
- project_root_dir() now return correct value
- minor issues related TAP output
0.1.59
- documentation improvements
- curl <host/resource> parameter now is single quoted
0.1.57-58
- add META.yml to cpan distribution
0.1.56
- handle errors from files loaded by do() function()
0.1.55
- documentation rewritten completely
- new features:
- perl hooks api: modify_resourse, accessors, stories, swat_modules, set_server_response
- blank lines matchers
- DELETE http methods
- project_root default value is `pwd`
- test_file is now http resourse path
- breaking changes
- dynamic routes are deprecated
- bash hooks are deprecated
- project based and cleanup perl hooks are deprecated
- swat packages are deprecated
0.1.54
- just a documentation release - various fixes at documentation
0.1.53
- new feature - captures
- variable names refactoring
- ability to run a single test
0.1.52
- by bmartins - removed trailing slash that breaks paths on OSX - PR#2
- block-of-text ok asserts are prefixed by '|' for visability
0.1.51
- new feature - PUT requests
- dynamic routes could contain digits, '-', and '_'
- made filenames for tests and http response much shorter
0.1.50
- fast fix for context_populate issue
0.1.49
- documentation fixes ( brought by 0.1.48 version )
0.1.48
- new feature - begin: ... end: blocks
0.1.47
- MANIFEST.SKIP corrected
- show matched lines when debug_mod1
0.1.46
- debug2 now shows swat info
0.1.45
- minor refactoring - improving some test::more ok() messages from swat
- fix for debug_mod1 silent behavior
0.1.44
- remove some diag messages from output ( show them only when debug is set )
- debug 1,2,3 - many levels of verbosity
0.1.43
- hotfix for final exit code
0.1.42
- use-strict refactoring
- project is equal safe_project
0.1.41
- absolute paths for route_dir, project
0.1.40
- fix for bash global startup script
- export port variable
0.1.39
- swat cleanup/startup hooks
- route_dir variable in lib/swat.pm
0.1.38
- small documentation changes
0.1.37
- bash hooks
0.1.36
- fix for default host for swat packages
0.1.35
- swat.my settings to override project based swat.ini files
- all bash variables get unset before a new route is started
- added examples to cpan distro
0.1.34
- removed pwd from require path to hook.pm files
- fix for regexp checks with quoted patterns
0.1.33
- documentation typo fixes - thanks to @zoffixznet - pull/1
- small refactoring ( better names for variables )
- added abstract and copyright sections
0.1.32
- small documentation fixes
- does not print result of File::ShareDir::module_dir in conditional statement
- respect prove_options set as environment variable
0.1.31
- correct calculation of swat settings
0.1.30
- hotfix for curl_params='' issue
0.1.29
- technical release, ./examples directory removed from CPAN archive
0.1.28
- Makefile.PL - use Module::Install instead of ExtUtils::MakeMaker
- swatman is deprecated
- now swat packages as cpan packages
- apply environment settings with highest priority
0.1.27
- prove options could be set by prove_options environment variable
- typos fixes in documentation
- default host feature
- host validation
0.1.24
- fix for running swat ./
0.1.23
- dynamic routes
0.1.22
- removed none ASCII symbols from pod
0.1.21
- swat hooks
- documentation fixes
0.1.20
- a documentation release
0.1.18
- swat packages support
- PERL5LIB in swat doc
0.1.17
- update documentation
- add version() function to get swat package version
0.1.15
- update documentation
- noproxy deprecated
- multiline entities
0.1.13
- Add swat entities generators
- Add noproxy settings
- Fix pod documentation
0.1.12
- Add pod documentation to lib/swat.pm
0.1.11
- Makefile.PL sets swat.pm version in provides hash to make it visible at CPAN
0.1.10
- CPAN compatible version ( minor fixes in Makefile.PL )
0.1.9
- Makefile.PL - does not require any specific version of perl
0.1.8
- http port variable
- update documentation
- improve examples
0.1.7
- small fixes related swat settings
- add some extra info in swat output
- a lot of improvements to documentation
- add todo list
0.1.6
- does not add http:// for requested url
0.1.5
- curl_params variable now is respected
- small internal changes ( path to session file )
0.1.4
- fix typos in README
- notion of prove options in README
- add some extra info in swat output
0.1.3
- fix for case when post and get check patterns files exist for the same route
- typo fixes in lib/swat.pm help info
0.1.1
- increase connect-timeout to 20 seconds
0.1.0
- first version