I am just starting in with the D2 programming language. I love the fact that unit testing is part of the language itself but I can’t seem to find any mock object libraries for it. Is there a standard one out there?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The only mock object library I know of is DMocks, but it is abandoned. It may not compile with recent compiler versions.
Maybe BlackHole, WhiteHole and AutoImplement from std.typecons will help you to some extent.