Repository: yetus
Updated Branches:
  refs/heads/master 2111a011a -> 0c2f54ade


YETUS-444 Improve documentation for Test Format Support

Signed-off-by: Allen Wittenauer <[email protected]>


Project: http://git-wip-us.apache.org/repos/asf/yetus/repo
Commit: http://git-wip-us.apache.org/repos/asf/yetus/commit/0c2f54ad
Tree: http://git-wip-us.apache.org/repos/asf/yetus/tree/0c2f54ad
Diff: http://git-wip-us.apache.org/repos/asf/yetus/diff/0c2f54ad

Branch: refs/heads/master
Commit: 0c2f54ade17fd8da49dc4c38e99c3376d367a0ff
Parents: 2111a01
Author: Ajay Yadava <[email protected]>
Authored: Sun Aug 21 19:01:32 2016 +0530
Committer: Allen Wittenauer <[email protected]>
Committed: Wed Aug 24 07:57:11 2016 -0700

----------------------------------------------------------------------
 .../source/documentation/in-progress/precommit-testformats.md    | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/yetus/blob/0c2f54ad/asf-site-src/source/documentation/in-progress/precommit-testformats.md
----------------------------------------------------------------------
diff --git 
a/asf-site-src/source/documentation/in-progress/precommit-testformats.md 
b/asf-site-src/source/documentation/in-progress/precommit-testformats.md
index 41dbb11..fcbfc36 100644
--- a/asf-site-src/source/documentation/in-progress/precommit-testformats.md
+++ b/asf-site-src/source/documentation/in-progress/precommit-testformats.md
@@ -26,6 +26,8 @@ test-patch has the ability to support multiple test formats. 
Test formats have s
 add_test_format <pluginname>
 ```
 
+Test format plugins can provide following two methods, which will be called by 
test-patch if defined.
+
 * pluginname\_process\_tests
 
     - 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.
@@ -33,3 +35,5 @@ add_test_format <pluginname>
 * pluginname\_finalize\_results
 
     - Using the results stored by pluginname\_process\_tests, write them to 
the test result table and/or the footer table for reporting.
+
+For an example of how to write a test-format plugin, you can look at [junit 
plugin](https://github.com/apache/yetus/blob/master/precommit/test-patch.d/junit.sh)
 bundled in Apache Yetus.
\ No newline at end of file

Reply via email to