As devops I update a dozens of web application weekly, sometimes I just have no time sitting and wait while dev guys or QA team ensure that deploy is fine and nothing breaks on the road. So I need a tool to run smoke tests against web applications. Not tool only, but the way to create such a tests from the scratch in way easy and fast enough. So this how I came up with the idea of swat.

Keywords - perl, curl, Test::More, TAP, prove, bash
---
https://github.com/melezhik/swat
  • Comment on swat - Simple Web Application Test ( Tool )

Replies are listed 'Best First'.
Re: swat - Simple Web Application Test ( Tool )
by marto (Cardinal) on Jul 10, 2015 at 13:13 UTC

    Is v5.20.2 really required?

    D:\swat-master>perl Makefile.PL Perl v5.20.2 required--this is only v5.20.0, stopped at Makefile.PL li +ne 1. BEGIN failed--compilation aborted at Makefile.PL line 1.

    A quick check with perlver:

    D:\swat-master>perlver lib\swat.pm ------------------------------------------ | file | explicit | syntax | external | | ------------------------------------------ | | lib\swat.pm | ~ | v5.6.0 | n/a | | ------------------------------------------ | | Minimum explicit version : ~ | | Minimum syntax version : v5.6.0 | | Minimum version of perl : v5.6.0 | ------------------------------------------

    Update: Ingore the bin\swat report, this is a bash script:

    D:\swat-master>perlver bin\swat --------------------------------------- | file | explicit | syntax | external | | --------------------------------------- | | bin\swat | ~ | v5.9.5 | n/a | | --------------------------------------- | | Minimum explicit version : ~ | | Minimum syntax version : v5.9.5 | | Minimum version of perl : v5.9.5 | ---------------------------------------
      Auh, this does not really require fresh perl, I will re-upload distro , thanks for pointing this!
      uploaded new version, without specific version of perl requirements, be ware that repository changes -
      sudo cpanm --mirror-only --mirror https://stratopan.com/melezhik/swat-release/master swat