Home
last modified time | relevance | path

Searched refs:fixtures (Results 1 – 17 of 17) sorted by relevance

/Zephyr-latest/tests/drivers/sensor/ina237/src/
Dina237_test.c256 static struct ina237_fixture fixtures[] = { variable
262 ZTEST(ina237_##inst, test_shunt_cal) { test_shunt_cal(&fixtures[inst]); } \
263 ZTEST(ina237_##inst, test_current) { test_current(&fixtures[inst]); } \
264 ZTEST(ina237_##inst, test_bus_voltage) { test_bus_voltage(&fixtures[inst]); } \
265 ZTEST(ina237_##inst, test_power) { test_power(&fixtures[inst]); } \
266 ZTEST(ina237_##inst, test_temperature) { test_temperature(&fixtures[inst]); } \
267 ZTEST(ina237_##inst, test_vshunt) { test_vshunt(&fixtures[inst]); } \
/Zephyr-latest/scripts/pylib/pytest-twister-harness/src/twister_harness/
Dtwister_harness_config.py37 fixtures: list[str] = None variable in DeviceConfig
84 fixtures=config.option.fixtures,
/Zephyr-latest/scripts/pylib/twister/twisterlib/
Dtestinstance.py209 def testsuite_runnable(testsuite, fixtures): argument
218 can_run = fixture in map(lambda f: f.split(sep=':')[0], fixtures)
265 fixtures = options.fixture
306 testsuite_runnable = self.testsuite_runnable(self.testsuite, fixtures)
311 self.testsuite_runnable(self.testsuite, h.fixtures)):
Dhardwaremap.py69 self.fixtures = []
222 d.fixtures.extend(self.options.fixture)
293 fixtures = dut.get('fixtures', [])
314 new_dut.fixtures = fixtures
Dharness.py488 for fixture in hardware.fixtures:
Dhandlers.py495 if fixture and fixture not in map(lambda f: f.split(sep=':')[0], d.fixtures):
/Zephyr-latest/scripts/tests/twister/
Dtest_testinstance.py76 fixtures=fixture,
449 fixtures = ['dummy fixture']
451 can_run = TestInstance.testsuite_runnable(testsuite, fixtures)\
525 …mock.ANY, 'not runnable', ['?'], mock.Mock(duts=[mock.Mock(platform='demo_board_2', fixtures=[])])…
547 fixtures, argument
560 fixtures=fixtures,
Dtest_hardwaremap.py154 fixtures, argument
183 mocked_hm.options.fixture = fixtures
211 [fixture in dut.fixtures for fixture in fixtures]
Dtest_handlers.py756 fixtures=[],
764 fixtures=['dummy fixture'],
772 fixtures=['dummy fixture'],
782 fixtures=['dummy fixture'],
791 fixtures=['dummy fixture'],
807 fixtures=[],
815 fixtures=['dummy fixture'],
823 fixtures=['dummy fixture'],
833 fixtures=['dummy fixture'],
842 fixtures=['dummy fixture'],
[all …]
DREADME.md53 - conftest.py: Contains common fixtures for use in testing the twister tool.
Dtest_harness.py480 hardware.fixtures = ["fixture1:option1", "fixture2"]
/Zephyr-latest/tests/drivers/can/host/pytest/
Dconftest.py30 for fixture in dut.device_config.fixtures:
/Zephyr-latest/doc/develop/test/twister/
Dtwister_blackbox.rst76 Blackbox tests use ``pytest`` 's fixtures, further reading on which is available
79 If you would like to add your own fixtures,
85 - :zephyr_file:`scripts/tests/twister_blackbox/conftest.py` already contains some fixtures -
/Zephyr-latest/doc/develop/test/
Dtwister.rst690 The scope for which ``dut`` and ``shell`` pytest fixtures are shared.
1248 of a board and the fixtures it supports via the command line or using the hardware
1256 fixtures:
1265 in the hardware map file will be matched to test scenarios requesting the same fixtures
1268 .. figure:: figures/fixtures.svg
1272 can be used multiple times and all given fixtures will be appended as a list. And the
1273 given fixtures will be assigned to all boards, this means that all boards set by
1274 current twister command can run those test scenarios which request the same fixtures.
1276 Some fixtures allow for configuration strings to be appended, separated from the
1277 fixture name by a ``:``. Only the fixture name is matched against the fixtures
[all …]
Dztest.rst65 Test fixtures
68 Test fixtures can be used to help simplify repeated test setup operations. In many cases, tests in
70 This is achieved via fixtures in the following way:
Dpytest.rst16 utilizes the concept of plugins and fixtures, increasing its expendability and reusability.
/Zephyr-latest/
D.ruff-excludes.toml701 "./scripts/pylib/pytest-twister-harness/src/twister_harness/fixtures.py" = [
1586 "./scripts/pylib/pytest-twister-harness/src/twister_harness/fixtures.py",