Skip to content

Commit

Permalink
Change rst files used to compare the output
Browse files Browse the repository at this point in the history
  • Loading branch information
JokeWaumans committed Jan 10, 2024
1 parent 4861048 commit f90192c
Show file tree
Hide file tree
Showing 19 changed files with 232 additions and 78 deletions.
13 changes: 10 additions & 3 deletions tests/test_in/itest_as_utest_report.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
.. role:: xunit2rst-skip
.. role:: xunit2rst-fail
.. role:: xunit2rst-pass

.. _unit_test_report_itest_as_utest:

===================================
Expand All @@ -16,17 +20,20 @@ Test Reports
.. item:: REPORT_ITEST-FIRST_TEST Test report for ITEST-FIRST_TEST
:fails: ITEST-FIRST_TEST

Test result: Fail
Test result: :xunit2rst-fail:`Fail`


.. item:: REPORT_ITEST-AN_UNLINKED_TEST Test report for ITEST-AN_UNLINKED_TEST
:passes: ITEST-AN_UNLINKED_TEST

Test result: Pass
Test result: :xunit2rst-pass:`Pass`


.. item:: REPORT_ITEST-ANOTHER_TEST Test report for ITEST-ANOTHER_TEST
:passes: ITEST-ANOTHER_TEST

Test result: Pass
Test result: :xunit2rst-pass:`Pass`


Traceability Matrix
===================
Expand Down
13 changes: 10 additions & 3 deletions tests/test_in/itest_lin_report.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
.. role:: xunit2rst-skip
.. role:: xunit2rst-fail
.. role:: xunit2rst-pass

.. _integration_test_report_itest_lin:

=====================================
Expand All @@ -16,17 +20,20 @@ Test Reports
.. item:: REPORT_ITEST_LIN-FIRST_TEST Test report for ITEST_LIN-FIRST_TEST
:fails: ITEST_LIN-FIRST_TEST

Test result: Fail
Test result: :xunit2rst-fail:`Fail`


.. item:: REPORT_ITEST_LIN-AN_UNLINKED_TEST Test report for ITEST_LIN-AN_UNLINKED_TEST
:passes: ITEST_LIN-AN_UNLINKED_TEST

Test result: Pass
Test result: :xunit2rst-pass:`Pass`


.. item:: REPORT_ITEST_LIN-ANOTHER_TEST Test report for ITEST_LIN-ANOTHER_TEST
:passes: ITEST_LIN-ANOTHER_TEST

Test result: Pass
Test result: :xunit2rst-pass:`Pass`


Traceability Matrix
===================
Expand Down
13 changes: 10 additions & 3 deletions tests/test_in/itest_lin_report_failures.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
.. role:: xunit2rst-skip
.. role:: xunit2rst-fail
.. role:: xunit2rst-pass

.. _integration_test_report_itest_lin_report_failures:

=====================================================
Expand All @@ -16,7 +20,8 @@ Test Reports
.. item:: REPORT_ITEST-FIRST_TEST Test report for ITEST-FIRST_TEST
:fails: ITEST-FIRST_TEST

Test result: Fail
Test result: :xunit2rst-fail:`Fail`


::

Expand All @@ -27,12 +32,14 @@ Test Reports
.. item:: REPORT_ITEST-AN_UNLINKED_TEST Test report for ITEST-AN_UNLINKED_TEST
:passes: ITEST-AN_UNLINKED_TEST

Test result: Pass
Test result: :xunit2rst-pass:`Pass`


.. item:: REPORT_ITEST-ANOTHER_TEST Test report for ITEST-ANOTHER_TEST
:passes: ITEST-ANOTHER_TEST

Test result: Pass
Test result: :xunit2rst-pass:`Pass`


Traceability Matrix
===================
Expand Down
13 changes: 10 additions & 3 deletions tests/test_in/itest_report.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
.. role:: xunit2rst-skip
.. role:: xunit2rst-fail
.. role:: xunit2rst-pass

