The current approach to side effects is just really unforgiving. Due to technical limitations of the current implementation the entire side effect lambda must fit on a single line. The _ argument is small but it's not readable and there's no good way to type it. I also found out today that you hit issues if you try to use an imported library (such as pathlib) that isn't imported into the sundew test_runner.
I think constraints can be a good thing, and constraints are somewhat implicit to the philosophy behind sundew so far, but my goal is to find only the necessary constraints that make testing not only more effective, but easier and more enjoyable too. Fact of the matter is testing side effects is not enjoyable in it's current state. I think I need to go back to the drawing board on this 🤔
The current approach to side effects is just really unforgiving. Due to technical limitations of the current implementation the entire side effect lambda must fit on a single line. The
_
argument is small but it's not readable and there's no good way to type it. I also found out today that you hit issues if you try to use an imported library (such aspathlib
) that isn't imported into the sundew test_runner.I think constraints can be a good thing, and constraints are somewhat implicit to the philosophy behind sundew so far, but my goal is to find only the necessary constraints that make testing not only more effective, but easier and more enjoyable too. Fact of the matter is testing side effects is not enjoyable in it's current state. I think I need to go back to the drawing board on this 🤔