Sparrow article on habrahabr.ru
Hi! This is sparrow / swat related article http://habrahabr.ru/post/272245/ written on Russian language.
Hi! This is sparrow / swat related article http://habrahabr.ru/post/272245/ written on Russian language.
Hi, this is very simple and short example, but quite expository.
$ sudo apt-get install curl
$ sudo cpanm Sparrow
$ sparrow index update
$ sparrow plg install swat-nginx
$ sparrow project foo create
$ sparrow check add foo nginx-server
$ sparrow check set foo nginx-server -p swat-nginx -u 127.0.0.1
$ sparrow check run foo nginx-server
# sparrow environment initialzed at /home/vagrant/sparrow
/home/vagrant/.swat/.cache/20277/prove/00.GET.t ..
ok 1 - GET 127.0.0.1/ succeeded
# response saved to /home/vagrant/.swat/.cache/20277/prove/jgxseRgqg2
ok 2 - output match '200 OK'
ok 3 - output match /Server: nginx\/(\S+)/
ok 4 - valid nginx version: 1.6.2
1..4
ok
All tests successful.
Files=1, Tests=4, 0 wallclock secs ( 0.03 usr 0.00 sys + 0.05 cusr 0.00 csys = 0.08 CPU)
Result: PASS
Visit https://github.com/melezhik/sparrow to know more.
Let me introduce you a sparrow - a tiny web monitoring / test tool . Tiny as project is in very alpha stage, but I hope it will grow and get mature and get used by others.
Sparrow is a console client to setup tests/monitoring infrastructure and run swat tests suites. Swat - is web test application automation framework. Sparrow provides some glue to run sparrow plugins - shareable swat tests suites.
Here is the list of some sparrow plugins created by me - https://github.com/melezhik/sparrow-hub
Swat was initially designed to radically increase and simplify web tests development. Another idea behind swat philosophy - is to create shareable tests suites could be reused by someone else with different context ( monitoring, QA, development, devops ) but in easy manner.
Recently I have posted a informal swat introduction paper with the list of swat test suites could be base for such a sparrow plugins.
If you are inspired in test automation development on perl we probably could go one direction. So swat/sparrow contributors are needed!
Possible impact:
--- Thanks, Alexey Melezhik ( the author of swat and sparrow )
Dev & Devops
---
Then I beheld all the work of God, that a man cannot find out the work that is done under the sun: because though a man labour to seek it out, yet he shall not find it; yea further; though a wise man think to know it, yet shall he not be able to find it.
(Ecclesiastes 8:17)