.. _integration_test_report_itest:

=================================
Expand All @@ -16,17 +20,20 @@ Test Reports
.. item:: REPORT_ITEST-FIRST_TEST Test report for ITEST-FIRST_TEST
:fails: ITEST-FIRST_TEST

Test result: Fail
Test result: :xunit2rst-fail:`Fail`


.. item:: REPORT_ITEST-AN_UNLINKED_TEST Test report for ITEST-AN_UNLINKED_TEST
:passes: ITEST-AN_UNLINKED_TEST

Test result: Pass
Test result: :xunit2rst-pass:`Pass`


.. item:: REPORT_ITEST-ANOTHER_TEST Test report for ITEST-ANOTHER_TEST
:passes: ITEST-ANOTHER_TEST

Test result: Pass
Test result: :xunit2rst-pass:`Pass`


Traceability Matrix
===================
Expand Down
13 changes: 10 additions & 3 deletions tests/test_in/itest_report_extra_content.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
.. role:: xunit2rst-skip
.. role:: xunit2rst-fail
.. role:: xunit2rst-pass

.. _integration_test_report_itest_report_extra_content:

======================================================
Expand All @@ -16,7 +20,8 @@ Test Reports
.. item:: REPORT_ITEST-FIRST_TEST Test report for ITEST-FIRST_TEST
:fails: ITEST-FIRST_TEST

Test result: Fail
Test result: :xunit2rst-fail:`Fail`


.. note::
This note is defined in ``doc/source/extra_content.yml`` and linked to ``doc/source/robot/example.robot`` in the ``Metadata`` section as shown in the snippet below:
Expand All @@ -29,12 +34,14 @@ Test Reports
.. item:: REPORT_ITEST-AN_UNLINKED_TEST Test report for ITEST-AN_UNLINKED_TEST
:passes: ITEST-AN_UNLINKED_TEST

Test result: Pass
Test result: :xunit2rst-pass:`Pass`


.. item:: REPORT_ITEST-ANOTHER_TEST Test report for ITEST-ANOTHER_TEST
:passes: ITEST-ANOTHER_TEST

Test result: Pass
Test result: :xunit2rst-pass:`Pass`


Extra content defined in `this YAML file`_, thanks to the feature :ref:`content`.

Expand Down
13 changes: 10 additions & 3 deletions tests/test_in/itest_report_log.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
.. role:: xunit2rst-skip
.. role:: xunit2rst-fail
.. role:: xunit2rst-pass

.. _integration_test_report_itest_report_log:

============================================
Expand All @@ -17,17 +21,20 @@ Test Reports
.. item:: REPORT_ITEST-FIRST_TEST Test report for ITEST-FIRST_TEST
:fails: ITEST-FIRST_TEST

Test result: Fail
Test result: :xunit2rst-fail:`Fail`


.. item:: REPORT_ITEST-AN_UNLINKED_TEST Test report for ITEST-AN_UNLINKED_TEST
:passes: ITEST-AN_UNLINKED_TEST

Test result: Pass
Test result: :xunit2rst-pass:`Pass`


.. item:: REPORT_ITEST-ANOTHER_TEST Test report for ITEST-ANOTHER_TEST
:passes: ITEST-ANOTHER_TEST

Test result: Pass
Test result: :xunit2rst-pass:`Pass`


Traceability Matrix
===================
Expand Down
13 changes: 10 additions & 3 deletions tests/test_in/itest_report_log_links.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
.. role:: xunit2rst-skip
.. role:: xunit2rst-fail
.. role:: xunit2rst-pass

.. _integration_test_report_itest_report_log_links:

==================================================
Expand All @@ -18,19 +22,22 @@ Test Reports
:fails: ITEST-FIRST_TEST
:ext_robotframeworklog: itest_log.html:s1-t1

