Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-03-10 | Removed this test-case. | Steve Kemp | |
The method-stubbing doesn't work, and so it is obsolete. | |||
2015-03-09 | Added test-case for quiet-rubocop. | Steve Kemp | |
This is designed to ensure that we meet the style/code guideline defined in `.rubocop.yml`. | |||
2015-03-09 | Removed trailing whitespace from the code | Steve Kemp | |
2015-03-09 | Remove spaces before commas. | Steve Kemp | |
2015-03-09 | More minor space fixups | Steve Kemp | |
2015-03-09 | Whitespace fixups. | Steve Kemp | |
These were all identified and suggested by rubocop. | |||
2015-03-09 | Removed spaces inside parenthesis. | Steve Kemp | |
2015-03-09 | Prefer single-quotes when you don't need interpolation. | Steve Kemp | |
So "foo" is less good than 'foo'. | |||
2015-03-09 | Do not terminate expressions with ";". | Steve Kemp | |
Ruby is not Perl, much as I sometimes wish it were. | |||
2015-03-09 | Don't use parenthesis aroudn conditions in an if. | Steve Kemp | |
2015-03-09 | Do not use parentheses for method calls with no arguments. | Steve Kemp | |
This is neater. Flagged by rubocop | |||
2015-03-09 | Avoid "Array.new" and "Hash.new" | Steve Kemp | |
Instead use {} + (). | |||
2015-03-09 | Omit the parentheses in defs when the method doesn't accept any arguments. | Steve Kemp | |
This is neater. | |||
2015-03-09 | Don't use "::" for method-calls. | Steve Kemp | |
Instead prefer ".". Flagged by rubocop | |||
2015-03-09 | Added more tests. | Steve Kemp | |
2015-03-09 | Use long-names | Steve Kemp | |
Instead of "$0" use $PROGRAM_NAME, instead of $! use "$LOAD_PATH". This is more explicit and less-magic. Flagged by rubocop | |||
2015-02-18 | Updated to load the test-implementations more carefully. | Steve Kemp | |
This fully explores the parsing and unparsing of the test-objects, with the exceptions of DNS, FTP, LDAP, and SSLCertificates. | |||
2015-02-18 | Minor test-case update. | Steve Kemp | |
Now we have multiple HTTP-implementations we need to update to make sure they're all caught. | |||
2015-02-18 | Updated tests to pass with new API. | Steve Kemp | |
The class-factory for instantiating tests now returns an array rather than a string. | |||
2015-02-17 | Updated for new test-type API. | Steve Kemp | |
Now that the class-factory returns an Array, we've updated the test-cases to continue to pass. | |||
2015-02-05 | Test that "flush!" is defined as a method. | Steve Kemp | |
2015-01-29 | Added simple test cases | Steve Kemp | |
2015-01-13 | Updated mocha-loading | Steve Kemp | |
2015-01-13 | Test that returning the test-definition works. | Steve Kemp | |
This will be needed when we want to save to the redis-log. | |||
2015-01-13 | Don't marry our code to ruby1.8 | Steve Kemp | |
2015-01-13 | Updated the mocha-gem usage | Steve Kemp | |
2015-01-08 | Updated test to cope with DNS changes | Steve Kemp | |
These days google.com resolves over both IPv4 and IPv6. | |||
2014-12-11 | Moved test-dns-types so that it gets included in the test suite. | Patrick J Cherry | |
Added test for run_test. --HG-- rename : t/test-dns-types => t/test-dns-types.rb | |||
2014-12-11 | Tidied up test suite include path | Patrick J Cherry | |
2014-12-11 | Renamed ldap test so it gets included in the test suite | Patrick J Cherry | |
--HG-- rename : t/test-ldap-probe.t => t/test-ldap-probe.rb | |||
2014-12-11 | Fixed DNS reverse lookups to use getnameinfo | Patrick J Cherry | |
2013-11-22 | Updated tests to succeed. | Steve Kemp | |
Since we test dns lookups and reverse DNS lookups then we need to update the hostnames which have aged into a broken set of tests. | |||
2013-10-15 | We now allow "with cache busting", and "without cache busting". | Steve Kemp | |
2013-10-15 | Fixed test cases to succeed. | Steve Kemp | |
2013-08-05 | Ignore the dnsbl test. | Steve Kemp | |
2013-06-24 | Updated the code to be more module. | Steve Kemp | |
Broke down the inside? function into a function for returning the hours in a period, and for sanitizing hour strings "14" vs. "2pm", etc. Updated test-cases to match. | |||
2013-06-24 | The worst-case for testing a time-period, and one used in the | Steve Kemp | |
parser test, is matching against a period that covers the full 24 hours. Correctly terminate this case, and add a new test-case to ensure that this is always correct. | |||
2013-06-24 | Avoid using a bogus timeperiod. | Steve Kemp | |
Our utility class for parsing time-spans uses 00-23, rather than 00-24. Update the use of the time-period to avoid the bogus "24 hour". | |||
2013-06-24 | Updated the tests to ensure the "current hour" is valid. | Steve Kemp | |
This means testing values outside the range of 0-23 (inclusive). We did this already for the start & end times. This updates #4451. | |||
2013-06-24 | Added Custodian::Util::TimeSpan | Steve Kemp | |
This class is used to determine whether an "hour" is within a given hour-span. e.g. To cope with: foo must run ping except between 04-06 otherwise 'alert'. This updates issue #4551. | |||
2013-06-24 | Updated the expected records now Steve's domain has moved. | Steve Kemp | |
2013-05-15 | Updated to test types of integer values. | Steve Kemp | |
2013-04-23 | Updated the parser to allow the test to specify whether HTTP-redirects | Steve Kemp | |
are followed. Added test-cases to match. | |||
2013-02-25 | Added port-guessing test. | Steve Kemp | |
2013-02-25 | Loading mauve/redis is optional. The test suite will skip them if not | Steve Kemp | |
present. | |||
2013-02-19 | Period definitions for tests.release-0.9-6 | Steve Kemp | |
For example: example.vm must run ping between 09-17 otherwise 'daytime ping failed'. | |||
2013-02-13 | Updated. | Steve Kemp | |
2013-02-13 | Added test code. | Steve Kemp | |
2013-02-13 | Updated test-suite now a username/password is required for LDAP | Steve Kemp | |
2013-01-14 | Test we get an error on non-strings. | Steve Kemp | |