Changes for version 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.
Modules
Provides
in lib/swat/story.pm
Examples
- examples/anatomy/FOO/BARs/hook.pm
- examples/anatomy/FOO/BARs/post.txt
- examples/anatomy/FOOs/get.txt
- examples/anatomy/FOOs/hook.pm
- examples/anatomy/host
- examples/anatomy/swat.ini
- examples/block-of-text/get.txt
- examples/block-of-text/hook.pm
- examples/block-of-text/host
- examples/google/get.txt
- examples/google/host
- examples/google/swat.ini
- examples/hooks/host
- examples/hooks/lib/Foo.pm
- examples/hooks/posts/hook.pm
- examples/hooks/posts/post.txt
- examples/hooks/posts/swat.ini
- examples/hooks/swat.ini
- examples/ignore-http-err/foo/get.txt
- examples/ignore-http-err/foo/swat.ini
- examples/ignore-http-err/host
- examples/ignore-http-err/swat.ini
- examples/ini-file/get.txt
- examples/ini-file/hook.pm
- examples/ini-file/host
- examples/multilines/host
- examples/multilines/posts/post.txt
- examples/multilines/posts/swat.ini
- examples/multilines/swat.ini
- examples/my-app/hello/get.txt
- examples/my-app/hello/hook.pm
- examples/my-app/hello/world/get.txt
- examples/my-app/hello/world/hook.pm
- examples/my-app/host
- examples/my-app/swat.ini
- examples/post-request/host
- examples/post-request/posts/post.txt
- examples/post-request/posts/swat.ini
- examples/post-request/swat.ini
- examples/response-processor/get.txt
- examples/response-processor/hook.pm
- examples/response-processor/host
- examples/response-processor2/get.txt
- examples/response-processor2/hook.pm
- examples/response-processor2/host
- examples/subtests/baz/get.txt
- examples/subtests/baz/hook.pm
- examples/subtests/foo/bar/get.txt
- examples/subtests/foo/bar/hook.pm
- examples/subtests/foo/get.txt
- examples/subtests/foo/hook.pm
- examples/subtests/host
- examples/subtests/swat.ini
- examples/within-mode/get.txt
- examples/within-mode/hook.pm
- examples/within-mode/host