SlideShare a Scribd company logo
DbUnit  Express
Unit test for DAO in 10 min Painless DB testing ©
Show   time
Advantages over bare DbUnit ,[object Object]
location of .ddl & data .xml ,[object Object]
Better error reporting
Utilities ,[object Object]

More Related Content

What's hot

Built-in Replication in PostgreSQL
Built-in Replication in PostgreSQLBuilt-in Replication in PostgreSQL
Built-in Replication in PostgreSQL
Masao Fujii
 
SQL Server Compression
SQL Server CompressionSQL Server Compression
SQL Server Compression
RockSolid SQL
 
How to build a state-of-the-art rails cluster
How to build a state-of-the-art rails clusterHow to build a state-of-the-art rails cluster
How to build a state-of-the-art rails cluster
Tim Lossen
 
PostgreSQL Replication in 10 Minutes - SCALE
PostgreSQL Replication in 10  Minutes - SCALEPostgreSQL Replication in 10  Minutes - SCALE
PostgreSQL Replication in 10 Minutes - SCALE
PostgreSQL Experts, Inc.
 
Postgres the hardway
Postgres the hardwayPostgres the hardway
Postgres the hardway
Dave Pitts
 
PostgreSQL replication
PostgreSQL replicationPostgreSQL replication
PostgreSQL replication
Masao Fujii
 
Training netbackup6x2
Training netbackup6x2Training netbackup6x2
Training netbackup6x2
M Shariff
 
Postgres on OpenStack
Postgres on OpenStackPostgres on OpenStack
Postgres on OpenStack
EDB
 
PostgreSQL Scaling And Failover
PostgreSQL Scaling And FailoverPostgreSQL Scaling And Failover
PostgreSQL Scaling And Failover
John Paulett
 
Solving the DB2 LUW Administration Dilemma
Solving the DB2 LUW Administration DilemmaSolving the DB2 LUW Administration Dilemma
Solving the DB2 LUW Administration Dilemma
Randy Goering
 
Basics of Logical Replication,Streaming replication vs Logical Replication ,U...
Basics of Logical Replication,Streaming replication vs Logical Replication ,U...Basics of Logical Replication,Streaming replication vs Logical Replication ,U...
Basics of Logical Replication,Streaming replication vs Logical Replication ,U...
Rajni Baliyan
 
cosbench-openstack.pdf
cosbench-openstack.pdfcosbench-openstack.pdf
cosbench-openstack.pdf
OpenStack Foundation
 
Getting innodb compression_ready_for_facebook_scale
Getting innodb compression_ready_for_facebook_scaleGetting innodb compression_ready_for_facebook_scale
Getting innodb compression_ready_for_facebook_scale
Nizameddin Ordulu
 
DB2 LUW - Backup and Recovery
DB2 LUW - Backup and RecoveryDB2 LUW - Backup and Recovery
DB2 LUW - Backup and Recovery
imranasayed
 
11 cool features in Defrag.nsf+ 11
11 cool features in Defrag.nsf+ 1111 cool features in Defrag.nsf+ 11
11 cool features in Defrag.nsf+ 11
aosborne
 
Exch2007 sp1 win2008
Exch2007 sp1 win2008Exch2007 sp1 win2008
Exch2007 sp1 win2008
Ziemek Borowski
 
C-Cube: Elastic Continuous Clustering in the Cloud
C-Cube: Elastic Continuous Clustering in the CloudC-Cube: Elastic Continuous Clustering in the Cloud
C-Cube: Elastic Continuous Clustering in the Cloud
Qian Lin
 
XPages Performance
XPages PerformanceXPages Performance
XPages Performance
Ulrich Krause
 
Building tungsten-clusters-with-postgre sql-hot-standby-and-streaming-replica...
Building tungsten-clusters-with-postgre sql-hot-standby-and-streaming-replica...Building tungsten-clusters-with-postgre sql-hot-standby-and-streaming-replica...
Building tungsten-clusters-with-postgre sql-hot-standby-and-streaming-replica...
Command Prompt., Inc
 
Persistent Memory Programming with Java*
Persistent Memory Programming with Java*Persistent Memory Programming with Java*
Persistent Memory Programming with Java*
Intel® Software
 

What's hot (20)

Built-in Replication in PostgreSQL
Built-in Replication in PostgreSQLBuilt-in Replication in PostgreSQL
Built-in Replication in PostgreSQL
 
SQL Server Compression
SQL Server CompressionSQL Server Compression
SQL Server Compression
 
