pytest.ini 1.6 KB

1234567891011121314151617181920212223242526272829
  1. #
  2. # Copyright (c) Contributors to the Open 3D Engine Project.
  3. # For complete copyright and license terms please see the LICENSE at the root of this distribution.
  4. #
  5. # SPDX-License-Identifier: Apache-2.0 OR MIT
  6. #
  7. #
  8. [pytest]
  9. python_files = 'test_*.py' , '*_test.py' , '*_tests.py', 'TestSuite_*.py'
  10. norecursedirs = python/runtime Cache cmake
  11. junit_family=legacy
  12. log_format=%(asctime)s [%(levelname)8s] %(message)s (%(filename)s:%(lineno)s)
  13. addopts='--tb=short' '--show-capture=log'
  14. # Setting pytest timeout defaulting to 20 minutes for a single test case (CMake timeout being 25 minutes)
  15. timeout=1200
  16. # primary suite markers which should appear on every filterable test and be mutually exclusive:
  17. markers = SUITE_smoke: Tiny, quick tests of fundamental operation (tests with no suite marker will also execute here in CI)
  18. SUITE_main: Wider tests of system functionality
  19. SUITE_periodic: low-priority verification, which should not block code submission
  20. SUITE_benchmark: Benchmarks which do not pass or fail but instead output statistics
  21. SUITE_sandbox: Temporarly contains flaky/unstable tests, this should not block code submission. This test suite should be ideally empty
  22. SUITE_awsi: Time consuming AWS integration end-to-end tests
  23. # secondary markers which may appear alongisde a suite marker:
  24. REQUIRES_gpu: Tests which require a physical GPU
  25. GROUP_tick: Tests which verify if systems update correctly with system ticks (for example, physics bodies should move smoothly)
  26. # custom markers not listed above will cause pytest to emit a typo warning