Test result: Fail
Test result: :xunit2rst-fail:`Fail`


.. item:: REPORT_ITEST-AN_UNLINKED_TEST Test report for ITEST-AN_UNLINKED_TEST
:passes: ITEST-AN_UNLINKED_TEST
:ext_robotframeworklog: itest_log.html:s1-t2

Test result: Pass
Test result: :xunit2rst-pass:`Pass`


.. item:: REPORT_ITEST-ANOTHER_TEST Test report for ITEST-ANOTHER_TEST
:passes: ITEST-ANOTHER_TEST
:ext_robotframeworklog: itest_log.html:s1-t3

Test result: Pass
Test result: :xunit2rst-pass:`Pass`


Traceability Matrix
===================
Expand Down
49 changes: 34 additions & 15 deletions tests/test_in/itest_report_log_links_multisuite.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
.. role:: xunit2rst-skip
.. role:: xunit2rst-fail
.. role:: xunit2rst-pass

.. _integration_test_report_itest_report_log_links_multisuite:

=============================================================
Expand All @@ -18,91 +22,106 @@ Test Reports
:passes: ITEST-READ_PRODUCT_ID_1
:ext_robotframeworklog: itest_log.html:s1-s1-t1

Test result: Pass
Test result: :xunit2rst-pass:`Pass`


.. item:: REPORT_ITEST-READ_PRODUCT_ID_2 Test report for ITEST-READ_PRODUCT_ID_2
:passes: ITEST-READ_PRODUCT_ID_2
:ext_robotframeworklog: itest_log.html:s1-s1-t2

Test result: Pass
Test result: :xunit2rst-pass:`Pass`


.. item:: REPORT_ITEST-READ_PRODUCT_ID_3 Test report for ITEST-READ_PRODUCT_ID_3
:passes: ITEST-READ_PRODUCT_ID_3
:ext_robotframeworklog: itest_log.html:s1-s1-t3

Test result: Pass
Test result: :xunit2rst-pass:`Pass`


.. item:: REPORT_ITEST-READ_PRODUCT_ID_4 Test report for ITEST-READ_PRODUCT_ID_4
:passes: ITEST-READ_PRODUCT_ID_4
:ext_robotframeworklog: itest_log.html:s1-s1-t4

Test result: Pass
Test result: :xunit2rst-pass:`Pass`


.. item:: REPORT_ITEST-READ_PRODUCT_ID_5 Test report for ITEST-READ_PRODUCT_ID_5
:passes: ITEST-READ_PRODUCT_ID_5
:ext_robotframeworklog: itest_log.html:s1-s1-t5

Test result: Pass
Test result: :xunit2rst-pass:`Pass`


.. item:: REPORT_ITEST-READ_PRODUCT_ID_6 Test report for ITEST-READ_PRODUCT_ID_6
:passes: ITEST-READ_PRODUCT_ID_6
:ext_robotframeworklog: itest_log.html:s1-s1-t6

Test result: Pass
Test result: :xunit2rst-pass:`Pass`


.. item:: REPORT_ITEST-READ_PRODUCT_ID_7 Test report for ITEST-READ_PRODUCT_ID_7
:passes: ITEST-READ_PRODUCT_ID_7
:ext_robotframeworklog: itest_log.html:s1-s1-t7

Test result: Pass
Test result: :xunit2rst-pass:`Pass`


.. item:: REPORT_ITEST-READ_PRODUCT_ID_8 Test report for ITEST-READ_PRODUCT_ID_8
:passes: ITEST-READ_PRODUCT_ID_8
:ext_robotframeworklog: itest_log.html:s1-s1-t8

Test result: Pass
Test result: :xunit2rst-pass:`Pass`


.. item:: REPORT_ITEST-READ_PRODUCT_ID_9 Test report for ITEST-READ_PRODUCT_ID_9
:passes: ITEST-READ_PRODUCT_ID_9
:ext_robotframeworklog: itest_log.html:s1-s1-t9

