Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
State mock #30118
This adds the "mock" option to state.sls and state.highstate. This allows for the state to be run without calling anything. The returned data is the return as if the states all ran successfully.
What would be nice to have here would be the ability to make mock states so that you could program what the mocked returns would look like.
Perhaps the mock states, considering
We could probably allow specifying the mock state to use to test different scenarios.
The mock state should have state ids with the same name as the state id being mocked.
... Just suggestions...