Join us on a literary world trip!
Add this book to bookshelf
Grey
Write a new comment Default profile 50px
Grey
Subscribe to read the full book or read the first pages for free!
All characters reduced
Test-Driven Development with Java - Create higher-quality software by writing tests first with SOLID and hexagonal architecture - cover

Test-Driven Development with Java - Create higher-quality software by writing tests first with SOLID and hexagonal architecture

Alan Mellor

Publisher: Packt Publishing

  • 0
  • 0
  • 0

Summary

Test-driven development enables developers to craft well-designed code and prevent defects. It’s a simple yet powerful tool that helps you focus on your code design, while automatically checking that your code works correctly. Mastering TDD will enable you to effectively utilize design patterns and become a proficient software architect.
The book begins by explaining the basics of good code and bad code, bursting common myths, and why Test-driven development is crucial. You’ll then gradually move toward building a sample application using TDD, where you’ll apply the two key rhythms -- red, green, refactor and arrange, act, assert. Next, you’ll learn how to bring external systems such as databases under control by using dependency inversion and test doubles. As you advance, you’ll delve into advanced design techniques such as SOLID patterns, refactoring, and hexagonal architecture. You’ll also balance your use of fast, repeatable unit tests against integration tests using the test pyramid as a guide. The concluding chapters will show you how to implement TDD in real-world use cases and scenarios and develop a modern REST microservice backed by a Postgres database in Java 17.
By the end of this book, you’ll be thinking differently about how you design code for simplicity and how correctness can be baked in as you go.
Available since: 01/13/2023.
Print length: 348 pages.

