aboutsummaryrefslogtreecommitdiffstats
path: root/mso-api-handlers/mso-api-handler-infra/src/main/resources/static/readme/testing.html
diff options
context:
space:
mode:
Diffstat (limited to 'mso-api-handlers/mso-api-handler-infra/src/main/resources/static/readme/testing.html')
-rw-r--r--mso-api-handlers/mso-api-handler-infra/src/main/resources/static/readme/testing.html42
1 files changed, 42 insertions, 0 deletions
diff --git a/mso-api-handlers/mso-api-handler-infra/src/main/resources/static/readme/testing.html b/mso-api-handlers/mso-api-handler-infra/src/main/resources/static/readme/testing.html
new file mode 100644
index 0000000000..7b558d940f
--- /dev/null
+++ b/mso-api-handlers/mso-api-handler-infra/src/main/resources/static/readme/testing.html
@@ -0,0 +1,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>