Repository: yetus Updated Branches: refs/heads/asf-site 2d7ed091d -> 7e76c3d06
YETUS-74. document test formats Project: http://git-wip-us.apache.org/repos/asf/yetus/repo Commit: http://git-wip-us.apache.org/repos/asf/yetus/commit/7e76c3d0 Tree: http://git-wip-us.apache.org/repos/asf/yetus/tree/7e76c3d0 Diff: http://git-wip-us.apache.org/repos/asf/yetus/diff/7e76c3d0 Branch: refs/heads/asf-site Commit: 7e76c3d0697bb51daad8407fbf2b1d890c30d700 Parents: 2d7ed09 Author: Allen Wittenauer <[email protected]> Authored: Tue Oct 20 13:54:30 2015 -0700 Committer: Allen Wittenauer <[email protected]> Committed: Tue Oct 20 13:54:30 2015 -0700 ---------------------------------------------------------------------- documentation/latest/index.html | 2 +- .../latest/precommit-testformats/index.html | 151 +++++++++++++++++++ 2 files changed, 152 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/yetus/blob/7e76c3d0/documentation/latest/index.html ---------------------------------------------------------------------- diff --git a/documentation/latest/index.html b/documentation/latest/index.html index 1c6e982..c23e49e 100644 --- a/documentation/latest/index.html +++ b/documentation/latest/index.html @@ -123,7 +123,7 @@ <li>If your project has advanced requirements such as module relationships not expressed in Maven, special profiles, or a need on os-specific prerequisites not managed by Maven then you’ll need to use our <a href="precommit-advanced">advanced usage guide</a>.</li> </ul> -<p>There is also documentation on <a href="precommit-buildtools">build systems</a> and <a href="precommit-bugsystems">bug systems</a></p> +<p>There is also documentation on <a href="precommit-buildtools">build systems</a>, <a href="precommit-bugsystems">bug systems</a> and <a href="precommit-testformats">test formats</a>.</p> <h1 id="yetus-release-doc-maker">Yetus Release Doc Maker</h1> http://git-wip-us.apache.org/repos/asf/yetus/blob/7e76c3d0/documentation/latest/precommit-testformats/index.html ---------------------------------------------------------------------- diff --git a/documentation/latest/precommit-testformats/index.html b/documentation/latest/precommit-testformats/index.html new file mode 100644 index 0000000..5ab5078 --- /dev/null +++ b/documentation/latest/precommit-testformats/index.html @@ -0,0 +1,151 @@ +<!--- + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. +--> + +<html> + <head> + <meta charset="utf-8"> + <title>Apache Yetus</title> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + <meta name="description" content=""> + <meta name="author" content=""> + + <link href="/assets/css/bootstrap.css" rel="stylesheet"> + <link href="/assets/css/bootstrap-theme.css" rel="stylesheet"> + <link href="/assets/css/font-awesome.css" rel="stylesheet"> + + <!-- JS --> + <script type="text/javascript" src="/assets/js/jquery-2.1.4.min.js"></script> + <script type="text/javascript" src="/assets/js/bootstrap.js"></script> + </head> + <body> + <div class="navbar navbar-inverse navbar-static-top" role="navigation"> + <div class="container"> + <div class="navbar-header"> + <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"> + <span class="sr-only">Toggle navigation</span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + </button> + <a class="img-responsive pull-left" href="/"> + <img style="max-height: 40px; margin-top: 5px; margin-bottom: 5px;" src="/assets/img/yetus_logo.png" alt="Apache Yetus logo" /> + </a> + </div> + <div class="navbar-collapse collapse"> + <ul class="nav navbar-nav"> + <li><a href="/downloads/">Downloads</a> + <li><a href="/documentation/latest/">Documentation</a> + </li> + <li class="dropdown"> + <a class="dropdown-toggle" data-toggle="dropdown" href="#">Get Involved <span class="caret"></span></a> + <ul class="dropdown-menu" role="menu" aria-labelledby="drop1"> + <li role="presentation"><a role="menuitem" tabindex="-1" href="/mailinglists"><i class="fa fa-commenting"></i> Mailing Lists</a> + </li> + <li role="presentation"><a role="menuitem" tabindex="-1" href="http://issues.apache.org/jira/browse/YETUS"><i class="fa fa-bug"></i> JIRA (Bugs)</a> + </li> + <li role="presentation"><a role="menuitem" tabindex="-1" href="https://git-wip-us.apache.org/repos/asf?s=yetus"><i class="fa fa-code"></i> Source (Apache)</a> + </li> + <li role="presentation"><a role="menuitem" tabindex="-1" href="https://github.com/apache/yetus"><i class="fa fa-github-alt"></i> Source (GitHub)</a> + </li> + <li role="presentation"><a role="menuitem" tabindex="-1" href="/contribute"><i class="fa fa-code-fork"></i> Contributing</a> + </li> + <li role="presentation"><a role="menuitem" tabindex="-1" href="https://twitter.com/ApacheYetus"><i class="fa fa-twitter"></i> @ApacheYetus</a> + </li> + </ul> + </li> + <li> + <li class="dropdown"> + <a class="dropdown-toggle" data-toggle="dropdown" href="#">Apache Software Foundation <b class="caret"></b></a> + <ul class="dropdown-menu" role="menu"> + <li><a href="http://www.apache.org">Apache Homepage</a> + </li> + <li><a href="http://www.apache.org/licenses/">Apache License</a> + </li> + <li><a href="http://www.apache.org/foundation/sponsorship.html">Sponsorship</a> + </li> + <li><a href="http://www.apache.org/foundation/thanks.html">Thanks</a> + </li> + <li><a href="http://www.apache.org/security/">Security</a> + </li> + </ul> + </li> + </li> + </ul> + </div> + <!--/.nav-collapse --> + </div> +</div> + + <div class="container"> + <!--- + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. +--> + +<h1 id="test-format-support">Test Format Support</h1> + +<p>test-patch has the ability to support multiple test formats. Test formats have some extra hooks to process the output of test tools and write the results to some tables. Every test format plug-in must have one line in order to be recognized:</p> +<pre class="highlight shell"><code>add_test_format <pluginname> +</code></pre> + +<ul> +<li><p>pluginname_process_tests</p> + +<ul> +<li>Given a path to the log file and tested module name, parse that file and store the test result into global variables and/or files.</li> +</ul></li> +<li><p>pluginname_finalize_results</p> + +<ul> +<li>Using the results stored by pluginname_process_tests, write them to the test result table and/or the footer table for reporting.</li> +</ul></li> +</ul> + + </div> + <div class="container"> + <hr> + <footer class="footer"> + <div class="row-fluid"> + <div class="span12 text-left"> + <div class="span12"> + Copyright 2008-2015 <a href="http://www.apache.org/">Apache Software Foundation</a>. Licensed under the <a href="http://www.apache.org/licenses/">Apache License v2.0</a>. Apache Yetus and the Apache feather logo are trademarks of The Apache Software Foundation. + </div> + </div> + + </div> + + </footer> +</div> + + </body> +</html>
