HF RL Explorer

Feature Request: MockState for Unit Testing Taipy Callbacks

Feature Request: MockState for Unit Testing Taipy Callbacks: a task in LegoFlow-SWE (Harbor dataset). Taipy developers currently have no straightforward way to unit test callback functions that accept a State argument. The State class is tightly coupled to a running Gui instance and cannot be…

The task

Taipy developers currently have no straightforward way to unit test callback functions that accept a `State` argument. The `State` class is tightly coupled to a running `Gui` instance and cannot be instantiated standalone for testing.

Part of Lego-X/LegoFlow-SWE.