Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2019-12-02
13:34 • Closed ticket [a46a49b90f]: tests http-cookiejar-1.12 fail plus 7 other ch... artifact: 391be3b6f1 user: jan.nijtmans
13:28
Fix [a46a49b90f]: tests http-cookiejar-1.[12] fail check-in: 3a6e018caf user: jan.nijtmans tags: core-8-branch
13:00 • New ticket [a46a49b90f] tests http-cookiejar-1.12 fail. artifact: 9a34af0323 user: dgp

tests http-cookiejar-1.[12] fail

Closed / Fixeda46a49b90fd6ddaf92b09861d239fef003fc40d1Created 7 years agoUpdated 7 years ago
Descriptionplain2019-12-02 13:00:07
==== http-cookiejar-1.1 cookie storage: packaging FAILED
==== Contents of test case:

    package require cookiejar

---- Result was:
0.2.0
---- Result should have been (exact matching):
0.1
==== http-cookiejar-1.1 FAILED



==== http-cookiejar-1.2 cookie storage: packaging FAILED
==== Contents of test case:

    package require cookiejar
    package require cookiejar

---- Result was:
0.2.0
---- Result should have been (exact matching):
0.1
==== http-cookiejar-1.2 FAILED

These strike me as unwise, even useless tests. At a minimum, the required maintentance is an easily overlooked and forgotten chore. What value is
traded for it? What is being tested?
Referenced by1
jan.nijtmanswiki2019-12-02 13:34:40

Actually I agree that those tests are not so useful: The "package require"'s are already done when determining the testConstraints, so doing it again doesn't give much additiona information.

However, they neither harm much: I simply should have checked this on a machine with SQLite installed. So, this is a good reminder anyway. Thanks!

Noting ... since the "sqlite" test contraint already implies "notOSXtravis" and "cookiejar" implies "sqlite", it doesn't make much sense to repeat those constraints for every test-case ....

Log in (anonymous is fine) to add a comment.