How to build a state-of-the-art rails cluster
How to build a state-of-the-art rails clusterHow to build a state-of-the-art rails cluster
How to build a state-of-the-art rails cluster
 
PostgreSQL Replication in 10 Minutes - SCALE
PostgreSQL Replication in 10  Minutes - SCALEPostgreSQL Replication in 10  Minutes - SCALE
PostgreSQL Replication in 10 Minutes - SCALE
 
Postgres the hardway
Postgres the hardwayPostgres the hardway
Postgres the hardway
 
PostgreSQL replication
PostgreSQL replicationPostgreSQL replication
PostgreSQL replication
 
Training netbackup6x2
Training netbackup6x2Training netbackup6x2
Training netbackup6x2
 
Postgres on OpenStack
Postgres on OpenStackPostgres on OpenStack
Postgres on OpenStack
 
PostgreSQL Scaling And Failover
PostgreSQL Scaling And FailoverPostgreSQL Scaling And Failover
PostgreSQL Scaling And Failover
 
Solving the DB2 LUW Administration Dilemma
Solving the DB2 LUW Administration DilemmaSolving the DB2 LUW Administration Dilemma
Solving the DB2 LUW Administration Dilemma
 
Basics of Logical Replication,Streaming replication vs Logical Replication ,U...
Basics of Logical Replication,Streaming replication vs Logical Replication ,U...Basics of Logical Replication,Streaming replication vs Logical Replication ,U...
Basics of Logical Replication,Streaming replication vs Logical Replication ,U...
 
cosbench-openstack.pdf
cosbench-openstack.pdfcosbench-openstack.pdf
cosbench-openstack.pdf
 
Getting innodb compression_ready_for_facebook_scale
Getting innodb compression_ready_for_facebook_scaleGetting innodb compression_ready_for_facebook_scale
Getting innodb compression_ready_for_facebook_scale
 
DB2 LUW - Backup and Recovery
DB2 LUW - Backup and RecoveryDB2 LUW - Backup and Recovery
DB2 LUW - Backup and Recovery
 
11 cool features in Defrag.nsf+ 11
11 cool features in Defrag.nsf+ 1111 cool features in Defrag.nsf+ 11
11 cool features in Defrag.nsf+ 11
 
Exch2007 sp1 win2008
Exch2007 sp1 win2008Exch2007 sp1 win2008
Exch2007 sp1 win2008
 
C-Cube: Elastic Continuous Clustering in the Cloud
C-Cube: Elastic Continuous Clustering in the CloudC-Cube: Elastic Continuous Clustering in the Cloud
C-Cube: Elastic Continuous Clustering in the Cloud
 
XPages Performance
XPages PerformanceXPages Performance
XPages Performance
 
Building tungsten-clusters-with-postgre sql-hot-standby-and-streaming-replica...
Building tungsten-clusters-with-postgre sql-hot-standby-and-streaming-replica...Building tungsten-clusters-with-postgre sql-hot-standby-and-streaming-replica...
Building tungsten-clusters-with-postgre sql-hot-standby-and-streaming-replica...
 
Persistent Memory Programming with Java*
Persistent Memory Programming with Java*Persistent Memory Programming with Java*
Persistent Memory Programming with Java*
 

Viewers also liked

Apache Persistence Layers
Apache Persistence LayersApache Persistence Layers
Apache Persistence Layers
Henning Schmiedehausen
 
Developer testing 201: When to Mock and When to Integrate
Developer testing 201: When to Mock and When to IntegrateDeveloper testing 201: When to Mock and When to Integrate
Developer testing 201: When to Mock and When to Integrate
LB Denker
 
DbSetup
DbSetupDbSetup
DbSetup
fbenault
 
Java Unit Testing with Unitils
Java Unit Testing with UnitilsJava Unit Testing with Unitils
Java Unit Testing with Unitils
Mikalai Alimenkou
 
Testing database content with DBUnit. My experience.
Testing database content with DBUnit. My experience.Testing database content with DBUnit. My experience.
Testing database content with DBUnit. My experience.
Serhii Kartashov
 
Testing In Java
Testing In JavaTesting In Java
Testing In Java
David Noble
 
Build Features, Not Apps
Build Features, Not AppsBuild Features, Not Apps
Build Features, Not Apps
Natasha Murashev
 

Viewers also liked (7)

Apache Persistence Layers
Apache Persistence LayersApache Persistence Layers
Apache Persistence Layers
 
Developer testing 201: When to Mock and When to Integrate
Developer testing 201: When to Mock and When to IntegrateDeveloper testing 201: When to Mock and When to Integrate
Developer testing 201: When to Mock and When to Integrate
 
