Begleiten Sie uns auf eine literarische Weltreise!
Buch zum Bücherregal hinzufügen
Grey
Einen neuen Kommentar schreiben Default profile 50px
Grey
Jetzt das ganze Buch im Abo oder die ersten Seiten gratis lesen!
All characters reduced
Test-Driven Development in Go - A practical guide to writing idiomatic and efficient Go tests through real-world examples - cover

Test-Driven Development in Go - A practical guide to writing idiomatic and efficient Go tests through real-world examples

Adelina Simion

Verlag: Packt Publishing

  • 0
  • 0
  • 0

Beschreibung

Experienced developers understand the importance of designing a comprehensive testing strategy to ensure efficient shipping and maintaining services in production. This book shows you how to utilize test-driven development (TDD), a widely adopted industry practice, for testing your Go apps at different levels. You’ll also explore challenges faced in testing concurrent code, and learn how to leverage generics and write fuzz tests.
The book begins by teaching you how to use TDD to tackle various problems, from simple mathematical functions to web apps. You’ll then learn how to structure and run your unit tests using Go’s standard testing library, and explore two popular testing frameworks, Testify and Ginkgo. You’ll also implement test suites using table-driven testing, a popular Go technique. As you advance, you’ll write and run behavior-driven development (BDD) tests using Ginkgo and Godog. Finally, you’ll explore the tricky aspects of implementing and testing TDD in production, such as refactoring your code and testing microservices architecture with contract testing implemented with Pact. All these techniques will be demonstrated using an example REST API, as well as smaller bespoke code examples.
By the end of this book, you’ll have learned how to design and implement a comprehensive testing strategy for your Go applications and microservices architecture.
Verfügbar seit: 28.04.2023.
Drucklänge: 342 Seiten.

