Commit Graph

28 Commits (b7291cf7404f9456c0c28ec1a2af1602a5988e6a)

Author SHA1 Message Date
Chris Galvan 88bef1074b Replaced some Lumberyard references with O3DE.
Signed-off-by: Chris Galvan <chgalvan@amazon.com>
4 years ago
smurly 2564e8f8dc
MaterialEditor BasicTests added to AutomatedTesting for AR (#3022)
* MaterialEditor BasicTests added to AutomatedTesting for AR

Signed-off-by: Scott Murray <scottmur@amazon.com>

* launch_and_validate_results adding a waiter.wait_for to the log monitor so the log file exists

Signed-off-by: Scott Murray <scottmur@amazon.com>
4 years ago
jromnoa 6d1bb8e439
Add Light component GPU (screenshot) test to AutomatedTesting nightly o3de runs. (#2923)
* adds the Light component GPU screenshot test to AutomatedTesting

Signed-off-by: jromnoa <jromnoa@amazon.com>

* add LIGHT_TYPE_PROPERTY constant to test script since it is re-used multiple times

Signed-off-by: jromnoa <jromnoa@amazon.com>

* removes redundant f strings, adds LIGHT_COMPONENT and LIGHT_TYPE_PROPERTY constants for re-use, removed formattng errors, increase CMakeLists.txt timeout, add attach_component_to_entity() to hydra_editor_utils.py

Signed-off-by: jromnoa <jromnoa@amazon.com>

* fix ImportError

Signed-off-by: jromnoa <jromnoa@amazon.com>

* moves the LIGHT_TYPES constant to a new file since scripts rely on it that do not have the Editor launched (can't see hydra bindings so failes with ModuleNotFound error)

Signed-off-by: jromnoa <jromnoa@amazon.com>
4 years ago
AMZN-AlexOteiza b815c203da
(Continuation) Implemented automation paralellization & standarization (#1718)
Engine improvements/fixes

Fixed behavior that made the editor automated test to be sometimes stuck if lost the focus is lost.
Added support for specifying multiple tests to in batch to the editor, this is achieved by passing --runpythontest with the tests separated by ';'
Added new cmdline argument --project-user-path for overriding the user path. This allows to have multiple editors running writing logs and crash logs in different locations.
Moved responsability of exiting after a test finishes/passes out of ExecuteByFilenameAsTest, callers will use the bool return to know if the test passed.
Editor test batch and parallelization implementation:

Now the external python portion of the editor tests will be specified via test specs which will generate the test. Requiring no code. This is almost a data-driven approach.
Tests can be specified as single tests, parallel, batchable or batchable+parallel
Command line arguments for pytest to override the maximum number of editors, disable parallelization or batching.
Automated tests for testing this new editor testing utility

Signed-off-by: Garcia Ruiz <aljanru@amazon.co.uk>

Co-authored-by: Garcia Ruiz <aljanru@amazon.co.uk>
4 years ago
Steve Pham 38261d0800
Shorten copyright headers by splitting into 2 lines (#2213)
* Updated all copyright headers to split the longer original copyright line into 2 shorter lines

Signed-off-by: Steve Pham <spham@amazon.com>
4 years ago
jckand-amzn ceae858f09 Updating to use of psutil directly
Signed-off-by: jckand-amzn <jckand@amazon.com>
4 years ago
jckand-amzn 78752a23a7 Updating null renderer argument for launcher tests
Signed-off-by: jckand-amzn <jckand@amazon.com>
5 years ago
jckand-amzn c32f00d73f Updating/re-enabling skipped/xfailed Dynamic Vegetation automated tests
Signed-off-by: jckand-amzn <jckand@amazon.com>
5 years ago
Chris Galvan d7574777a8 Resolved merge conflicts
Signed-off-by: Chris Galvan <chgalvan@amazon.com>
5 years ago
Steve Pham b4a2edec6a
Final update copyright headers to reference license files at the repo root (#1693)
* Final update copyright headers to reference license files at the repo root

Signed-off-by: spham <spham@amazon.com>

* Fix copyright validator unit tests to support the stale O3DE header scenario

Signed-off-by: spham <spham@amazon.com>
5 years ago
Gene Walters 6fb2558e44 Merge branch 'upstream/development' into genewalt/gitflow_210628
Signed-off-by: Gene Walters <genewalt@amazon.com>
5 years ago
John 773fb4ea74 Add python test case to hydra test utils editor launcher
Signed-off-by: John <jonawals@amazon.com>
5 years ago
Steve Pham 70042fcdcd
O3DE Copyright Updates for Linux Foundation (#1504) 5 years ago
Chris Galvan 860f13c0ff [SPEC-6561] Prevent Editor crash when using the hydra_editor_utils to create an Entity with an invalid component. 5 years ago
jckand-amzn 6be126ec36 SPEC-6949: Updating menu actions for failing Menu tests 5 years ago
balibhan 6dd1985e2d removed unused import 5 years ago
balibhan 3cbbcf1877 SC branch migration 5 years ago
jckand 90f51961c4 Merging main and resolving conflicts 5 years ago
AMZN-AlexOteiza 3f32cc929c
Fixed All Physics automated tests (#129)
* Fixed all Tests.
* Fixed tests stdout redirection
* Changed return code for failed tests to be 0xF
* Small improvements on automated testing code
* Created Periodic test suite and moved tests
* Made physics main to only have one test for now
* Renamed all tests to have leading AutomatedTesting::
5 years ago
jromnoa 68051490b8
Merge pull request #272 from aws-lumberyard-dev/Atom/jromnoa/add-atomtest-epb-tests-to-automatedtesting
ATOM-15219: Add the Atom component test to the AutomatedTesting project.
5 years ago
jckand dd00b8a1ad Merge branch 'main' into jckand/FoundationAuto 5 years ago
jckand 4c8401ec7a - Updating imports for LandscapeCanvas tests to new utils location
- Enabling Atom Null Renderer for launch_and_validate_results()
5 years ago
evanchia bd19a6450f Minor update to readme file for editor python test tools 5 years ago
evanchia 5849575318 removing egg files 5 years ago
jromnoa 32d643fe95 enable NullRenderer for test, clean-up some test verifications 5 years ago
evanchia 8c29ebe728 chaging name from Lumberyard to od3e 5 years ago
evanchia e7db0a64d6 Merge branch 'main' into hydra_util_package 5 years ago
evanchia e79b1b4af1 Moved hydra util package near editor python tests 5 years ago