History for sqlmarker / Unit_testing / Schema.php
2014-03-18
• 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
2013-07-22
Implemented new error reporting scheme using subclasses of SimpleTestListener.
Nigel Stanger committed on 22 Jul 2013
Implemented Reporter support for use within assert() methods.
Nigel Stanger committed on 22 Jul 2013
Factored out connection login details.
Nigel Stanger committed on 22 Jul 2013
2013-06-27
Made the database connection reusable rather than recreating it every time.
Nigel Stanger committed on 27 Jun 2013
2013-06-25
Fixed typo in output.
Nigel Stanger committed on 25 Jun 2013
Ensured that maximum and minimum column length assertions are only asserted where actually relevant.
Nigel Stanger committed on 25 Jun 2013
Rewrote provideColumnLengths() to return fixed rather than variable-length result.
Nigel Stanger committed on 25 Jun 2013
- Improved descriptive output. ...
Nigel Stanger committed on 25 Jun 2013
2013-06-24
Added preliminary output based on whether an illegal value is rejected by a constraint or an actual overflow.
Nigel Stanger committed on 24 Jun 2013