Test result: Pass
Test result: :xunit2rst-pass:`Pass`


.. item:: REPORT_ITEST-READ_MLX_DEVICE_PROJECT_ID_1 Test report for ITEST-READ_MLX_DEVICE_PROJECT_ID_1
:passes: ITEST-READ_MLX_DEVICE_PROJECT_ID_1
:ext_robotframeworklog: itest_log.html:s1-s2-t1

Test result: Pass
Test result: :xunit2rst-pass:`Pass`


.. item:: REPORT_ITEST-READ_MLX_DEVICE_PROJECT_ID_2 Test report for ITEST-READ_MLX_DEVICE_PROJECT_ID_2
:passes: ITEST-READ_MLX_DEVICE_PROJECT_ID_2
:ext_robotframeworklog: itest_log.html:s1-s2-t2

Test result: Pass
Test result: :xunit2rst-pass:`Pass`


.. item:: REPORT_ITEST-READ_MLX_DEVICE_PROJECT_ID_3 Test report for ITEST-READ_MLX_DEVICE_PROJECT_ID_3
:passes: ITEST-READ_MLX_DEVICE_PROJECT_ID_3
:ext_robotframeworklog: itest_log.html:s1-s2-t3

Test result: Pass
Test result: :xunit2rst-pass:`Pass`


.. item:: REPORT_ITEST-READ_MLX_DEVICE_PROJECT_ID_4 Test report for ITEST-READ_MLX_DEVICE_PROJECT_ID_4
:passes: ITEST-READ_MLX_DEVICE_PROJECT_ID_4
:ext_robotframeworklog: itest_log.html:s1-s2-t4

Test result: Pass
Test result: :xunit2rst-pass:`Pass`


.. item:: REPORT_ITEST-READ_MLX_DEVICE_PROJECT_ID_5 Test report for ITEST-READ_MLX_DEVICE_PROJECT_ID_5
:passes: ITEST-READ_MLX_DEVICE_PROJECT_ID_5
:ext_robotframeworklog: itest_log.html:s1-s2-t5

Test result: Pass
Test result: :xunit2rst-pass:`Pass`


.. item:: REPORT_ITEST-READ_MLX_DEVICE_PROJECT_ID_6 Test report for ITEST-READ_MLX_DEVICE_PROJECT_ID_6
:passes: ITEST-READ_MLX_DEVICE_PROJECT_ID_6
:ext_robotframeworklog: itest_log.html:s1-s2-t6

Test result: Pass
Test result: :xunit2rst-pass:`Pass`


Traceability Matrix
===================
Expand Down
13 changes: 10 additions & 3 deletions tests/test_in/itest_report_skipped_failures_log.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
.. role:: xunit2rst-skip
.. role:: xunit2rst-fail
.. role:: xunit2rst-pass

.. _integration_test_report_itest_report_skipped_failures_log:

=============================================================
Expand All @@ -16,7 +20,8 @@ Test Reports
.. item:: REPORT_ITEST-FIRST_TEST Test report for ITEST-FIRST_TEST
:fails: ITEST-FIRST_TEST

Test result: Fail
Test result: :xunit2rst-fail:`Fail`


::

Expand All @@ -25,12 +30,14 @@ Test Reports
.. item:: REPORT_ITEST-AN_UNLINKED_TEST Test report for ITEST-AN_UNLINKED_TEST
:passes: ITEST-AN_UNLINKED_TEST

Test result: Pass
Test result: :xunit2rst-pass:`Pass`


.. item:: REPORT_ITEST-ANOTHER_TEST Test report for ITEST-ANOTHER_TEST
:skipped: ITEST-ANOTHER_TEST

Test result: Skip
Test result: :xunit2rst-skip:`Skip`


::

Expand Down
Loading

0 comments on commit f90192c

Please sign in to comment.