DbSetup
DbSetupDbSetup
DbSetup
 
Java Unit Testing with Unitils
Java Unit Testing with UnitilsJava Unit Testing with Unitils
Java Unit Testing with Unitils
 
Testing database content with DBUnit. My experience.
Testing database content with DBUnit. My experience.Testing database content with DBUnit. My experience.
Testing database content with DBUnit. My experience.
 
Testing In Java
Testing In JavaTesting In Java
Testing In Java
 
Build Features, Not Apps
Build Features, Not AppsBuild Features, Not Apps
Build Features, Not Apps
 

More from Jakub Holy

Dissolving Technical Debt on Agile Projects - Smidig 2012
Dissolving Technical Debt on Agile Projects - Smidig 2012Dissolving Technical Debt on Agile Projects - Smidig 2012
Dissolving Technical Debt on Agile Projects - Smidig 2012
Jakub Holy
 
Dealing With Legacy: The Real-World Experience
Dealing With Legacy: The Real-World ExperienceDealing With Legacy: The Real-World Experience
Dealing With Legacy: The Real-World Experience
Jakub Holy
 
Commit on day one thanks to vagrant & puppet!
Commit on day one thanks to vagrant & puppet!Commit on day one thanks to vagrant & puppet!
Commit on day one thanks to vagrant & puppet!
Jakub Holy
 
Why Functional Programming and Clojure - LightningTalk
Why Functional Programming and Clojure - LightningTalkWhy Functional Programming and Clojure - LightningTalk
Why Functional Programming and Clojure - LightningTalk
Jakub Holy
 
Specification by example - course summary
Specification by example - course summarySpecification by example - course summary
Specification by example - course summary
Jakub Holy
 
Seminar Nastroje Jednotk Testovani
Seminar Nastroje Jednotk TestovaniSeminar Nastroje Jednotk Testovani
Seminar Nastroje Jednotk Testovani
Jakub Holy
 

More from Jakub Holy (6)

Dissolving Technical Debt on Agile Projects - Smidig 2012
Dissolving Technical Debt on Agile Projects - Smidig 2012Dissolving Technical Debt on Agile Projects - Smidig 2012
Dissolving Technical Debt on Agile Projects - Smidig 2012
 
Dealing With Legacy: The Real-World Experience
Dealing With Legacy: The Real-World ExperienceDealing With Legacy: The Real-World Experience
Dealing With Legacy: The Real-World Experience
 
Commit on day one thanks to vagrant & puppet!
Commit on day one thanks to vagrant & puppet!Commit on day one thanks to vagrant & puppet!
Commit on day one thanks to vagrant & puppet!
 
Why Functional Programming and Clojure - LightningTalk
Why Functional Programming and Clojure - LightningTalkWhy Functional Programming and Clojure - LightningTalk
Why Functional Programming and Clojure - LightningTalk
 
Specification by example - course summary
Specification by example - course summarySpecification by example - course summary
Specification by example - course summary
 
Seminar Nastroje Jednotk Testovani
Seminar Nastroje Jednotk TestovaniSeminar Nastroje Jednotk Testovani
Seminar Nastroje Jednotk Testovani
 

Recently uploaded

Kala jadu (black magic) expert,Black magic specialist in Dubai vashikaran spe...
Kala jadu (black magic) expert,Black magic specialist in Dubai vashikaran spe...Kala jadu (black magic) expert,Black magic specialist in Dubai vashikaran spe...
Kala jadu (black magic) expert,Black magic specialist in Dubai vashikaran spe...
makhmalhalaaay
 
2. The Book of Psalms: Recognition of the kingship and sovereignty of God
2. The Book of Psalms: Recognition of the kingship and sovereignty of God2. The Book of Psalms: Recognition of the kingship and sovereignty of God
2. The Book of Psalms: Recognition of the kingship and sovereignty of God
COACH International Ministries
 
快速办理(PU毕业证书)普渡大学毕业证文凭证书一模一样
快速办理(PU毕业证书)普渡大学毕业证文凭证书一模一样快速办理(PU毕业证书)普渡大学毕业证文凭证书一模一样
快速办理(PU毕业证书)普渡大学毕业证文凭证书一模一样
cfk7atz3
 
How to Stop a Divorce and Save Your Marriage: Divorce Spells That Really Work...
How to Stop a Divorce and Save Your Marriage: Divorce Spells That Really Work...How to Stop a Divorce and Save Your Marriage: Divorce Spells That Really Work...
How to Stop a Divorce and Save Your Marriage: Divorce Spells That Really Work...
Traditional Healer, Love Spells Caster and Money Spells That Work Fast
 
