History for sqlmarker / Unit_testing
2014-04-07
• Alphabetically sorted various columns lists before comparison so that we don’t fail if, e.g., a student lists their PK columns in a different order from what we expected (closes #8).
Nigel Stanger committed on 7 Apr 2014
• Added substitution of values in related columns when testing legal and illegal values (closes #17).
Nigel Stanger committed on 7 Apr 2014
• Modified sqlifyValue() to correctly handle date test values generated by a function.
Nigel Stanger committed on 7 Apr 2014
• Switched to Used Cars scenario for 2014.
Nigel Stanger committed on 7 Apr 2014
2014-03-21
• Added logging of column aliases, just for informational purposes.
Nigel Stanger committed on 21 Mar 2014
2014-03-20
• Extended warning message for aliased column names.
Nigel Stanger committed on 20 Mar 2014
2014-03-19
• Added sqlifyList() method. ...
Nigel Stanger committed on 19 Mar 2014
2014-03-18
• Added very basic connection logging (closes #32).
Nigel Stanger committed on 18 Mar 2014
• Added note about interpreting error messages.
Nigel Stanger committed on 18 Mar 2014
• Added StringContainsSC and TraversableContainsSC constraints. ...
Nigel Stanger committed on 18 Mar 2014
• Made running of data tests dependent on correct data types, columns lengths and nullability.
Nigel Stanger committed on 18 Mar 2014
• Removed the modified PHPUnit Autoload.php and switched to explicit loading of custom constraint classes. ...
Nigel Stanger committed on 18 Mar 2014
• Overrode evaluate() to stop it throwing out a too-informative exception.
Nigel Stanger committed on 18 Mar 2014
• Fixed placeholder typo in printf argument.
Nigel Stanger committed on 18 Mar 2014
2014-03-17
• Slightly tweaked output for numeric column length assertion.
Nigel Stanger committed on 17 Mar 2014
• Implemented specialised “non-informative” subclasses of various constraints so that we can test assertions without giving away the answers to the students! (closes #13) ...
Nigel Stanger committed on 17 Mar 2014
• Added customised version of TestCase.php in order to disable output buffering (closes #31 for now).
Nigel Stanger committed on 17 Mar 2014
• Refactored output_stream to outputStream. ...
Nigel Stanger committed on 17 Mar 2014
2014-03-14
• Made data tests dependent on the result of testColumnNullability. Closes #11 for all practical purposes (you still get errors when later dependent table load there fixtures, but there isn’t much that can be done about that).
Nigel Stanger committed on 14 Mar 2014
• Fixed incorrectly nested check for whether testPKColumns had succeeded (closes #7).
Nigel Stanger committed on 14 Mar 2014
• Completely re-engineered the way that fixture setup and teardown is managed so that it can be enabled and disabled on demand (closes #3). ...
Nigel Stanger committed on 14 Mar 2014
• Added initial coding for testing UNIQUE constraints. ...
Nigel Stanger committed on 14 Mar 2014
2014-03-12
• Added support for zero or negative scale values. ...
Nigel Stanger committed on 12 Mar 2014
• Added constants for verbosity levels. ...
Nigel Stanger committed on 12 Mar 2014
• Made verbosity comparisons more explicit. ...
Nigel Stanger committed on 12 Mar 2014
• Corrected argument name in comment.
Nigel Stanger committed on 12 Mar 2014
2014-03-11
• Added NVL() to query on Data_Precision to prevent spurious errors when precision isn’t specified for a NUMBER column (closes #2, I hope!).
Nigel Stanger committed on 11 Mar 2014
2013-09-05
Workaround for testing FKs when there is more than one FK in the referenced table.
Nigel Stanger committed on 5 Sep 2013
2013-09-03
Added automated true/false value setting to the marking configuration.
Nigel Stanger committed on 3 Sep 2013
Added the ability to specify that a number column should include no length or decimal places.
Nigel Stanger committed on 3 Sep 2013