Other books that might interest you

  • Wild American Ginseng - Lessons for Conservation in the Age of Humans - cover

    Wild American Ginseng - Lessons...

    James McGraw

    • 0
    • 0
    • 0
    Wild American ginseng, America's most famous medicinal plant, is in trouble. In plain prose, James McGraw explains why as he translates the latest in ecological and conservation science findings on this unassuming understory herb. As the world's foremost authority on wild ginseng, McGraw is uniquely poised to present this story based on more than twenty years of uninterrupted field research. 
     
     
     
    McGraw traces the dramatic ecological history of ginseng in North America, documenting the ginseng-centric view of a world increasingly dominated by both direct and indirect actions of humans. Far more than a story of a single plant species, ginseng becomes a parable, a canary in a coal mine, for what is happening to our dwindling wild species across the globe. Documenting lingchi (death by a thousand cuts) in human interactions with wild species, McGraw shows us the evidence of our slowly eroding biodiversity and our diminishing global biotreasury. 
     
     
     
    Beyond merely documenting our destruction of nature, McGraw also offers a pathway to an optimistic future for ginseng and the wild species with whom we share the planet. He illuminates how a dramatic expansion of our commitment to sharing the planet with our fellow planetary companions is the key to preservation; and now is the time to do so.
    Show book
  • AI for Beginners - A Complete Guide for Educators and Students - cover

    AI for Beginners - A Complete...

    Kronborg Books

    • 0
    • 0
    • 0
    Accelerate your teaching with AI in less than 30 days, even if you've never touched a code! 
    Introducing AI for Beginners, a groundbreaking guide designed to simplify AI by balancing theoretical understanding with practical application, ultimately empowering you to transform your teaching strategies. 
    Inside AI for Beginners, you’ll discover: 
    ●	ten straightforward explanations of AI concepts, breaking down technical jargon into understandable language 
    ●	the blueprints for five AI in-class projects across different subjects, equipping you to bring theory into practice 
    ●	five budget-friendly AI tools you can start using in your classroom today 
    ●	strategies to sync with AI trends and inclusive AI tools that are reshaping education 
    ●	the secrets behind creating personalized learning experiences with AI that cater to diverse students 
    ●	twenty expert interviews providing varied perspectives on AI in education 
    ●	AI's role in grading assessments, providing accurate, timely, and fair student evaluation 
    ●	guidance on measuring the impact of AI on student learning and engagement 
    ●	ten inspiring examples of AI's successful application across classrooms worldwide 
    Whether you’re a student looking to leverage AI in your studies, or an educator worried about technical jargon, complex implementation, and ethical dilemmas, this book ensures that you’ll be catered for! Our guidelines are simple and easily executable, even including a variety of ready-to-use lesson plans spanning different subjects and age groups. 
    It’s time to step into the future of education and teach with confidence in this AI-driven world. Read AI for Beginners now!
    Show book
  • Structured Query Language Simplified - Efficient and Effective Database Management - cover

    Structured Query Language...

    Angela White

    • 0
    • 0
    • 0
    Your all-inclusive guide to learning SQL and maximizing database performance is "Structured Query Language Simplified: Efficient and Effective Database Management". This book provides all the information you need to manage databases and take full use of SQL, regardless of your level of experience.  
    Beginning with the fundamentals, readers will gain an understanding of SQL syntax and structure as well as critical ideas like data types and database development. The book covers approaches for data extraction, processing, and optimization. Topics get more complex as they go along.  
    Readers will acquire a thorough understanding of SQL's fundamental concepts through concise explanations and real-world examples, empowering them to create effective queries, carry out intricate data operations, and guarantee data integrity. The book also covers essential database management topics, including security, administration, and scalability, giving students the skills and tactics they need to succeed in practical situations.  
    "Structured Query Language Simplified" can help if you're a database administrator, software developer, or business professional who wants to improve your SQL abilities. This book is a treasure trove of knowledge, best practices, and also helpful advice that will help you manage databases effectively and efficiently. With the skills and knowledge you acquire from this indispensable resource, you can maximize the potential of your databases and advance your professional development.
    Show book
  • Only ChatGPT Book You Will Ever Need The (Updated for GPT4) - Making Money Online has Become so EASY - cover

    Only ChatGPT Book You Will Ever...

    Mike Adams

    • 0
    • 0
    • 0
    How to become a ChatGPT expert in 1 week so you can make money online even if you are not tech-savvy. 
    This comprehensive and engaging guide demystifies the world of ChatGPT, an advanced AI language model, and reveals how you can leverage its capabilities to establish and grow your online presence. Packed with insider tips, real-life success stories, and step-by-step instructions, this book is designed to empower beginners and experienced users alike to unlock the full potential of ChatGPT. 
    Inside this groundbreaking book, you'll discover: 
    • A thorough introduction to ChatGPT and its practical applications in the online world. 
    • The best sites, add-ins, and external apps you can use with ChatGPT. 
    • Proven strategies for integrating ChatGPT into your existing online businesses or starting new, profitable ventures from scratch. 
    • Insightful case studies that showcase the power of ChatGPT and OpenAI Playground in various industries, including content creation, social media management, affiliate marketing, and customer service. 
    • In-depth tutorials on using ChatGPT and Midjourney to create high-quality, engaging, and optimized content to drive traffic and increase conversions. 
    • Expert advice on how to do prompt engineering on your own and never be dependent on external resources anymore. 
    • And so much more! 
    FREE Gift 
    • A Cheat Sheet with all the Useful AI Websites I Use 
    • How to Bypass AI Detection 
    • A Tutorial on the AutoGPT Installation 
    "The Only ChatGPT Book You Will Ever Need" is a must-have resource for anyone looking to stay ahead of the curve in the competitive world of making money online. With this book as your guide, you'll be well-equipped to harness the incredible capabilities of ChatGPT and watch your online income soar!Grab your copy today and start making money online the EASY way!
    Show book
  • YouTube Watch Time Secrets - What Actually Grows a Video Channel - cover

    YouTube Watch Time Secrets -...

    Michael Patterson

    • 0
    • 0
    • 0
    This audiobook is narrated by an AI Voice. Getting views is only half the battle. The real secret to YouTube success is keeping people watching. 
     
    Watch time is one of the most powerful signals that influences how YouTube recommends videos, grows channels, and rewards creators with greater visibility. The longer viewers stay engaged, the more opportunities your content has to reach new audiences, generate subscribers, and increase revenue. 
     
    YouTube Watch Time Secrets is a practical guide that teaches you how to create videos that hold attention from beginning to end. Whether you're a new creator, experienced YouTuber, educator, business owner, coach, marketer, or content entrepreneur, this book provides proven strategies for increasing audience retention, boosting watch time, and building a channel that grows consistently. 
     
    Inside, you'll discover how to: 
     
    • Understand how watch time influences the YouTube algorithm 
    • Create stronger video hooks that capture attention immediately 
    • Improve audience retention throughout every stage of your videos 
    • Structure content to keep viewers engaged longer 
    • Increase session watch time across your entire channel 
    • Optimize pacing, storytelling, editing, and visual engagement 
    • Use YouTube analytics to identify viewer drop-off points 
    • Build playlists and content strategies that encourage binge watching 
    • Leverage AI tools to improve scripting, planning, and content production 
    • Develop long-term habits that lead to sustainable YouTube growth 
     
    Each chapter includes practical techniques, real-world examples, optimization strategies, and actionable frameworks that help you improve viewer engagement and maximize the performance of every video you publish.
    Show book
  • Journey Through Time's Mysteries: An Engaging Exploration - Unlock the Mysteries of History! Discover gripping audio lessons for a captivating exploration of the ages - cover

    Journey Through Time's...

    Thane Waverly

    • 0
    • 0
    • 0
    Journey Through Time's Mysteries: An Engaging Exploration  
    ⭐⭐ Simplified Audio Guide ⭐⭐  
    Are you ready to embark on an enthralling journey through history and uncover its hidden wonders? 
    Looking for a comprehensive guide that delves into the mysteries of time with clarity and depth? 
    Your search ends here! 
    This audiobook is your ultimate companion for deepening your understanding of historical events, applying your knowledge, and engaging in thought-provoking exploration. With this, you're set for an extraordinary adventure. 
    Updated for enriched content and new insights. 
    Key features of this engaging guide: 
    - Profound insights into historical mysteries 
    - Detailed explanations of key historical events 
    - Effective strategies for understanding and exploring complex topics 
    Our guide stands out with its thorough exploration of historical concepts. Topics aren't merely skimmed over; they are examined with precision. 
    Please note that this guide is an independent resource and not affiliated with any official historical entities. 
    Designed with a clear structure and easy-to-understand language, our audiobook ensures smooth transitions between topics. Say goodbye to dense jargon and welcome clear, precise, and engaging content. 
    So, why wait? Click the BUY NOW button, secure your guide, and begin your journey through history's mysteries!
    Show book