Skip to content

Latest commit

 

History

History
58 lines (36 loc) · 1.1 KB

index.rst

File metadata and controls

58 lines (36 loc) · 1.1 KB

Tests actions

The tests actions allow to setup Python environments for SCADE and run the test suite for a SCADE Python library.

Create SCADE Python virtual environment action

.. jinja:: create-scade-venv

    {{ description }}

    {{ inputs_table }}

    {{ outputs_table }}

    Examples
    ++++++++

    {% for filename, title in examples %}
    .. dropdown:: {{ title }}
       :animate: fade-in

       .. literalinclude:: examples/{{ filename }}
          :language: yaml

    {% endfor %}


Test library action

This action runs the test suite for a Python library. This action accepts markers, options, and post arguments to be passed to pytest before executing the test session.

.. jinja:: scade-tests-pytest

    {{ description }}

    {{ inputs_table }}

    {{ outputs_table }}

Examples

.. jinja:: scade-tests-pytest

     {% for filename, title in examples %}
     .. dropdown:: {{ title }}
        :animate: fade-in

        .. literalinclude:: examples/{{ filename }}
           :language: yaml

     {% endfor %}