Commit Graph

10 Commits

Author SHA1 Message Date
Marc Audy
888fdc3aaa Fix warning V501: There are identical sub-expressions to the left and to the right of the '==' operator: Deque.Max() == Deque.Max()
#codereview chris.constantinescu
#rnx
#preflight

[CL 20618477 by Marc Audy in ue5-main branch]
2022-06-11 22:40:16 -04:00
chris constantinescu
79078dc749 Low level tests adapter that can translate Catch2-defined test to a Functional Test
#preflight 629f74c6233ae0a8f8fb1f97
#rb Devin.Doucette

[CL 20540119 by chris constantinescu in ue5-main branch]
2022-06-07 12:37:53 -04:00
chris constantinescu
28111d40fc Redundancy cleanup in UBT Low Level Tests:
- test-specific targets and modules are constructed by RulesAssembly which removes a lot of spaghetti code
- no more excluding the Tests folder by default which is guaranteed to mislead users #fyi Jon.Nabozny
- test compilation in Tests is controlled through WITH_LOW_LEVEL_TESTS
- preparation code for switching tests between Catch2 / TestAutomation Fmwk

Nightly LLT PF 6260431391376845adeb4c40

#rnx
#preflight 62602d50dd47b4ad2173c30b

[CL 19834665 by chris constantinescu in ue5-main branch]
2022-04-20 14:24:59 -04:00
chris constantinescu
e12e6c083e Un-smoke tests that were not previously filtered as Smoke by the AutomationTest framework.
#rb Devin.Doucette
#preflight skip

[CL 19668231 by chris constantinescu in ue5-main branch]
2022-04-07 09:55:58 -04:00
Devin Doucette
07adff9b17 LowLevelTests: Reverted the Core tests that were moved in 19498448 and 19571202
#preflight 62471e0e73665f7d5e634d2d
#rb Chris.Constantinescu, Mark.Lintott
#rnx

[CL 19589944 by Devin Doucette in ue5-main branch]
2022-04-01 12:14:09 -04:00
chris constantinescu
cdcaefe035 Introducing Catch2 disabled test cases, scenarios etc
Motivation: [.] only hides a test and it can still be executed using ~[SomeOtherTag]; It's very easy to fall into the trap of executing an infinite loop test that is decorated with the [.] tag
#rb Andriy.Tylychko, Michael.Balzer
#preflight 6245fb64f4217035fa8f38ec

[CL 19576763 by chris constantinescu in ue5-main branch]
2022-03-31 15:16:31 -04:00
mark lintott
bc9b168688 Add new Unit Tests
#rb Chris.Constantinescu
#preflight 62458f77292f228e09013681

[CL 19571202 by mark lintott in ue5-main branch]
2022-03-31 07:45:37 -04:00
chris constantinescu
ae281656f2 Tests converted from 18848115 made to work multi-platform.
Not all were converted because they were designed for packaged applications whereas low level tests are designed to run as "native" non-packaged applications.
- reporting support for non-desktop platforms, for the moment Catch2 report type "console" is used that is sent to a .out file
- most number of tests possible running multi platform, slower tests excluded on incremental builds
- slow tests are moved to run on the monolithic build
- Catch2 report failure event listener such that Horde detects them as build errors. Must add new Horde matcher for Catch2 failures

#rb Mark.Lintott
#preflight 623c8de389625f0612dabd64

[CL 19498448 by chris constantinescu in ue5-main branch]
2022-03-24 13:28:25 -04:00
mark lintott
dff14a25c8 Updated Low Level Tests
Removed existing SampleTest
Added an example Catch 2 Test for Math Colors into Core Module
Coverted Cbor tests to Catch2
Moved TDeque and TToken tests into Core Module
#fyi chris.constantinescu
#jira none
#preflight 61f9589e8b4112f7cc9a83c8
#preflight 61f95dbbfa6554dff3d52f21
#preflight 61f987b74404d5fadefa98d2

[CL 18812960 by mark lintott in ue5-main branch]
2022-02-01 14:39:50 -05:00
chris constantinescu
9212fef5a7 LLT 2.0 on preflights
- bIncludeAllTests flag on target will compile with all tests: used on LowLevelTests target to run on preflights
- Preflights now running low level tests by default, only those from LowLevelTests and its dependencies stemming from Core and Projects
#preflight 61f930bb8b4112f7cc95e807
#rb Mark.Lintott

[CL 18807604 by chris constantinescu in ue5-main branch]
2022-02-01 09:04:25 -05:00