Vertical Church Kyiv Report 2022-2023: Church at war
Vertical Church Kyiv Report 2022-2023: Church at warVertical Church Kyiv Report 2022-2023: Church at war
Vertical Church Kyiv Report 2022-2023: Church at war
Olena Tyshchenko-Tyshkovets
 
Effective Techniques for Removing Negative Entities
Effective Techniques for Removing Negative EntitiesEffective Techniques for Removing Negative Entities
Effective Techniques for Removing Negative Entities
Reiki Healing Distance
 
The_Chronological_Life_of_Christ_Part_104_Repentance_and_Restoration
The_Chronological_Life_of_Christ_Part_104_Repentance_and_RestorationThe_Chronological_Life_of_Christ_Part_104_Repentance_and_Restoration
The_Chronological_Life_of_Christ_Part_104_Repentance_and_Restoration
Network Bible Fellowship
 
Deerfoot Church of Christ Bulletin 6 9 24
Deerfoot Church of Christ Bulletin 6 9 24Deerfoot Church of Christ Bulletin 6 9 24
Deerfoot Church of Christ Bulletin 6 9 24
deerfootcoc
 
1. The Book of Job: God's infinite wisdom is the key to acknowledging his jus...
1. The Book of Job: God's infinite wisdom is the key to acknowledging his jus...1. The Book of Job: God's infinite wisdom is the key to acknowledging his jus...
1. The Book of Job: God's infinite wisdom is the key to acknowledging his jus...
COACH International Ministries
 
The Hope of Salvation - Jude 1:24-25 - Message
The Hope of Salvation - Jude 1:24-25 - MessageThe Hope of Salvation - Jude 1:24-25 - Message
The Hope of Salvation - Jude 1:24-25 - Message
Cole Hartman
 
A Free eBook ~ Valuable LIFE Lessons to Learn ( 5 Sets of Presentations)...
A Free eBook ~ Valuable LIFE Lessons    to Learn   ( 5 Sets of Presentations)...A Free eBook ~ Valuable LIFE Lessons    to Learn   ( 5 Sets of Presentations)...
A Free eBook ~ Valuable LIFE Lessons to Learn ( 5 Sets of Presentations)...
OH TEIK BIN
 
Hajj and umrah notes short procedure with important duas and translation
Hajj and umrah notes short procedure with important duas and translationHajj and umrah notes short procedure with important duas and translation
Hajj and umrah notes short procedure with important duas and translation
syedsaudnaqvi1
 
Why is this So? ~ Do Seek to KNOW (English & Chinese).pptx
Why is this So? ~ Do Seek to KNOW (English & Chinese).pptxWhy is this So? ~ Do Seek to KNOW (English & Chinese).pptx
Why is this So? ~ Do Seek to KNOW (English & Chinese).pptx
OH TEIK BIN
 
Twisters
TwistersTwisters
Twisters
Dave Stewart
 
St. John's Parish Magazine - June 2024 ..
St. John's Parish Magazine - June 2024 ..St. John's Parish Magazine - June 2024 ..
St. John's Parish Magazine - June 2024 ..
Chris Lyne
 
A375 Example Taste the taste of the Lord, the taste of the Lord The taste of...
A375 Example Taste the taste of the Lord,  the taste of the Lord The taste of...A375 Example Taste the taste of the Lord,  the taste of the Lord The taste of...
A375 Example Taste the taste of the Lord, the taste of the Lord The taste of...
franktsao4
 
St John's Parish Diary for June 2024.pdf
St John's Parish Diary for June 2024.pdfSt John's Parish Diary for June 2024.pdf
St John's Parish Diary for June 2024.pdf
Chris Lyne
 
312 A Wise Woman of Abel Beth Maakah Saves The Town
312 A Wise Woman of Abel Beth Maakah Saves The Town312 A Wise Woman of Abel Beth Maakah Saves The Town
312 A Wise Woman of Abel Beth Maakah Saves The Town
Rick Peterson
 

Recently uploaded (18)

Kala jadu (black magic) expert,Black magic specialist in Dubai vashikaran spe...
Kala jadu (black magic) expert,Black magic specialist in Dubai vashikaran spe...Kala jadu (black magic) expert,Black magic specialist in Dubai vashikaran spe...
Kala jadu (black magic) expert,Black magic specialist in Dubai vashikaran spe...
 
