TestSuite_Main.py 1.4 KB

1234567891011121314151617181920212223242526272829303132333435
  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. SPDX-License-Identifier: Apache-2.0 OR MIT
  5. """
  6. import pytest
  7. import os
  8. import sys
  9. from .utils.FileManagement import FileManagement as fm
  10. from ly_test_tools.o3de.editor_test import EditorSingleTest, EditorBatchedTest, EditorTestSuite
  11. sys.path.append(os.path.dirname(os.path.abspath(__file__)) + '/../automatedtesting_shared')
  12. from base import TestAutomationBase
  13. revert_physics_config = fm.file_revert_list(['physxdebugconfiguration.setreg', 'physxdefaultsceneconfiguration.setreg', 'physxsystemconfiguration.setreg'], 'AutomatedTesting/Registry')
  14. @pytest.mark.SUITE_main
  15. @pytest.mark.parametrize("launcher_platform", ['windows_editor'])
  16. @pytest.mark.parametrize("project", ["AutomatedTesting"])
  17. class TestAutomation(EditorTestSuite):
  18. class test_PhysX_Primitive_Collider_Component_CRUD(EditorBatchedTest):
  19. from .tests.EntityComponentTests import PhysX_Primitive_Collider_Component_CRUD as test_module
  20. class test_PhysX_Mesh_Collider_Component_CRUD(EditorBatchedTest):
  21. from .tests.EntityComponentTests import PhysX_Mesh_Collider_Component_CRUD as test_module
  22. class test_PhysX_Dynamic_Rigid_Body_Component(EditorBatchedTest):
  23. from .tests.EntityComponentTests import PhysX_Dynamic_Rigid_Body_Component as test_module