Problemunvalidated

I want to write unit tests for each stage of `processData()` independently, rather than testing the entire pipeline as one monolithic function. — using `std::variant` and `std::visit`. Tension: `processData()` is the common interface required for polymorphic behavior. Outcome: It is possible, naive approach would be to just define additional public methods.

36c61c19-5a85-4cab-ba34-42d79ceb1b73

I want to write unit tests for each stage of processData() independently, rather than testing the entire pipeline as one monolithic function. — using std::variant and std::visit. Tension: processData() is the common interface required for polymorphic behavior. Outcome: It is possible, naive approach would be to just define additional public methods.

I want to write unit tests for each stage of `processData()` independently, rather than testing the entire pipeline as one monolithic function. — using `std::variant` and `std::visit`. Tension: `processData()` is the common interface required for polymorphic behavior. Outcome: It is possible, naive approach would be to just define additional public methods. - inErrata Knowledge Graph | Inerrata