Weitere Bücher, die Sie mögen werden

  • Hybrid Databases - Unifying Data Architectures for Modern Applications - cover

    Hybrid Databases - Unifying Data...

    Sam Green

    • 0
    • 0
    • 0
    In today’s fast-paced digital world, businesses and applications are dealing with an ever-growing variety of data types and requirements. Hybrid Databases: Unifying Data Architectures for Modern Applications provides a comprehensive guide to understanding and implementing hybrid database systems—solutions that combine the power of multiple database technologies to meet diverse data processing needs. 
    This book explores how hybrid databases integrate relational, NoSQL, in-memory, graph, and other specialized databases into a unified architecture, allowing organizations to harness the strengths of each type for different use cases. It covers the rise of hybrid databases in response to challenges in scalability, flexibility, and performance, and offers practical guidance on how to design, implement, and optimize hybrid database systems. 
    With in-depth chapters on database types, design patterns, and integration strategies, Hybrid Databases addresses the complexities of working with multiple data models, ensuring consistency, and maintaining performance at scale. It provides real-world case studies across industries such as e-commerce, IoT, healthcare, and finance, illustrating how hybrid architectures are transforming the way businesses manage and leverage data. 
    This book offers valuable insights into the future of data management and equips you with the knowledge to build scalable, efficient, and future-proof hybrid database systems for your organization. 
    Unlock the full potential of your data with Hybrid Databases, and learn how to integrate diverse database technologies into cohesive, high-performance systems that power the applications of tomorrow. 
     
    Zum Buch
  • The Buck that Buries its Poo - And 101 Other Fascinating Facts About SA's Wildlife - cover

    The Buck that Buries its Poo -...

    Quinton Coetzee

    • 0
    • 0
    • 0
    Is a zebra black with white stripes or white with black stripes? And why do flamingos stand on one leg while bats hang upside down? Did you know that a chameleon’s tongue can shoot out at five times the acceleration of a fighter jet? 
    In The Buck That Buries its Poo, naturalist Quinton Coetzee answers these and many other intriguing wildlife questions. He also dispels countless myths and elucidates some of the legends that surround 
    creatures in the South African bush we thought we knew all about. For example, bats do not get tangled in people’s hair (because they are far too adept at flying) and elephants are not afraid of mice (but they do fear bees!). 
    Other tall tales you might hear around the campfire are that lions roll in animal dung, entrails or carcasses to disguise their scent, and that rhinos have a predilection for stamping out fires. What is true, though, is that hyenas are more closely related to cats than to dogs. This handy guide is based on Coetzee’s own research and that of others, and his experience gleaned over decades living close to nature and wildlife. It seeks to unravel the mysteries of nature in Africa – from mammals and birds to arthropods and plants – with fascinating information and fun trivia. It is a book that will enlighten and entertain. 
    PS: Zebras are black with white stripes!
    Zum Buch
  • Mobile Money Machines - 16 AI Powered Passive Income Streams That Earn While you Sleep - cover

    Mobile Money Machines - 16 AI...

    Siddhartha Sharma

    • 0
    • 0
    • 0
    Discover 16 powerful, AI-driven passive income models you can launch directly from your smartphone- with little or no upfront costs 
    In a world where automation and mobile technology are transforming how we earn, this practical guide provides a step by step blueprint for building scalable, semi automated income streams from anywhere 
    Whether you're a freelancer, student, content creator or aspiring solopreneur, youll explore real tools & methods that require no coding, complex setup, or expensive gear. Just smart systems & AI support 
    What you'll learn 
    • How to write and publish AI generated ebook on kindle and Gumroad 
    • How to create online courses with mobile video editors & AI voiceovers 
    • How to launch faceless Youtube & podcast channels using automation 
    • How to sell digital planners, Canva kits & Notion templates 
    • How to offer chatbot services to businesses with no code tools 
    • How to invest using AI Powered trading apps & real estate platforms 
    • How to build micro SaaS apps with AI backends- no coding needed 
    With clearly explained strategies, tool recommendations, and mobile first workflows, this book helps you launch multiple income streams that run on autopilot. No teams. No hype. Just the modern way to build digital assets that work for you- while you focus on what matters most.
    Zum Buch
  • Streaming Sharing Stealing: Book Summary & Analysis - cover

    Streaming Sharing Stealing: Book...

    Briefly Summaries

    • 0
    • 0
    • 0
    This is a concise summary and analysis of Streaming, Sharing, Stealing , by Michael D. Smith and Rahul Telang.
     
    It is not the original book and is not affiliated with or endorsed by Michael D. Smith and Rahul Telang.
     
    Ideal those seeking a quick and insightful overview.
     
    Streaming, Sharing, Stealing explores the impact of digital streaming on the entertainment industry, analyzing how platforms like Netflix, Spotify, and others have transformed how we consume media. The book delves into the economics of streaming, the rise of piracy, and the evolving relationships between consumers, content creators, and distributors. It provides a detailed look at how digital platforms are reshaping the media landscape, offering both challenges and opportunities for businesses and artists.
    Zum Buch
  • The Control of Nature - cover

    The Control of Nature

    John McPhee

    • 0
    • 0
    • 0
    The Control of Nature is John McPhee's bestselling account of places where people are locked in combat with nature. Taking us deep into these contested territories, McPhee details the strategies and tactics through which people attempt to control nature. Most striking is his depiction of the main contestants: nature in complex and awesome guises, and those attempting to wrest control from her—stubborn, sometimes foolhardy, more often ingenious, and always arresting characters.
    Zum Buch
  • Artificial Intelligence Fundamentals - Unlocking the Power of Artificial Intelligence: A Comprehensive Guide to Fundamentals and Applications - cover

    Artificial Intelligence...

    Eric Shaw

    • 0
    • 0
    • 0
    Artificial Intelligence Fundamentals: Unlocking the Power of Artificial Intelligence: A Comprehensive Guide to Fundamentals and ApplicationsStep into the dynamic world of Artificial Intelligence with "Artificial Intelligence Fundamentals: Unlocking the Power of Artificial Intelligence." This immersive audiobook serves as your essential guide to the core principles, concepts, and applications that underpin this transformative technology.Whether you're a beginner curious about AI or an industry professional seeking to deepen your knowledge, this comprehensive resource will equip you with the fundamental understanding needed to navigate the vast landscape of AI. From machine learning to natural language processing, you'll explore the building blocks that drive AI innovation and discover how it is reshaping industries and transforming the way we live and work."Artificial Intelligence Fundamentals" goes beyond theory, offering practical applications and guidance to harness the power of AI in your own endeavors. Explore the methodologies and frameworks that drive AI development, understand the ethical considerations, and unlock strategies to effectively integrate AI technologies into your business or projects.Prepare to be captivated by the possibilities as you embark on this transformative journey. Through the expertly crafted narration and clear explanations, even complex concepts become accessible and exciting. Whether you're an entrepreneur, a student, or simply an AI enthusiast, this audiobook is your gateway to unlocking the true potential of artificial intelligence.Are you ready to dive into the world of AI? "Artificial Intelligence Fundamentals" is your comprehensive roadmap to understanding and harnessing the power of this remarkable technology. Join the AI revolution and unlock a world of endless possibilities.
    Zum Buch