Test::BDD::Infrastructure::Swap - cucumber step definitions for checking swap usage
version 1.005
This step definitions check linux swap usage.
Scenario: Swap space must be present Given swap is configured Then there must be at least 1 swap space configured And the swap size must be at least 1 gigabyte And the swap usage must be less than 50 percent
Start with:
Given swap is configured
Followed by conditions:
Then there must be <compare> <count> swap(s) (spaces) configured Then the swap(s) (size|used space|free space|usage) must be <compare> <count> <unit>
Markus Benning <ich@markusbenning.de>
This software is copyright (c) 2015 by Markus Benning.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Test::BDD::Infrastructure, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Test::BDD::Infrastructure
CPAN shell
perl -MCPAN -e shell install Test::BDD::Infrastructure
For more information on module installation, please visit the detailed CPAN module installation guide.