PACS System 0.1.0
PACS DICOM system library
Loading...
Searching...
No Matches
main.cpp File Reference

Integration Test Suite entry point. More...

#include <catch2/catch_session.hpp>
#include <iostream>
Include dependency graph for main.cpp:

Go to the source code of this file.

Macros

#define CATCH_CONFIG_RUNNER
 

Functions

int main (int argc, char *argv[])
 

Detailed Description

Integration Test Suite entry point.

Main entry point for the PACS integration test suite using Catch2. Executes end-to-end workflow tests validating complete DICOM operations.

See also
Issue #111 - Integration Test Suite

Test Categories:

  • [connectivity] - Basic DICOM connectivity tests (C-ECHO)
  • [store_query] - Store and query workflow tests
  • [worklist] - Worklist and MPPS workflow tests
  • [stress] - Multi-association stress tests
  • [error] - Error recovery tests

Usage: integration_tests # Run all tests integration_tests [connectivity] # Run only connectivity tests integration_tests –list-tests # List all available tests

Definition in file main.cpp.

Macro Definition Documentation

◆ CATCH_CONFIG_RUNNER

#define CATCH_CONFIG_RUNNER

Definition at line 23 of file main.cpp.

Function Documentation

◆ main()

int main ( int argc,
char * argv[] )

Definition at line 28 of file main.cpp.

28 {
29 std::cout << R"(
30 ___ _ _ _____ _____ ____ ____ _ _____ ___ ___ _ _
31 |_ _| \ | |_ _| ____/ ___| _ \ / \|_ _|_ _/ _ \| \ | |
32 | || \| | | | | _|| | _| |_) | / _ \ | | | | | | | \| |
33 | || |\ | | | | |__| |_| | _ < / ___ \| | | | |_| | |\ |
34 |___|_| \_| |_| |_____\____|_| \_\/_/ \_\_| |___\___/|_| \_|
35
36 PACS Integration Test Suite
37 ===========================
38
39)" << "\n";
40
41 Catch::Session session;
42
43 // Apply command line arguments
44 int result = session.applyCommandLine(argc, argv);
45 if (result != 0) {