History for sqlmarker / Unit_testing
2016-05-16
• Added ability to explicitly force structure or data tests regardless of what happens internally.
Nigel Stanger committed on 16 May 2016
2016-04-29
• Removed @expectedException annotations as they were causing spurious failures. Checking based on the exception text is more useful in general anyway.
Nigel Stanger committed on 29 Apr 2016
• Adjusted test execution in light of test filtering being removed from PHPUnit_Framework_TestSuite->run().
Nigel Stanger committed on 29 Apr 2016
• Switched to BDL scenario. ...
Nigel Stanger committed on 29 Apr 2016
• Updated to use PHPUnit 5.2.3 PHAR installation.
Nigel Stanger committed on 29 Apr 2016
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