aboutsummaryrefslogtreecommitdiffstats
path: root/mso-api-handlers/mso-api-handler-infra/src/main/resources/static/readme/testing.html
blob: 7b558d940f8847e8595c15b23287fec6ad9c88c2 (plain)
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
<!DOCTYPE html>
<html lang="en">
<head>
	<link rel="stylesheet" type="text/css" href="./readme.css" >
	<title>Read Me</title>
	<script src="//code.jquery.com/jquery.min.js"></script>
</head>
<body>
	<div id="page-wrapper">
		<div id="page-setup"></div>
		<div id="right-col">
			<ul>
				<li class="title">
					<p>Testing</p>
				</li>
				<li class="info-title">
					<p>JUnitParams: JUnit Parameterized Tests</p>
				</li>
				<li class="info">
					<p>Using JUnitParams allows for the inclusion of tests running with multiple sets of parameters. A class utilizing 
					JUnitParams will specify @RunWith(JUnitParamsRunner.class) above the class declaration. To indicate that a test will 
					be using sets of parameters, include the annotation: @Parameters(method = "nameOfMethodContainingParameters").</p>
				</li>
				<li class="info">
					<p>The test method signature includes the order of the parameters that it will be receiving; it will run with 
					each set of parameters provided to it. The method containing the sets of parameters to be sent to the test method is 
					indicated using the annotation: @Parameters. This method will return a collection of objects that is passed to the 
					test method.</p>
				</li>
			</ul>
		</div>
	</div>
	<script>
		$.get("page.html", function(data){
			$("#page-setup").replaceWith(data);
		});
		$(window).load(function() {
  			$("body").fadeIn(.5);
		});
	</script>
</body>
</html>