Age | Commit message (Collapse) | Author | |
---|---|---|---|
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. | 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 | |
2012-12-31 | Added trivial redis tests. | Steve Kemp | |
2012-12-20 | Added test-case for HTTP protocol matching against URI scheme | Steve Kemp | |
2012-12-12 | Added simple is-singleton test. | Steve Kemp | |
2012-12-10 | Ensure we raise an exception if we're trying to resolve an unknown ↵ | Steve Kemp | |
record-type. Added test-case too. | |||
2012-12-07 | The http/https alert is no longer special - allow it to be tested. | Steve Kemp | |
2012-12-07 | When reporting on failure-types the HTTP/HTTPS test is often reported ↵ | Steve Kemp | |
incorrectly. Fixed this now, based on the URL and added a test case. | |||
2012-11-26 | test the redis module too | Steve Kemp | |
2012-11-25 | Parse the "otherwise 'xxxx'." part of the tests. | Steve Kemp | |
2012-11-24 | Test that each test-type returns the correct host. | Steve Kemp | |
2012-11-24 | Renamed 'custodian/protocoltest.rb' -> 'custodian/protocoltests.rb' to ↵ | Steve Kemp | |
match what we did with the alerts. | |||
2012-11-24 | The argument to our class factories must be a non-nil string. | Steve Kemp | |
2012-11-24 | Added new alert-type, to merely write to a file. | Steve Kemp | |
2012-11-24 | Ensure that our alert-modules implement both raise + clear | Steve Kemp | |
2012-11-24 | Test that the type we guessed is the correct type | Steve Kemp | |
2012-11-24 | Use the new get_type method to simplify the test-logic. | Steve Kemp | |
2012-11-24 | Initial/stub implementation of a factory for generating alerting objects. | Steve Kemp | |
2012-11-24 | Move the protocol-test includes into a single file to avoid duplication. | Steve Kemp | |
2012-11-23 | Test that macro-expansion works correctly | Steve Kemp | |
2012-11-23 | More DNS-tests. | Steve Kemp | |
2012-11-23 | Basic testing of the DNS-protocol tester. | Steve Kemp | |
2012-11-23 | Updated test-cases to cover different parsing routes. | Steve Kemp | |
2012-11-23 | Test that inverted() works for each protocol test we know about. | Steve Kemp | |
2012-11-23 | Allow the test-factory to return the known-test types, and then test ↵ | Steve Kemp | |
*each* of the with a simple constructed test. | |||
2012-11-23 | Removed duplicate member-variables for subclasses. | Steve Kemp | |
Allow test-inversion via "must not run". | |||
2012-11-23 | Updated to allow the tests to be inverted via "must *not* run ..." | Steve Kemp | |
2012-11-23 | Removed the test-cases for our alerter module. A) it will be reworked, B) ↵ | Steve Kemp | |
it is named wrongly | |||
2012-11-23 | Moved the code to detect whether an IP-address is inside/outside the ↵ | Steve Kemp | |
Bytemark range into its own class & added _simple_ test-cases. | |||
2012-11-23 | Test port-detection | Steve Kemp | |
2012-11-23 | Renamed. | Steve Kemp | |
2012-11-23 | Removed. | Steve Kemp | |
2012-11-23 | Updated. | Steve Kemp | |
2012-11-23 | Simple test-cases. | Steve Kemp | |
2012-11-23 | Renamed. | Steve Kemp | |
2012-11-23 | Removed the old test cases and added new ones.:wq | Steve Kemp | |
2012-11-22 | Commented out tests that need work to complete. | Steve Kemp | |