Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
50 most recent check-ins that include changes to files matching 'tests/*'
2016-06-29
| ||
07:04 | cmdr::color - Added standard symbolic color "heading", for use by cmdr::table. check-in: 8358279e61 user: aku tags: trunk | |
07:03 | cmdr::table - Documented the package. Added testsuite. Added more validation and introspection. Added TEApot metadata. check-in: 7acf8ff192 user: aku tags: trunk | |
2016-06-22
| ||
18:41 | Extended the integrated help system to declare a global option --help (-h, -?), inherited by all commands to provide their help. Updated the testsuite. check-in: 56a4c28f89 user: aku tags: trunk | |
2015-07-15
| ||
23:30 | Fix comment ref to tested v-type check-in: 4251025187 user: andreask tags: trunk | |
2015-07-03
| ||
22:34 | Big set of 12 new validation types. These are facades/wrappers around the "valtype" snit validation types found in Tcllib (luhn, luhn5, verhoeff, gs1::ean13, iban, imei, isbn, usnpi, amex, visa, discover, mastercard). Documentation minimal, refers back to the Tcllib packages. Testsuites replicated here, under the general framework for VT testing. The facade code is fully generated based on the valtype name. The generator package is not documented (yet). check-in: 7d8a178853 user: andreask tags: trunk | |
05:21 | color - Modified "Apply" to distinguish calls with explicit empty string (EES) from those with no argument (NA). EES returns the string as is, whereas NA returns the requested low-level colorization instructions. Extended tests. Version bumped to 1.0.2. check-in: af5f3c47d7 user: aku tags: trunk | |
05:01 | Merge VT test work back to main line. check-in: dd4c6bd2ac user: aku tags: trunk | |
05:01 | Fix issues with time::minute validation. Added testsuite. Closed-Leaf check-in: 1e68d757fb user: aku tags: vtype-testing | |
04:37 | Flipped tests for weekday and year, were swapped. check-in: 0afbe6cc28 user: aku tags: vtype-testing | |
04:23 | Merged VT work from trunk and vt-minute. Updated bool/percent failure messages. check-in: dec47d85c3 user: aku tags: vtype-testing | |
04:20 | Expanded VT testing. check-in: c502011735 user: aku tags: vtype-testing | |
2015-05-12
| ||
22:04 | Updated to trunk (negative aliases) check-in: 93b8d83d4c user: aku tags: vtype-testing | |
22:03 | Merged work on negative aliases. check-in: 88c1cb79e5 user: aku tags: trunk | |
21:53 | Added tests checking runtime handling of negative aliases. check-in: af44ad2581 user: aku tags: neg-aliases | |
2015-05-11
| ||
23:02 | Update expected test results. check-in: 5299cd1353 user: aku tags: neg-aliases | |
23:01 | Fix overwrite of outer loop variable. check-in: 374d694490 user: aku tags: neg-aliases | |
22:28 | Merged trunk testsuite fixes. check-in: 5ae1694710 user: aku tags: neg-aliases | |
22:28 | Merged trunk testsuite fixes. check-in: 133579f38a user: aku tags: vtype-testing | |
22:27 | Really complete fixes for help testsuite. check-in: 868958ed6d user: aku tags: trunk | |
22:21 | Testing validation types, continued. check-in: 58cb0c6af7 user: aku tags: vtype-testing | |
2015-05-09
| ||
00:08 | Started on testsuite for validation types. Template for the common API signatures. check-in: 52969c8c6f user: andreask tags: vtype-testing | |
00:06 | Comment fixes check-in: ebdf8cc004 user: andreask tags: trunk | |
2015-05-08
| ||
22:37 | Complete the fixes to help testsuite. check-in: adefffc9e0 user: andreask tags: trunk | |
21:04 | Testsuite fixes, help output. Not fully fixed, only mostly. check-in: 6e5381c43c user: aku tags: trunk | |
20:27 | Fixed color testing. Plus tweaked color command to always validate codes, even when use is disabled. check-in: 1a8a4b4d23 user: aku tags: trunk | |
20:27 | Fix officer tests, new -- option. check-in: 00a6db24bb user: aku tags: trunk | |
00:17 | Begin support of negative/inverted aliases for boolean options. check-in: a09daa498b user: andreask tags: neg-aliases | |
2015-04-22
| ||
21:42 | say - Start on tests, and extended package to support output redirection, making the tests easier. check-in: 2cc0a755b9 user: andreask tags: say-more | |
2014-05-23
| ||
22:08 | cmdr::ask - Added basic testsuite. More requires a linenoise mockup to prevent actual interaction while exercising the command implementation. check-in: 2fa5347d94 user: andreask tags: trunk | |
07:13 | cmdr::color - Fixed issues, expanded functionality, better checking. Plus testsuite. check-in: ddd5e520dd user: aku tags: trunk | |
06:19 | cmdr::tty - Fixed package provision typo, plus testsuite for same. check-in: e8bf343c87 user: aku tags: trunk | |
06:17 | Brought tests uptodate regarding the recent code extensions and changes. check-in: b35f9a1c77 user: aku tags: trunk | |
2014-02-06
| ||
06:00 | Updated tests to match the new auto-exit command. check-in: 48291542b3 user: aku tags: trunk | |
2013-11-16
| ||
23:15 | Moved dictsort utility into util for wider use. Sort parts of the help structures for easier testing. Fixed bugs in the help generation (1) Skip imported helper commands which are not formats. (2) Rendering of list inputs was off. -- Bumped version to 0.12, help (json, sql) to 0.2, fixed requirements -- Updated embedded documentation. check-in: 0ed8f3610b user: aku tags: trunk | |
2013-08-21
| ||
20:04 | Bump version to 0.4. Parameter API changes. * "defined?" becomes "set?". * "when-defined" becomes "when-complete". * The "default" value is now handled as int.rep, not going through validation. (Like the result of the "generate" callback). * Updated validation type "default" to always provide something. * Standard VT fail now takes parameter instance command as first argument (see also below about callbacks), and uses it to generate an enhanced error message (naming the parameter at issue). Callback API changes. * All callbacks now take the parameter instance command as their first argument. * Removed the (class)methods to dynamically locate and access a innermost config instance on the stack. * As replacement added method "config" to make the container accessible from each parameter it contains, and thus all other parameters as well. * Update all validation types. check-in: abe9e7a804 user: andreask tags: trunk | |
2013-08-02
| ||
21:33 | Added defered/immediate distinction for parameters, with state defaulting to defered, and the others as immediate. Updated tests. Bumped version to 0.3. check-in: a81d6b881f user: andreask tags: trunk | |
2013-05-15
| ||
05:40 | Get new tests. Closed-Leaf check-in: f3263fd143 user: aku tags: force-check | |
05:40 | Extended testsuite for validation errors. check-in: f657371683 user: aku tags: trunk | |
2013-04-04
| ||
05:23 | Parsing tweak. When encountering a bad option see if it can be handled as regular argument before bailing out. check-in: e6db958b51 user: aku tags: trunk | |
05:00 | Second charge of renaming "xo" to "cmdr". Plus tweak to processing of optional list arguments, preventing ahead-processing of options. They are made part of the splat. check-in: e756a91488 user: aku tags: trunk | |
04:46 | Renamed everything from "xo" to "cmdr". Easier to speak and more direct connection between name and purpose of the package. check-in: 91f2eaba78 user: aku tags: trunk | |
2013-03-27
| ||
06:43 | Undone [914aab4169], and replaced with code to automatically locate the "config" command, regardless how deep in the stack we are. check-in: 20293c69bd user: aku tags: trunk | |
2013-03-23
| ||
18:04 | Updated the testsuite to account for the auto-help command introduced with [63db617e97]. check-in: 56a8582121 user: aku tags: trunk | |
2013-03-21
| ||
05:51 | Added class-global flag for default interactivity of privates/configs check-in: da1183bcac user: aku tags: trunk | |
05:40 | Multiple changes: - Updated testsuite for [00b6c20621]. - Added 'interactive' setting to privates. Default no prevents testsuite from going into interactive mode. - Dropped undocumented options from shown state and command completion (Interactive entry of arguments for a private). Exceptions: Still available as commands, and shown/completed when user has already entered data, proving their knowledge of them. - New pseudo-command .help, show help for the current command. - Help formatting: No empty lines when description is empty. - Additional help formats: list, and short check-in: 4c73bb7f4d user: aku tags: trunk | |
2013-03-14
| ||
03:22 | Changed boolean options name like --no-foo to have --foo as alias, not --no-no-foo. Changed flag memory to dictionary, enables the system to distinguish primary option from aliases and inverted aliases. The latter two get a generated description. Modified the help generation for a parameter collection to supply the necessary data. Extended testsuite to cover the changes and new feature. check-in: f9ae78b9ad user: aku tags: trunk | |
2013-03-08
| ||
23:47 | Modified heuristics to select a system validation type. argument, state => identity, option stasy with boolean. Updated tests. check-in: de2e0c43f8 user: andreask tags: trunk | |
17:53 | Implemented the ability to hide commands from help generation. check-in: 01195fc528 user: andreask tags: trunk | |
17:46 | Switched help structure to dicts, for easier extension in the future. check-in: 0eeb3bb9d6 user: andreask tags: trunk | |
07:47 | Specified structure for help information. Implemented its generation, filling the placeholder help methods. Added test. check-in: b5f9a41322 user: aku tags: trunk | |