July 30, 2024
Pragmatic Unit Testing in Java with JUnit, Third Edition
Pragmatic Unit Testing in Java with JUnit steps you through all the important unit testing topics.
If you've never written a unit test, you'll be hand-held through the hard part—getting set up and started. Once past the basics, you’ll see numerous examples in order to start understanding what tests for common code concepts look like. You’ll then learn how to effectively use the essential features of JUnit, the predominant tool for writing and executing unit tests in Java.
You’ll gain the collected unit testing wisdom of folks who've "been there, done that" on production systems for many combined decades: Jeff Langr, Andy Hunt, and Dave Thomas. You'll learn how to:
- Craft your code to make unit testing easier in the first place
- Craft your unit tests to minimize your maintenance effort
- Use unit tests to support keeping your system clean through refactoring
- Refactor toward a design that will create the highest possible ROI
- Test the tough stuff, including code that must be mocked
- Remember what's important when writing unit tests
- Help your team reap and sustain the benefits of unit testing
- Use AI tooling as part of a development process that incorporates unit testing
You won't just learn about unit testing in theory—you'll learn about "real" unit testing the Pragmatic way, by working through numerous code examples.
Now available in beta from pragprog.com/titles/utj3.
Want to Write Something? Share What You Know
From paperbacks and ebooks to online courses and beyond, if you want to create
technical content, we may be your perfect partner.
Leverage our 20+ years of experience, our global distribution network, our
massive fan base, our relationships with industry leaders, our editorial,
production, and marketing prowess, and even our reputation for excellence. Sure,
you could go it alone, but with some of the highest royalties in all of
traditional publishing and your own personal team, why would you bother?
Shoot us an email at proposals@pragprog.com or visit pragprog.com/publish-with-us
for more details today.
Let's publish something together!
Upcoming Author Appearances2024-08-01 Michael Fazio,
THAT Conference, Wisconsin Dells, WI
2024-08-01 Andy Atkinson,
Madison Ruby, Madison, WI, USA
2024-08-01 Paolo Perrotta,
Madison+ Ruby
2024-09-03 Johanna Rothman,
Non-Fiction Writing Workshop: Free Your Inner Writer (online workshop)
2024-09-05 Leemay Nassery,
LeadDev NYC
2024-09-11 Dave Thomas,
EuRuKo, Sarajevo, Bosnia and Herzegovina
2024-09-12 Johanna Rothman,
Boston Java Users ACM Chapter (formerly NEJUG)
Be the First
Sign up for this newsletter at https://pragprog.com/newsletter/ and be the first to hear about our newest
content, best promotions, and upcoming events.
Want even more? Follow @pragprog
on Twitter and The Pragmatic Programmers on LinkedIn
for commentary, news, job openings, and even puzzles.
And, if you want, you can see what
Dave Thomas
(@pragdave) is up to.
Thanks for your continued support,
By Professional Developers, for Professional Developers PragProg.com
Sent by the Pragmatic Programmers, LLC. • PO Box 271356 • Flower Mound TX 75027
|