\ No newline at end of file
diff --git a/junit/Junit/Testcase/index.html b/junit/Junit/Testcase/index.html
new file mode 100644
index 0000000..7bac301
--- /dev/null
+++ b/junit/Junit/Testcase/index.html
@@ -0,0 +1,2 @@
+
+Testcase (junit.Junit.Testcase)
Module Junit.Testcase
type t
val error : ?message:string->typ:string->name:string->classname:string->time:float-> string ->t
Indicates that the test errored. An errored test is one that had an unanticipated problem. e.g., an unchecked throwable; or a problem with the implementation of the test. Contains as a text node relevant data for the error, e.g., a stack trace.
parameter message
The error message. e.g., if a java exception is thrown, the return value of getMessage().
parameter typ
The type of error that occured. e.g., if a java execption is thrown the full class name of the exception.
parameter description
Description of the error.
parameter name
Name of the test method.
parameter classname
Full class name for the class the test method is in.
parameter time
Time taken (in seconds) to execute the test.
val failure : ?message:string->typ:string->name:string->classname:string->time:float-> string ->t
Indicates that the test failed. A failure is a test which the code has explicitly failed by using the mechanisms for that purpose. e.g., via an assertEquals. Contains as a text node relevant data for the failure, e.g., a stack trace.
parameter message
The message specified in the assert.
parameter typ
The type of the assert.
parameter description
Description of the failure.
parameter name
Name of the test method.
parameter classname
Full class name for the class the test method is in.
parameter time
Time taken (in seconds) to execute the test.
val skipped : name:string->classname:string->time:float->t
skipped ~name ~classname ~time creates a skipped element.
Indicates that the test has not been launched.
parameter name
Name of the test method.
parameter classname
Full class name for the class the test method is in.
parameter time
Time taken (in seconds) to execute the test.
val pass : name:string->classname:string->time:float->t
pass ~name ~classname ~time creates a pass element.
Indicates that the test is a success.
parameter name
Name of the test method.
parameter classname
Full class name for the class the test method is in.
parameter time
Time taken (in seconds) to execute the test.
\ No newline at end of file
diff --git a/junit/Junit/Testsuite/index.html b/junit/Junit/Testsuite/index.html
new file mode 100644
index 0000000..9de8857
--- /dev/null
+++ b/junit/Junit/Testsuite/index.html
@@ -0,0 +1,3 @@
+
+Testsuite (junit.Junit.Testsuite)
Module Junit.Testsuite
type t
val make : ?package:string->?timestamp:Ptime.t->?hostname:string->?system_out:string->?system_err:string->name:string-> unit ->t
make ?package ?timestamp ?hostname ?system_out ?system_err
+ ~name () creates a testsuite.
Attributes
parameter package
Derived from the testsuite name in the non-aggregated documents.
parameter timestamp
When the test was executed. Timezone may not be specified. Uses the current time by default.
parameter hostname
Host on which the tests were executed. Uses localhost by default.
parameter system_out
Data that was written to standard out while the test was executed.
parameter system_err
Data that was written to standard error while the test was executed.
parameter name
Full class name of the test for non-aggregated testsuite documents. Class name without the package for aggregated testsuites documents.
\ No newline at end of file
diff --git a/junit/Junit/index.html b/junit/Junit/index.html
new file mode 100644
index 0000000..339b6f6
--- /dev/null
+++ b/junit/Junit/index.html
@@ -0,0 +1,2 @@
+
+Junit (junit.Junit)
\ No newline at end of file
diff --git a/junit/Junit_xml/.dune-keep b/junit/Junit_xml/.dune-keep
new file mode 100644
index 0000000..e69de29
diff --git a/junit/Junit_xml/index.html b/junit/Junit_xml/index.html
new file mode 100644
index 0000000..cf59815
--- /dev/null
+++ b/junit/Junit_xml/index.html
@@ -0,0 +1,2 @@
+
+Junit_xml (junit.Junit_xml)
Module Junit_xml
Low level interface to build XML elements.
Categories of elements and attributes
Attributes
type token = string
https://www.w3.org/TR/xmlschema-2/#token
Definition: token represents tokenized strings. The ·value space· of token is the set of strings that do not contain the carriage return (#xD), line feed (#xA) nor tab (#x9) characters, that have no leading or trailing spaces (#x20) and that have no internal sequences of two or more spaces. The ·lexical space· of token is the set of strings that do not contain the carriage return (#xD), line feed (#xA) nor tab (#x9) characters, that have no leading or trailing spaces (#x20) and that have no internal sequences of two or more spaces. The ·base type· of token is normalizedString.
Indicates that the test errored. An errored test is one that had an unanticipated problem. e.g., an unchecked throwable; or a problem with the implementation of the test. Contains as a text node relevant data for the error, e.g., a stack trace.
val error : ?message:string->typ:string-> string ->error
error ?message ~typ description creates an error element.
parameter message
The error message. e.g., if a java exception is thrown, the return value of getMessage().
parameter typ
The type of error that occured. e.g., if a java execption is thrown the full class name of the exception.
Indicates that the test failed. A failure is a test which the code has explicitly failed by using the mechanisms for that purpose. e.g., via an assertEquals. Contains as a text node relevant data for the failure, e.g., a stack trace.
val failure : ?message:string->typ:string-> string ->failure
failure ?message ~typ description creates a failure element.
val testsuite : ?system_out:string->?system_err:string->package:token->id:int->name:token->timestamp:timestamp->hostname:token->tests:int->failures:int->errors:int->time:float->properties->testcases->testsuite
Creates a testsuite.
Attributes
parameter package
Derived from the testsuite name in the non-aggregated documents.
parameter id
Starts at 0 for the first testsuite and is incremented by 1 for each following testsuite.
parameter name
Full class name of the test for non-aggregated testsuite documents. Class name without the package for aggregated testsuites documents.
parameter timestamp
When the test was executed. Timezone may not be specified.
parameter hostname
Host on which the tests were executed. 'localhost' should be used if the hostname cannot be determined.
parameter tests
The total number of tests in the suite.The total number of tests in the suite.
parameter failures
The total number of tests in the suite that failed. A failure is a test which the code has explicitly failed by using the mechanisms for that purpose. e.g., via an assertEquals.
parameter errors
The total number of tests in the suite that errored. An errored test is one that had an unanticipated problem. e.g., an unchecked throwable; or a problem with the implementation of the test.
parameter time
Time taken (in seconds) to execute the tests in the suite.
Elements
parameter properties
Properties (e.g., environment settings) set during test execution.
parameter testcases
List of test executed.
parameter system_out
Data that was written to standard out while the test was executed.
parameter system_err
Data that was written to standard error while the test was executed.
\ No newline at end of file
diff --git a/junit/index.html b/junit/index.html
new file mode 100644
index 0000000..282e079
--- /dev/null
+++ b/junit/index.html
@@ -0,0 +1,2 @@
+
+index (junit.index)
junit index
Library junit
This library exposes the following toplevel modules:
\ No newline at end of file
diff --git a/junit_alcotest/Junit_alcotest/.dune-keep b/junit_alcotest/Junit_alcotest/.dune-keep
new file mode 100644
index 0000000..e69de29
diff --git a/junit_alcotest/Junit_alcotest/index.html b/junit_alcotest/Junit_alcotest/index.html
new file mode 100644
index 0000000..bb7c049
--- /dev/null
+++ b/junit_alcotest/Junit_alcotest/index.html
@@ -0,0 +1,2 @@
+
+Junit_alcotest (junit_alcotest.Junit_alcotest)
Module Junit_alcotest
Interface to product JUnit reports for Alcotest
It tries to provide a layer as thin as possible on top of Alcotest to allow to port existing test without writing a lot a boilerplate.
val wrap_test : ?classname:string->(Junit.Testcase.t-> unit)->unit Alcotest.test_case->unit Alcotest.test_case
wrap_test handle_result test_cases wraps test cases to create Junit testcases and pass them to handle_result.
Can be used with run to create customized Junit testsuites if the output of run_and_report is not as expected.
parameter classname
will populate the 'classname' attribute for the test case. For best hierarchic rendering in Jenkins, it should contain a period. For example, "foo.bar.baz" will be rendered a package "foo.bar" that contains a class "baz", which contains the current test case and others. Defaults to the name of the test case.
val run : ?argv:string array-> string ->unit Alcotest.test list-> unit
run ?argv n t is a wrapper around Alcotest.run, only setting and_exit to false. It is mandatory to be able to process results after the end of the run.
exit () exists with appropriate code if run_and_report's and_exit was true or raise Alcotest.Test_error in case of error.
val run_and_report : ?and_exit:bool->?package:string->?timestamp:Ptime.t->?argv:string array-> string ->(string * unit Alcotest.test_case list) list->Junit.Testsuite.t * exit
run name tests is a wrapper around run and wrap_test. It runs the tests and creates a Junit testsuite from the results.
As Alcotest.run is always called with and_exit = false to be able to produce a report, the behavior is emulated by the returned exit function.
The optional argument and_exit controls what happens when the exit function is called. By default, and_exit is set, which makes the function exit with 0 if everything is fine or 1 if there is an issue. If and_exit is false, then the function raises Test_error on error.
\ No newline at end of file
diff --git a/junit_alcotest/index.html b/junit_alcotest/index.html
new file mode 100644
index 0000000..99ee98a
--- /dev/null
+++ b/junit_alcotest/index.html
@@ -0,0 +1,2 @@
+
+index (junit_alcotest.index)
junit_alcotest index
Library junit_alcotest
The entry point of this library is the module: Junit_alcotest.
\ No newline at end of file
diff --git a/junit_ounit/Junit_ounit/.dune-keep b/junit_ounit/Junit_ounit/.dune-keep
new file mode 100644
index 0000000..e69de29
diff --git a/junit_ounit/Junit_ounit/index.html b/junit_ounit/Junit_ounit/index.html
new file mode 100644
index 0000000..6579334
--- /dev/null
+++ b/junit_ounit/Junit_ounit/index.html
@@ -0,0 +1,2 @@
+
+Junit_ounit (junit_ounit.Junit_ounit)
val of_results : name:string-> OUnit.test_results ->Junit.Testsuite.t
of_results ~name l converts the list of results l into a Junit testsuite named name.
val to_file : name:string-> string -> OUnit.test_results -> unit
Shortcut: converts the test results to a Junit testsuite, and dump it into the given file as XML.
\ No newline at end of file
diff --git a/junit_ounit/index.html b/junit_ounit/index.html
new file mode 100644
index 0000000..1c54c88
--- /dev/null
+++ b/junit_ounit/index.html
@@ -0,0 +1,2 @@
+
+index (junit_ounit.index)
junit_ounit index
Library junit_ounit
The entry point of this library is the module: Junit_ounit.