at:tutorial:appendix
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
at:tutorial:appendix [2008/07/08 11:46] – added tvcutsem | at:tutorial:appendix [2008/07/10 14:07] – * tvcutsem | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Appendix ====== | ====== Appendix ====== | ||
- | In the appendix, we explain useful libraries available to the AmbientTalk/ | + | In the appendix, we explain useful libraries available to the AmbientTalk/ |
===== Unit Testing Framework ===== | ===== Unit Testing Framework ===== | ||
Line 7: | Line 7: | ||
The file '' | The file '' | ||
- | ====== Creating a Unit Test ====== | + | ==== Creating a Unit Test ==== |
To create your own unit test, make an extension of the '' | To create your own unit test, make an extension of the '' | ||
Line 29: | Line 29: | ||
Like in JUnit and SUnit, it is possible to define two methods named '' | Like in JUnit and SUnit, it is possible to define two methods named '' | ||
- | ====== Assertions | + | ==== Assertions ==== |
Within a '' | Within a '' | ||
Line 60: | Line 60: | ||
</ | </ | ||
- | ====== Asynchronous Unit Tests ====== | + | ==== Asynchronous Unit Tests ==== |
Up to now, the unit testing framework assumed that all of your unit tests consisted of purely synchronous method invocations. When running the tests, all '' | Up to now, the unit testing framework assumed that all of your unit tests consisted of purely synchronous method invocations. When running the tests, all '' | ||
Line 83: | Line 83: | ||
It is also possible to use '' | It is also possible to use '' | ||
- | ====== Test Suites | + | ==== Test Suites ==== |
It is possible to group multiple unit test objects into what is known as a "test suite" | It is possible to group multiple unit test objects into what is known as a "test suite" |
at/tutorial/appendix.txt · Last modified: 2021/09/24 10:28 by elisag