TestSuite_Main.py 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  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. # This suite consists of all test cases that are passing and have been verified.
  7. # Using batched mode (EditorBatchedTest) to run the tests sequentially because
  8. # when they run in parallel mode (EditorParallelTest or EditorSharedTest) the
  9. # editor crashes randomly.
  10. import pytest
  11. from ly_test_tools.o3de.editor_test import EditorTestSuite, EditorBatchedTest
  12. @pytest.mark.SUITE_main
  13. @pytest.mark.parametrize("launcher_platform", ['windows_editor'])
  14. @pytest.mark.parametrize("project", ["AutomatedTesting"])
  15. class TestAutomation(EditorTestSuite):
  16. class test_ActorSplitsAfterCollision(EditorBatchedTest):
  17. from .tests import Blast_ActorSplitsAfterCollision as test_module
  18. class test_ActorSplitsAfterRadialDamage(EditorBatchedTest):
  19. from .tests import Blast_ActorSplitsAfterRadialDamage as test_module
  20. class test_ActorSplitsAfterCapsuleDamage(EditorBatchedTest):
  21. from .tests import Blast_ActorSplitsAfterCapsuleDamage as test_module
  22. class test_ActorSplitsAfterImpactSpreadDamage(EditorBatchedTest):
  23. from .tests import Blast_ActorSplitsAfterImpactSpreadDamage as test_module
  24. class test_ActorSplitsAfterShearDamage(EditorBatchedTest):
  25. from .tests import Blast_ActorSplitsAfterShearDamage as test_module
  26. class test_ActorSplitsAfterTriangleDamage(EditorBatchedTest):
  27. from .tests import Blast_ActorSplitsAfterTriangleDamage as test_module
  28. class test_ActorSplitsAfterStressDamage(EditorBatchedTest):
  29. from .tests import Blast_ActorSplitsAfterStressDamage as test_module