Lines Matching +refs:test +refs:example

3 Integration with pytest test framework
30 Pytest-based test suites are discovered the same way as other twister tests, i.e., by a presence
31 of test/sample.yaml. Inside, a keyword ``harness`` tells twister how to handle a given test.
32 In the case of ``harness: pytest``, most of twister workflow (test suites discovery,
41 If ``harness: pytest`` is used, twister delegates the test execution to pytest, by calling it as
44 sets the test result accordingly.
46 How to create a pytest test
49 An example folder containing a pytest test, application source code and Twister configuration .yaml
63 An example of a pytest test is given at
72 some.foo.test:
81 …//docs.pytest.org/en/7.1.x/explanation/goodpractices.html#conventions-for-python-test-discovery>`_.
91 useful when one wants to select a specific testcase from a test suite. For instance, one can use
151 Only selected functionality of MCUmgr is wrapped by this fixture. For example, here is a test with
165 # test a new upgrade image
169 # continue test scenario, check version etc.
176 control over the build process is needed. It becomes responsibility of the test to initialize the
252 How to run only one particular test from a python file?
267 …`here <https://docs.pytest.org/en/latest/example/markers.html#using-k-expr-to-select-tests-based-o…
283 How to get information about used device type in test?
299 This can be achieved by running Twister once again with ``--test-only`` argument added to Twister
310 hardwares). If anyone is interested in doing this for some reasons (for example via