Skip to main content

Posts

Showing posts from April, 2016

Can I use constructors with in Unit Test?

Actually the answer is yes but not recommended. This problem came to my mind time ago at the start of selenium project. I used and end-up with many run time errors. If you use constructors then your test project will build without error but there can be run time error specially when calling it by other class.