Return all processes needed for all tests
(
args: TestArgs,
test_categories: TestCategories,
enable_stack_trace: bool,
src_code_change: bool,
)
| 744 | |
| 745 | |
| 746 | def get_all_test_processes( |
| 747 | args: TestArgs, |
| 748 | test_categories: TestCategories, |
| 749 | enable_stack_trace: bool, |
| 750 | src_code_change: bool, |
| 751 | ) -> list[RunningProcess]: |
| 752 | """Return all processes needed for all tests""" |
| 753 | processes: list[RunningProcess] = [] |
| 754 | |
| 755 | # Add test processes based on categories |
| 756 | if test_categories.unit: |
| 757 | processes.append(create_unit_test_process(args, enable_stack_trace)) |
| 758 | if test_categories.examples: |
| 759 | processes.append(create_examples_test_process(args, enable_stack_trace)) |
| 760 | if test_categories.py: |
| 761 | processes.append( |
| 762 | create_python_test_process(False, run_slow=False, verbose=args.verbose) |
| 763 | ) # Disable stack trace for Python tests |
| 764 | if test_categories.integration: |
| 765 | processes.append(create_integration_test_process(args, enable_stack_trace)) |
| 766 | |
| 767 | # Add uno test process if source code changed |
| 768 | if src_code_change: |
| 769 | processes.append(create_compile_uno_test_process(enable_stack_trace)) |
| 770 | |
| 771 | return processes |
| 772 | |
| 773 | |
| 774 | def _extract_test_name(command: str | list[str]) -> str: |
nothing calls this directly
no test coverage detected