From 4cd254ba057dec098ec6ca09b9965768c3862d6e Mon Sep 17 00:00:00 2001 From: Jonathas Amaral Date: Wed, 12 Jul 2017 15:04:04 -0300 Subject: [PATCH] Added example custom lookup Added example of how to configure custom lookup --- README.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 38e2f6bd..bfefd12b 100644 --- a/README.md +++ b/README.md @@ -235,4 +235,11 @@ In some situations you may need to use custom DBUnit DatabaseOperation classes. interface can be used to create your own lookup strategy if you need support custom operations. A `MicrosoftSqlDatabaseOperationLookup` class is provided to support the aforementioned MSSQL operations. -See above for details of how to configure a test class to use the custom lookup. +See below of how to use the custom lookup in test class: + +``` +@SpringBootTest +@DbUnitConfiguration(databaseOperationLookup = MicrosoftSqlDatabaseOperationLookup.class) +public class MyTest {} +``` +