diff options
Diffstat (limited to 'lib/common_test/doc/src')
| -rw-r--r-- | lib/common_test/doc/src/Makefile | 1 | ||||
| -rw-r--r-- | lib/common_test/doc/src/cover_chapter.xml | 25 | ||||
| -rw-r--r-- | lib/common_test/doc/src/notes.xml | 201 | ||||
| -rw-r--r-- | lib/common_test/doc/src/ref_man.xml | 1 | 
4 files changed, 219 insertions, 9 deletions
| diff --git a/lib/common_test/doc/src/Makefile b/lib/common_test/doc/src/Makefile index 99161ce68a..57233a7f6c 100644 --- a/lib/common_test/doc/src/Makefile +++ b/lib/common_test/doc/src/Makefile @@ -47,6 +47,7 @@ CT_MODULES = \  	ct_snmp \  	unix_telnet \  	ct_slave \ +	ct_property_test \  	ct_netconfc  CT_XML_FILES = $(CT_MODULES:=.xml) diff --git a/lib/common_test/doc/src/cover_chapter.xml b/lib/common_test/doc/src/cover_chapter.xml index a215c8c2f3..accb94e1a9 100644 --- a/lib/common_test/doc/src/cover_chapter.xml +++ b/lib/common_test/doc/src/cover_chapter.xml @@ -4,7 +4,7 @@  <chapter>    <header>      <copyright> -      <year>2006</year><year>2013</year> +      <year>2006</year><year>2014</year>        <holder>Ericsson AB. All Rights Reserved.</holder>      </copyright>      <legalnotice> @@ -81,10 +81,7 @@        specify that previously exported data should be imported and        included in the analysis for a test (you can specify multiple        import files). This way it is possible to analyse total code coverage -      without necessarily running all tests at once. Note that even if -      you run separate tests in one test run, code coverage data will -      not be passed on from one test to another unless you specify an -      export file for Common Test to use for this purpose.</p> +      without necessarily running all tests at once.</p>      <p>To activate the code coverage support, you simply specify the        name of the cover specification file as you start Common Test. @@ -266,10 +263,20 @@ ct_cover:cross_cover_analyse(Level, [{s1,S1LogDir},{s2,S2LogDir}]).</code>    <section>      <title>Logging</title> -    <p>To view the result of a code coverage test, follow the -      "Coverage log" link on the test suite results page. This  -      takes you to the code coverage overview page. If you have  -      successfully performed a detailed coverage analysis, you  +    <p>To view the result of a code coverage test, click the button +      labled "COVER LOG" in the top level index page for the test run.</p> + +    <p>Prior to Erlang/OTP 17.1, if your test run consisted of +      multiple tests, cover would be started and stopped for each test +      within the test run. Separate logs would be available via the +      "Coverage log" link on the test suite result pages. These links +      are still available, but now they all point to the same page as +      the button on the top level index page. The log contains the +      accumulated results for the complete test run. See the release +      notes for more information about this change.</p> + +    <p>The buttonc takes you to the code coverage overview page. If you +      have successfully performed a detailed coverage analysis, you        find links to each individual module coverage page here.</p>      <p>If cross cover analysis has been performed, and there are diff --git a/lib/common_test/doc/src/notes.xml b/lib/common_test/doc/src/notes.xml index ddfeb0964b..94738d2eff 100644 --- a/lib/common_test/doc/src/notes.xml +++ b/lib/common_test/doc/src/notes.xml @@ -32,6 +32,207 @@      <file>notes.xml</file>      </header> +<section><title>Common_Test 1.9</title> + +    <section><title>Fixed Bugs and Malfunctions</title> +      <list> +        <item> +          <p> +	    The source code to html code generator in Test Server +	    (and Common Test) would fail to generate anchors in the +	    html code for functions with non-expandable macros, +	    resulting in bad html links to such functions. This +	    correction lets the code generator ignore macros that +	    can't be expanded (i.e. not pre-process them), so that +	    correct anchors will always be produced.</p> +          <p> +	    Own Id: OTP-11766 Aux Id: seq12556 </p> +        </item> +        <item> +          <p> +	    OTP-11971 erroneously changed the handling of relative +	    paths (import/export files) specified in the cover spec +	    file. This is now corrected so these are expected to be +	    relative to the directory where the cover spec file +	    itself is stored.</p> +          <p> +	    Own Id: OTP-12031</p> +        </item> +        <item> +          <p> +	    Common Test would sometimes crash while trying to print +	    large amounts of SASL reports to log on a computer with a +	    slow file system. This problem (due to an error in IO +	    message buffering in ct_logs) has been fixed.</p> +          <p> +	    Own Id: OTP-12159</p> +        </item> +        <item> +          <p> +	    The common_test telnet client, ct_telnet and friends, had +	    some unstable test cases. Some of these were caused by +	    the unix_telnet callback sending an extra newline after +	    sending the password. This caused the sever to send an +	    extra prompt back which confused the tests. The extra +	    newline is no longer sent.</p> +          <p> +	    Also, debug printouts and logging from the telnet client +	    is improved, and some test cases are slightly modified in +	    order to stabilize the test.</p> +          <p> +	    Own Id: OTP-12329</p> +        </item> +        <item> +          <p> +	    ct_netconfc did not expect the return value +	    {error,timeout} from ssh_connection:subsystem/4. This has +	    been corrected.</p> +          <p> +	    Own Id: OTP-12334</p> +        </item> +      </list> +    </section> + + +    <section><title>Improvements and New Features</title> +      <list> +        <item> +          <p> +	    A new option, <c>{newline,boolean()}</c> is added to all +	    functions in <c>ct_telnet</c> that send data (command +	    strings) to the telnet server. By default, +	    <c>ct_telnet</c> adds a newline to all command strings, +	    and by setting the new option to <c>false</c> this +	    behavior is turned off.</p> +          <p> +	    Own Id: OTP-12252 Aux Id: seq12730 </p> +        </item> +        <item> +          <p> +	    Distribute <c>autoconf</c> helpers to applications at +	    build time instead of having multiple identical copies +	    committed in the repository.</p> +          <p> +	    Own Id: OTP-12348</p> +        </item> +      </list> +    </section> + +</section> + +<section><title>Common_Test 1.8.2</title> + +    <section><title>Fixed Bugs and Malfunctions</title> +      <list> +        <item> +          <p> +	    Ticket OTP-11971 introduced a runtime dependency towards +	    test_server-3.7.1, since the interface between +	    test_server and common_test was changed. Erroneously, the +	    common_test.app file was not updated according to this. +	    This has now been corrected.</p> +          <p> +	    Own Id: OTP-12037</p> +        </item> +      </list> +    </section> + + +    <section><title>Improvements and New Features</title> +      <list> +        <item> +          <p> +	    Warning: this is experimental and may disappear or change +	    without previous warning.</p> +          <p> +	    Experimental support for running Quickcheck and PropEr +	    tests from common_test suites is added to common_test. +	    See the reference manual for the new module +	    <c>ct_property_testing</c>.</p> +          <p> +	    Experimental property tests are added under +	    <c>lib/{inet,ssh}/test/property_test</c>. They can be run +	    directly or from the commont_test suites +	    <c>inet/ftp_property_test_SUITE.erl</c> and +	    <c>ssh/test/ssh_property_test_SUITE.erl</c>.</p> +          <p> +	    See the code in the <c>test</c> directories and the man +	    page for details.</p> +          <p> +	    (Thanks to Tuncer Ayaz for a patch adding Triq)</p> +          <p> +	    Own Id: OTP-12119</p> +        </item> +      </list> +    </section> + +</section> + +<section><title>Common_Test 1.8.1</title> + +    <section><title>Fixed Bugs and Malfunctions</title> +      <list> +        <item> +          <p> +	    Substrings in long telnet messages would sometimes get +	    wrongly reversed. This error has been corrected.</p> +          <p> +	    Own Id: OTP-11871 Aux Id: seq12581 </p> +        </item> +        <item> +          <p> +	    The basic_html logging mode in Common Test (for +	    compatibility with old browsers) generated HTML code with +	    unbalanced tags. This has been fixed.</p> +          <p> +	    Own Id: OTP-11917 Aux Id: seq12598 </p> +        </item> +        <item> +          <p> +	    The mechanism for running code cover analysis with +	    common_test has been improved. Earlier, if a test run +	    consisted of multiple tests, cover would be started and +	    stopped for each test. This would give "intermediate" +	    cover logs available from the "Coverage log" link on the +	    test suite result pages. To accumulate cover data over +	    all tests, the 'export' option had to be used in the +	    cover spec file. This was not well documented, and the +	    functionality was quite confusing.</p> +          <p> +	    Using the 'nodes' option in the cover spec file would +	    fail when the test run consisted of multiple tests, since +	    the specified nodes would only be included in the cover +	    analysis of the first test.</p> +          <p> +	    The repeated compilation and analysis of the same modules +	    was also very time consuming.</p> +          <p> +	    To overcome these problems, ct will now only cover +	    compile and analyze modules once per test run, i.e. once +	    for each cover spec file. The log file is available via a +	    new button on the top level index page. The old "Coverage +	    log" links on the test suite result pages still exist, +	    but they all point to the same log containing the +	    accumulated result.</p> +          <p> +	    Own Id: OTP-11971</p> +        </item> +        <item> +          <p> +	    If multiple tests would run simultaneously on different +	    Erlang nodes, writing their logs to the same directory, +	    then there would often be entries in the all_runs.html +	    log file showing incomplete results (all zeroes) upon +	    completion. This problem was caused by a bug in the +	    Common Test log cache mechanism, which has been fixed.</p> +          <p> +	    Own Id: OTP-11988 Aux Id: seq12611 </p> +        </item> +      </list> +    </section> + +</section> +  <section><title>Common_Test 1.8</title>      <section><title>Fixed Bugs and Malfunctions</title> diff --git a/lib/common_test/doc/src/ref_man.xml b/lib/common_test/doc/src/ref_man.xml index 2f5c892e60..c266b70d00 100644 --- a/lib/common_test/doc/src/ref_man.xml +++ b/lib/common_test/doc/src/ref_man.xml @@ -78,6 +78,7 @@    <xi:include href="unix_telnet.xml"/>    <xi:include href="ct_slave.xml"/>    <xi:include href="ct_hooks.xml"/> +  <xi:include href="ct_property_test.xml"/>  </application> | 
