swat-pintod summary

Plugin Name: swat-pintod
Version: 0.1.0
Author: @melezhik
Realease Date: 2016-10-04 13:11:02
Short Description: swat smoke tests for pinto remote API
Category: applications tests
Plugin web page: https://github.com/melezhik/swat-pintod
Other versions: not available
Download link: swat-pintod-v0.001000.tar.gz
Latest version link: https://sparrowhub.org/info/swat-pintod

swat-pintod documentation

SYNOPSIS

Swat tests for pinto daemon.

This simple test suit could be used in various CI processes, f.e. when running tests in Travis.

INSTALL

  sparrow plg install swat-pintod

Swat settings

PINTO_PROTOCOL_VERSION, default value is 1

Example output

  /home/vagrant/.swat/.cache/29435/prove/action/statistics/00.POST.t ..
  ok 1 - POST 127.0.0.1:3111/action/statistics succeeded
  # response saved to /home/vagrant/.swat/.cache/29435/prove/wUZMevEpHP
  ok 2 - output match '200 OK'
  ok 3 - output match /STATISTICS FOR THE "(\w+)" STACK/
  ok 4 - output match 'Status: ok'
  1..4
  ok
  /home/vagrant/.swat/.cache/29435/prove/action/verify/00.POST.t ......
  ok 1 - POST 127.0.0.1:3111/action/verify succeeded
  # response saved to /home/vagrant/.swat/.cache/29435/prove/86vX7UfrLA
  ok 2 - output match '200 OK'
  ok 3 - output match /\#\#\s+(Status: ok)/
  1..3
  ok
  /home/vagrant/.swat/.cache/29435/prove/action/list/00.POST.t ........
  ok 1 - POST 127.0.0.1:3111/action/list succeeded
  # response saved to /home/vagrant/.swat/.cache/29435/prove/6VvGgnWg6f
  ok 2 - output match '200 OK'
  ok 3 - output match /\#\#\s+(Status: ok)/
  1..3
  ok
  /home/vagrant/.swat/.cache/29435/prove/action/roots/00.POST.t .......
  ok 1 - POST 127.0.0.1:3111/action/roots succeeded
  # response saved to /home/vagrant/.swat/.cache/29435/prove/TxvYVi8AW4
  ok 2 - output match '200 OK'
  ok 3 - output match 'Status: ok'
  1..3
  ok
  All tests successful.
  Files=4, Tests=13,  1 wallclock secs ( 0.03 usr  0.00 sys +  0.22 cusr  0.00 csys =  0.25 CPU)
  Result: PASS

COPYRIGHT

Copyright 2015 Alexey Melezhik.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

AUTHOR

Alexey Melezhik