|
mxlib
c++ tools for analyzing astronomical data and other tasks by Jared R. Males. [git repo]
|
Tests for the application framework lifecycle. More...
Tests for the application framework lifecycle.
Definition in file application_test.cpp.
#include "../../catch2/catch.hpp"#include <filesystem>#include <fstream>#include <cstdlib>#include <sstream>#include "../../../include/app/application.hpp"Go to the source code of this file.
Functions | |
| unitTest::app_application_test::TEST_CASE ("application runs the configured lifecycle", "[app::application]") | |
| Verifies that mx::app::application runs setup, loading, and execution in order. | |
| unitTest::app_application_test::TEST_CASE ("application optionally preserves configuration for execution", "[app::application]") | |
| Verifies that mx::app::application preserves configuration only when requested. | |
| unitTest::app_application_test::TEST_CASE ("application short-circuits help and config-only requests", "[app::application]") | |
| Verifies that mx::app::application short-circuits execution for help and config-only requests. | |
| unitTest::app_application_test::TEST_CASE ("application loads configuration files", "[app::application]") | |
| Verifies configuration-file loading, command-line precedence, and required-file failure behavior. | |
| unitTest::app_application_test::TEST_CASE ("application resolves configuration paths from the environment", "[app::application]") | |
| Verifies that mx::app::application resolves environment-selected configuration search paths. | |
| unitTest::app_application_test::TEST_CASE ("application renders default help", "[app::application]") | |
| Verifies that mx::app::application emits its default help for registered options. | |
| unitTest::app_application_test::TEST_CASE ("application re-reads its configuration stack", "[app::application]") | |
| Verifies that mx::app::application re-reads registered configuration sources without rebuilding targets. | |