Dear All
Is It possible to unit test, constructor in c#, if yes how if not why Plz response .
Thanks
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
kartik kPosted Dec 28, 2017, 4:49 AM
Jeet DasPosted Jun 27, 2013, 7:28 AM
Amit ChoudharyPosted Jun 26, 2013, 9:52 AM
If you're testing everything like method, state then you don't actually need to test the constructor as it would automatically gets verified when everything else is tested.