You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This PendingTask requires dependencies. The current way to provide them is quite hacky. I must make 2 constructors where 1 constructor is used for the app implementation and 1 is a tedious one where I can inject mocked instances of the dependencies.
There might be a way to include this issue for improving both with a better API.
The PendingTask subclasses are pretty simple. They just need to tell Wendy if your task can run, how to run it, etc. This class should be fully unit testable. It's up to Wendy to store the data about it.
The text was updated successfully, but these errors were encountered:
Here is an example
PendingTask
of mine:This PendingTask requires dependencies. The current way to provide them is quite hacky. I must make 2 constructors where 1 constructor is used for the app implementation and 1 is a tedious one where I can inject mocked instances of the dependencies.
There might be a way to include this issue for improving both with a better API.
The
PendingTask
subclasses are pretty simple. They just need to tell Wendy if your task can run, how to run it, etc. This class should be fully unit testable. It's up to Wendy to store the data about it.The text was updated successfully, but these errors were encountered: