TestSuite_Main.py 1.3 KB

123456789101112131415161718192021222324252627282930313233
  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. import pytest
  8. import os
  9. import sys
  10. from ly_test_tools import LAUNCHERS
  11. sys.path.append(os.path.dirname(os.path.abspath(__file__)) + '/../automatedtesting_shared')
  12. from base import TestAutomationBase
  13. @pytest.mark.parametrize("launcher_platform", ['windows_editor'])
  14. @pytest.mark.parametrize("project", ["AutomatedTesting"])
  15. class TestAutomation(TestAutomationBase):
  16. use_null_renderer = False # Use default renderer (needs gpu)
  17. def test_NvCloth_AddClothSimulationToMesh(self, request, workspace, editor, launcher_platform):
  18. from .tests import NvCloth_AddClothSimulationToMesh as test_module
  19. self._run_test(request, workspace, editor, test_module, use_null_renderer = self.use_null_renderer)
  20. def test_NvCloth_AddClothSimulationToActor(self, request, workspace, editor, launcher_platform):
  21. from .tests import NvCloth_AddClothSimulationToActor as test_module
  22. self._run_test(request, workspace, editor, test_module, use_null_renderer = self.use_null_renderer)