How to setup DI for Unit testing? #507
JamiePattison
started this conversation in
General
Replies: 1 comment
-
Hi Jamie, We don't currently have Umbraco Commerce under unit tests so it hasn't really been tried in this scenario. Feel free to share what code you are using and I can try and shed some light, but it may be that it's not currently possible. We are hoping to take a look at this some time in the future post v14 launch (no fixed timeline yet however). |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi
Is it possible to unit test Umbraco Commerce?
I tried to setup what i thought i would require but received a ton of errors i.e. Tried to Mock a StoreService but it needed other parameters filled in, once that was achieved i started to receive "Object not set to an instance" errors leading me to think i would need more manual input or simply its just not possible yet?
Beta Was this translation helpful? Give feedback.
All reactions