-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathtesting.html
114 lines (114 loc) · 6.57 KB
/
testing.html
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>WiredTiger: WiredTiger testing</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
$(document).ready(initResizable);
$(window).load(resizeHeight);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="wiredtiger.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectlogo"><a href="http://wiredtiger.com/"><img alt="Logo" src="LogoFinal-header.png" alt="WiredTiger" /></a></td>
<td style="padding-left: 0.5em;">
<div id="projectname">
 <span id="projectnumber">Version 2.8.0</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<div class="banner">
<a href="https://github.com/wiredtiger/wiredtiger">Fork me on GitHub</a>
<a class="last" href="http://groups.google.com/group/wiredtiger-users">Join my user group</a>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.9.1 -->
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main Page</span></a></li>
<li class="current"><a href="pages.html"><span>Related Pages</span></a></li>
<li><a href="modules.html"><span>Modules</span></a></li>
<li><a href="examples.html"><span>Examples</span></a></li>
<li><a href="community.html"><span>Community</span></a></li>
<li><a href="license.html"><span>License</span></a></li>
</ul>
</div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('testing.html','');});
</script>
<div id="doc-content">
<div class="header">
<div class="headertitle">
<div class="title">WiredTiger testing </div> </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><p>WiredTiger uses a combination of several different tools and test programs for testing WiredTiger.</p>
<p>WiredTiger testing is done automatically using the <a href="http://jenkins-ci.org/">Jenkins</a> continuous integration testing framework. This allows us to be confident we don't introduce problems in a non-standard configuration, or performance regressions.</p>
<h1><a class="anchor" id="test_suite"></a>
Unit Test Suite</h1>
<p>WiredTiger's primary functionality and regression testing is done in a Python unit test suite (found in the source tree under <code>test/suite</code>).</p>
<p>The WiredTiger Python test suite includes approximately 10,000 separate tests which are run on all platforms supported by WiredTiger. Each test is intended to test a single operation in a reproducible way, making it easy to diagnose errors. The test suite runs multiple test cases in parallel, allowing it to be run in a relatively short period of time.</p>
<p>The WiredTiger unit test suite includes tests that cover:</p><ul>
<li>WiredTiger functionality (for example, cursors, transactions and recovery),</li>
<li>Combinations of WiredTiger's configuration settings and APIs,</li>
<li>Bug regression tests.</li>
</ul>
<p>The WiredTiger Python test suite is built using the WiredTiger Python API and the Python unittest functionality (the test suite requires at least Python version 2.6).</p>
<p>The WiredTiger test suite automatically runs as part of every commit into the WiredTiger GitHub source tree.</p>
<h1><a class="anchor" id="testing_performance"></a>
Performance Testing</h1>
<p>Performance testing is primarily done using the <code>bench/wtperf</code> utility. A variety of database configurations are run based on the scripts in <code>bench/wtperf/runners</code>.</p>
<p>WiredTiger performance tests are automatically run as part of each commit into the <code>develop</code> branch of the WiredTiger GitHub source tree and compared against previous runs to detect performance regressions.</p>
<h1><a class="anchor" id="testing_stress"></a>
Stress Testing</h1>
<p>Stress testing is primarily done using the <code>test/format</code> utility. This test program randomly configures a database and then runs some number of randomly selected operations, using some number of randomly selected threads, on that database. WiredTiger stress testing is run continuously on the WiredTiger GitHub <code>develop</code> branch.</p>
<h1><a class="anchor" id="testing_threads"></a>
Concurrency testing</h1>
<p>Concurrency testing is primarily done using the <code>test/format</code> utility. Additionally, the <code>test/thread</code> and <code>test/fops</code> test utilities test specific heavily threaded operations. WiredTiger concurrency testing is run continuously on the WiredTiger GitHub <code>develop</code> branch.</p>
<h1><a class="anchor" id="testing_static"></a>
Static analysis</h1>
<p>WiredTiger static analysis is done using three tools:</p>
<ul>
<li>The <a href="https://www.coverity.com/">Coverity, Inc.</a>software analysis tool; current results and historic defect reports are available at <a href="https://scan.coverity.com/projects/1018">Coverity's WiredTiger page</a>.</li>
<li>The Gimpel Software <a href="http://www.gimpel.com/html/flex.htm">FlexeLint</a> implementation of the UNIX lint tool.</li>
<li>The University of Illinois LLVM project's <a href="http://clang-analyzer.llvm.org/">Clang Static Analyzer</a>. </li>
</ul>
</div></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="index.html">Reference Guide</a></li>
<li class="footer">Copyright (c) 2008-2016 MongoDB, Inc. All rights reserved. Contact <a href="mailto:[email protected]">[email protected]</a> for more information.</li>
</ul>
</div>
</body>
</html>