File: TUT-2006-10-31.xml

package info (click to toggle)
libtut 0.0.20070706-1
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd, lenny, squeeze, stretch, wheezy
  • size: 1,020 kB
  • ctags: 607
  • sloc: cpp: 3,588; sh: 2,202; xml: 137; makefile: 59; ansic: 9
file content (35 lines) | stat: -rw-r--r-- 1,107 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<?xml version="1.0"?>
<changes>

<p>
	Today's update is the work of a new TUT's contributor, Denis Kononenko.
</p>

<p>
	Jamfile added to build TUT Framework using
	<a href="http://boost.sourceforge.net/boost-build2/">Boost Build System V2.</a>
	It builds TUT itself and automatically executes the selftest. 
	Further enchancements are coming soon.
</p>
<p>
  New functionality is added: now we can optionally specify the test name right from inside the test.
<pre>
    template &lt;&nbsp;&gt; template &lt;&nbsp;&gt; 
    void my_object_tests::test &lt; 1 &gt; () 
    { 
        set_test_name("test basic scenario"); 
        ... 
    }</pre>
	If the test fails the test name will appear in the test report, e.g.:
<pre>
    ---&gt; group: my_object_tests, test: test&lt;1&gt; : test basic scenario 
         problem: assertion failed 
         failed assertion: "not implemented"</pre>
</p>
<p>
	Also a custom reporter can retrieve the test name using <code>tut::test_result::name</code> member.
</p>
<p>
  	Minor fix: TUT selftest didn't exit with code 0 if there have been failed tests.
</p>
</changes>