2. The Book of Psalms: Recognition of the kingship and sovereignty of God
2. The Book of Psalms: Recognition of the kingship and sovereignty of God2. The Book of Psalms: Recognition of the kingship and sovereignty of God
2. The Book of Psalms: Recognition of the kingship and sovereignty of God
 
快速办理(PU毕业证书)普渡大学毕业证文凭证书一模一样
快速办理(PU毕业证书)普渡大学毕业证文凭证书一模一样快速办理(PU毕业证书)普渡大学毕业证文凭证书一模一样
快速办理(PU毕业证书)普渡大学毕业证文凭证书一模一样
 
How to Stop a Divorce and Save Your Marriage: Divorce Spells That Really Work...
How to Stop a Divorce and Save Your Marriage: Divorce Spells That Really Work...How to Stop a Divorce and Save Your Marriage: Divorce Spells That Really Work...
How to Stop a Divorce and Save Your Marriage: Divorce Spells That Really Work...
 
Vertical Church Kyiv Report 2022-2023: Church at war
Vertical Church Kyiv Report 2022-2023: Church at warVertical Church Kyiv Report 2022-2023: Church at war
Vertical Church Kyiv Report 2022-2023: Church at war
 
Effective Techniques for Removing Negative Entities
Effective Techniques for Removing Negative EntitiesEffective Techniques for Removing Negative Entities
Effective Techniques for Removing Negative Entities
 
The_Chronological_Life_of_Christ_Part_104_Repentance_and_Restoration
The_Chronological_Life_of_Christ_Part_104_Repentance_and_RestorationThe_Chronological_Life_of_Christ_Part_104_Repentance_and_Restoration
The_Chronological_Life_of_Christ_Part_104_Repentance_and_Restoration
 
Deerfoot Church of Christ Bulletin 6 9 24
Deerfoot Church of Christ Bulletin 6 9 24Deerfoot Church of Christ Bulletin 6 9 24
Deerfoot Church of Christ Bulletin 6 9 24
 
1. The Book of Job: God's infinite wisdom is the key to acknowledging his jus...
1. The Book of Job: God's infinite wisdom is the key to acknowledging his jus...1. The Book of Job: God's infinite wisdom is the key to acknowledging his jus...
1. The Book of Job: God's infinite wisdom is the key to acknowledging his jus...
 
The Hope of Salvation - Jude 1:24-25 - Message
The Hope of Salvation - Jude 1:24-25 - MessageThe Hope of Salvation - Jude 1:24-25 - Message
The Hope of Salvation - Jude 1:24-25 - Message
 
A Free eBook ~ Valuable LIFE Lessons to Learn ( 5 Sets of Presentations)...
A Free eBook ~ Valuable LIFE Lessons    to Learn   ( 5 Sets of Presentations)...A Free eBook ~ Valuable LIFE Lessons    to Learn   ( 5 Sets of Presentations)...
A Free eBook ~ Valuable LIFE Lessons to Learn ( 5 Sets of Presentations)...
 
Hajj and umrah notes short procedure with important duas and translation
Hajj and umrah notes short procedure with important duas and translationHajj and umrah notes short procedure with important duas and translation
Hajj and umrah notes short procedure with important duas and translation
 
Why is this So? ~ Do Seek to KNOW (English & Chinese).pptx
Why is this So? ~ Do Seek to KNOW (English & Chinese).pptxWhy is this So? ~ Do Seek to KNOW (English & Chinese).pptx
Why is this So? ~ Do Seek to KNOW (English & Chinese).pptx
 
Twisters
TwistersTwisters
Twisters
 
St. John's Parish Magazine - June 2024 ..
St. John's Parish Magazine - June 2024 ..St. John's Parish Magazine - June 2024 ..
St. John's Parish Magazine - June 2024 ..
 
A375 Example Taste the taste of the Lord, the taste of the Lord The taste of...
A375 Example Taste the taste of the Lord,  the taste of the Lord The taste of...A375 Example Taste the taste of the Lord,  the taste of the Lord The taste of...
A375 Example Taste the taste of the Lord, the taste of the Lord The taste of...
 
St John's Parish Diary for June 2024.pdf
St John's Parish Diary for June 2024.pdfSt John's Parish Diary for June 2024.pdf
St John's Parish Diary for June 2024.pdf
 
312 A Wise Woman of Abel Beth Maakah Saves The Town
312 A Wise Woman of Abel Beth Maakah Saves The Town312 A Wise Woman of Abel Beth Maakah Saves The Town
312 A Wise Woman of Abel Beth Maakah Saves The Town
 

Brief introduction into DbUnit Express, Q3/2011