You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
o3de/Tools/LyTestTools/ly_test_tools
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
..
_internal (Continuation) Implemented automation paralellization & standarization (#1718) 4 years ago
builtin Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
environment Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
image Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
launchers (Continuation) Implemented automation paralellization & standarization (#1718) 4 years ago
log Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
mars Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
mobile Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
o3de (Continuation) Implemented automation paralellization & standarization (#1718) 4 years ago
report Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
__init__.py Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago