You are using DatabaseCleaner in truncation mode to clean a database between scenarios. Where is the optimum place to run DataCleaner in truncation mode?

Question:
You are using DatabaseCleaner in truncation mode to clean a database between scenarios. Where is the optimum place to run DataCleaner in truncation mode?

1.In the Truncate hook

2.In an After hook

3.In the before hook

4.In a Failure hook

Posted Date:-2022-11-18 10:32:24


More MCQS Questions and answers

Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!