Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Editorial fix |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk | minor change |
Files: | files | file ages | folders |
SHA3-256: |
112d3b968b380661d420a91e85fe0cae |
User & Date: | dkf 2018-09-15 11:33:11 |
Context
2018-09-16
| ||
16:23 | TIP 517 now in VOTING state check-in: 2b1af3a2c0 user: fvogel tags: trunk | |
2018-09-15
| ||
11:33 | Editorial fix check-in: 112d3b968b user: dkf tags: trunk, minor change | |
11:13 | Editorial fix check-in: b9d2ac8f53 user: dkf tags: trunk, minor change | |
Changes
Changes to tip/452.md.
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
..
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
|
This TIP adds support for building these mechanisms, making it significantly easier to create isolated unit tests of Tcl code. # Proposal That a framework to easily create test stubs/mocks of Tcl commands be added to the **tcltest_ package. Additionally, to facilitate the creation of automated test for legacy Tcl code. Commands supporting _test seam_ creation and specification would also be included proposed package. ## Description It provides a fully functional implementation of the following commands: ................................................................................ * **::tcltest::CallProc** - Call the real implementation of a stubbed out procedure. * **::tcltest::Seam** - Test seam definition and injection \(aka enabling\). This command is available without requiring the tcltest package. # Reference Implementation See the tip-452 branch \(<http://core.tcl.tk/tcl/timeline?n=100&r=tip-452\),> in particular, see http-tip-452.test for an example of using the procedures added by this package. ## Origins of Reference Implementation The reference implementation was done at SAP Labs, LLC \(a subsidiary of SAP Americal, Inc.\) and approved for release as Open Source under a BSD license. # Copyright This document has been placed in the public domain. |
|
|
|
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
..
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
|
This TIP adds support for building these mechanisms, making it significantly easier to create isolated unit tests of Tcl code. # Proposal That a framework to easily create test stubs/mocks of Tcl commands be added to the **tcltest** package. Additionally, to facilitate the creation of automated test for legacy Tcl code. Commands supporting _test seam_ creation and specification would also be included proposed package. ## Description It provides a fully functional implementation of the following commands: ................................................................................ * **::tcltest::CallProc** - Call the real implementation of a stubbed out procedure. * **::tcltest::Seam** - Test seam definition and injection \(aka enabling\). This command is available without requiring the tcltest package. # Reference Implementation See the [tip-452 branch](http://core.tcl.tk/tcl/timeline?n=100&r=tip-452), in particular, see `http-tip-452.test` for an example of using the procedures added by this package. ## Origins of Reference Implementation The reference implementation was done at SAP Labs, LLC \(a subsidiary of SAP Americal, Inc.\) and approved for release as Open Source under a BSD license. # Copyright This document has been placed in the public domain. |