CodeMash 2020 | Hey, You Got Your TDD in MySQL DB | Jeff McKenzie
CodeMash 2020 | Hey, You Got Your TDD in MySQL DB | Jeff McKenzie
When should you test your data? From an application development perspective, a unit test against a database isn't a unit test at all, which makes sense because connected systems introduce overhead and dependency, both of which reduce stability and decrease productivity during test-driven development (TDD). If you wait for integration testing, critical functionality can get missed. In this session, Jeff McKenzie will discuss strategies for filling the data testing gap, directly within a Microsoft SQL Server environment. If you do a lot of work in T-SQL but aren't familiar with TDD, you'll learn the why and how of test-first development. If you're accomplished with unit tests but never tried them in your database, you'll learn how to apply familiar concepts like setup, mocking, and assertion. The majority of this session will focus on walking through a solution based on a real-world project, specifically using the open source tSQLt database unit testing framework.
OpenCourser helps millions of learners each year. People visit us to learn workspace skills, ace their exams, and nurture their curiosity.
Our extensive catalog contains over 50,000 courses and twice as many books. Browse by search, by topic, or even by career interests. We'll match you to the right resources quickly.
Find this site helpful? Tell a friend about us.
We're supported by our community of learners. When you purchase or subscribe to courses and programs or purchase books, we may earn a commission from our partners.
Your purchases help us maintain our catalog and keep our servers humming without ads.
Thank you for supporting OpenCourser.