1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-21 12:05:08 +00:00
serenity/Userland/Libraries/LibTest
Andrew Kaster cc0a376c95 Base+Utilities: Add run-tests program to run system tests with LibTest
This test program heavily pulls from the JavaScriptTestRunner/test-js,
but with a twist. Instead of loading JavaScript files into the current
process, constructing a JS environment for them, and executing test
suites/tests directly, run-tests posix_spawns each test file.

Test file stdout is written to a temp file, and only dumped to console
if the test fails or the verbose option is passed to the program. Unlike
test-js, times are always printed for every test executed for better
visibility in CI.
2021-06-30 08:18:28 +04:30
..
CMakeLists.txt LibTest: Move Crash testing facility from crash.cpp to LibTest 2021-05-08 00:04:10 +01:00
CrashTest.cpp LibTest: Convert Crash test runner to outln(..) 2021-05-08 00:04:10 +01:00
CrashTest.h LibTest: Expose new EXPECT_CRASH(..) macro for unit test assertions 2021-05-08 00:04:10 +01:00
JavaScriptTestRunner.h Userland+Tests: Split out generic test runner from JS TestRunner 2021-06-30 08:18:28 +04:30
JavaScriptTestRunnerMain.cpp Userland+Tests: Split out generic test runner from JS TestRunner 2021-06-30 08:18:28 +04:30
Macros.h LibTest: Don't try to pass stderr to warnln 2021-06-11 18:14:11 +04:30
Results.h Base+Utilities: Add run-tests program to run system tests with LibTest 2021-06-30 08:18:28 +04:30
TestCase.h AK+Userland: Move AK/TestSuite.h into LibTest and rework Tests' CMake 2021-04-25 09:36:49 +02:00
TestMain.cpp AK+Userland: Move AK/TestSuite.h into LibTest and rework Tests' CMake 2021-04-25 09:36:49 +02:00
TestRunner.h Userland+Tests: Split out generic test runner from JS TestRunner 2021-06-30 08:18:28 +04:30
TestSuite.cpp AK+Userland: Move AK/TestSuite.h into LibTest and rework Tests' CMake 2021-04-25 09:36:49 +02:00
TestSuite.h AK+Userland: Move AK/TestSuite.h into LibTest and rework Tests' CMake 2021-04-25 09:36:49 +02:00