History for sqlmarker / Unit_testing / Schema.php
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
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
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 StringContainsSC and TraversableContainsSC constraints. ...
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
• 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
2014-03-14
• 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
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 the ability to specify that a number column should include no length or decimal places.
Nigel Stanger committed on 3 Sep 2013
2013-09-02
Fixed handling of literal text and date default values.
Nigel Stanger committed on 2 Sep 2013
Added default value testing.
Nigel Stanger committed on 2 Sep 2013
2013-08-30
Fixed sense of underflow constraint violation test.
Nigel Stanger committed on 30 Aug 2013
assertColumnLegalValue() now correctly fails if the legal value generates a constraint violation.
Nigel Stanger committed on 30 Aug 2013
2013-07-27
Added support for detecting column aliases (can’t do much about it other than warn the user, as the fixture won’t match if the name’s different anyway).
Nigel Stanger committed on 27 Jul 2013
Added a comment explaining why a WITH won’t solve the LONG problem in User_Constraints.
Nigel Stanger committed on 27 Jul 2013
- Changed run mode and verbosity variables to global constants. ...
Nigel Stanger committed on 27 Jul 2013
Fixed output typos.
Nigel Stanger committed on 27 Jul 2013
Removed some obsolete console output.
Nigel Stanger committed on 27 Jul 2013
2013-07-26
Fixed incorrect array nesting in assertFKColumns.
Nigel Stanger committed on 26 Jul 2013
2013-07-24
Moved scenario-specific code into scenario subtree and factored out globally defined values into various configuration files. Also replaced a bunch of things with global constants.
Nigel Stanger committed on 24 Jul 2013
2013-07-23
Temporarily stripped out text that would reveal information to students. Need a better solution long-term!
Nigel Stanger committed on 23 Jul 2013