|
2004-02-24
| ||
| 03:10 | • Add attachment 623787.patch to ticket [623787ffff] artifact: f667390c24 user: dgp | |
| 03:10 | • Ticket [623787ffff] programmatic access to summary data status still Open wi... artifact: 856696b07f user: dgp | |
| 03:10 | • Ticket [623787ffff]: 4 changes artifact: 7e793bebde user: dgp | |
|
2003-12-18
| ||
| 23:23 | • Ticket [623787ffff]: 4 changes artifact: 458f941fe8 user: dkf | |
|
2003-11-10
| ||
| 22:57 | • Ticket [623787ffff]: 4 changes artifact: 4223027274 user: davidw | |
| 22:57 | • Ticket [623787ffff]: 4 changes artifact: 36faa08316 user: davidw | |
| 22:57 | • Add attachment latest.diff.gz to ticket [623787ffff] artifact: a1cd65f720 user: davidw | |
| 22:53 | • Ticket [623787ffff] programmatic access to summary data status still Open wi... artifact: 9c7d72bf8a user: davidw | |
|
2003-08-30
| ||
| 21:12 | • Ticket [623787ffff]: 4 changes artifact: c614904ba2 user: davidw | |
|
2003-06-28
| ||
| 00:18 | • Ticket [623787ffff]: 1 change artifact: 422ca3e538 user: dgp | |
| 00:17 | • Ticket [623787ffff]: 4 changes artifact: 979e3b3158 user: dgp | |
|
2002-10-16
| ||
| 12:18 | • Ticket [623787ffff]: 5 changes artifact: db74aa5c5e user: dgp | |
| 05:19 | • Ticket [623787ffff]: 4 changes artifact: 2413af6e1d user: davidw | |
|
2002-10-15
| ||
| 22:05 | • New ticket [623787ffff]. artifact: 86a19c32e8 user: davidw | |
programmatic access to summary data
Open623787ffffffffffffffffffffffffffffffffffCreated 24 years agoUpdated 23 years ago
Descriptionplain2002-10-15 22:05:20
If one is running *lots* of tests, it might be nice to have an option to display the results in a different way, like: foo: pass bar: fail baz: pass fcopy: pass and so forth. Maybe it would be better to give some sort of programmatic interface to the summary information, such as test name, result, desired result, test text, etc... that way it would be possible to write ones own ways of collecting the information.
davidwplain2002-10-16 05:19:52
Logged In: YES user_id=240 I guess some of this is available, maybe another option to verbose is enough to keep it from giving you more information than just a plain 'fail'?
dgpplain2002-10-16 12:18:22
Logged In: YES user_id=80530 seems like the core of a good idea. If you can flesh it out a bit (what interface are you looking for, etc.) we can get a TIP going on it.
dgpplain2003-06-28 00:17:47
Logged In: YES user_id=80530 Tcl Bugs 761334 and 761344 suggest other needs along these lines. Currently summary information about the test suite is printed by [cleanupTests], but the data that makes up that report is not available. Additional interfaces to access the internal values like $numTests(Failed) would allow for combining results from multiple interps (the issue in those bug reports) and would allow for reporting the same data in alternate formats, as requested here.
dgp Ticket [623787ffff]: 1 change
[History diff]2003-06-28 00:18:25
davidwplain2003-08-30 21:12:52
Logged In: YES user_id=240 Upon looking through the code, it seems as if tcltest really was designed as an application rather than a library. 'puts', 'exit' and the like are used throughout.
davidwplain2003-11-10 22:53:14
Logged In: YES user_id=240 I have an initial cut at some changes. They are pretty far reaching, so before going any further, I would like to submit them for people to have a look at. Known failures: 1) One of the rename tests renames 'incr', which is used by the new version of the test suite. 2) A few of the tests access the 'testConstraints' variable directly. There are probably other things, but I'd rather find out sooner or later that some aspect of the direction I'm taking needs reworking or abbandoning.
davidwplain2003-11-10 22:57:41
Logged In: YES user_id=240 It wasn't ok with the previous upload. Let's try again and compress it this time.
davidwplain2003-11-10 22:57:42
File Added - 67031: latest.diff.gz
dkfplain2003-12-18 23:23:21
Logged In: YES user_id=79902 I approve of a programmatic way of getting test results in general and especially so if it works across processes (there are a few spots in the core test suite which could make good use of it) but I have no specific expertise to offer on how to make it happen or whether davidw's patch is a good one.
dgpplain2004-02-24 03:10:49
Logged In: YES user_id=80530 here's an updated patch against the current HEAD.
dgpplain2004-02-24 03:10:50
File Added - 77708: 623787.patch
Log in (anonymous is fine) to add a comment.
Attachments:
- 623787.patch [download] added by dgp on 2004-02-24 03:10:50. [details]
- latest.diff.gz [download] added by davidw on 2003-11-10 22:57:41. [details]