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

  • The Science of Star Trek - The Scientific Facts Behind the Voyages in Space and Time - cover

    The Science of Star Trek - The...

    Mark Brake

    • 0
    • 0
    • 0
    Star Trek is one of the highest-grossing media franchises of all time. It has changed our cultural landscape in so many ways since it first aired in 1966. The franchise has generated billions of dollars in revenue, leading to a wide range of spin-off games, novels, toys, and comics. Star Trek is noted for its social science, too, with its progressive civil rights stances and its celebration of future diversity that began with The Original Series, one of television's first multiracial casts. 
     
     
     
    The Science of Star Trek explores one of the greatest science-fiction universes ever created and showcases the visionary tech that inspired and influenced the real-world science of today. The perfect Star Trek gift for fans of the franchise, this book addresses many unanswered, burning questions, including: What can Star Trek tell us about aliens in our Milky Way?; How has Star Trek influenced space culture?; What can Star Trek tell us about planet hunting?; What Star Trek machines came true?; And when will we boldly go? 
     
     
     
    Learn more about one of our favorite modern epics with The Science of Star Trek!
    Zum Buch
  • Cosmetic Procedures Bundle 2 in 1 Bundle - cover

    Cosmetic Procedures Bundle 2 in...

    Diane Nielsen, Elisabeth Franco

    • 0
    • 0
    • 0
    Cosmetic Procedures Bundle, 2 in 1 Bundle: Plastic Surgery and Cosmetology DecodedIs cosmetic surgery something that has been on your mind? It might be if you have an imperfection, like excess fat, excess skin, or wrinkles, that you want to fix. More people and more people are now considering the benefits and the end results of plastic surgery. With the advancements in surgery and in the way the body can be shaped, it's hard not to resist the lure of the knife and what it can do for your body. While 92% of all cosmetic surgery patients are women, men are becoming patients more often as well. Your appearance matters in the business world as well as in your personal life, so why not take steps to secure your looks for as long as you can?This bundle will serve as your comprehensive guide regarding cosmetic surgery. It will give you the information you need before doing any cosmetic procedure. You will learn whether plastic surgery is for you, the preparations you need to take and the after care after your procedures. You will learn which procedures may be good for you and which ones are not recommended for you. This 2 in 1 bundle includes the following audiobooks:1. Plastic Surgery: The Essential Guide to Cosmetic Surgery. Learn About Different Procedures, What to Expect and Discover Whether You Really Need Plastic Surgery or Not2. Cosmetology Decoded: Learn the Ins and Outs of Different Cosmetic Surgeries and Procedures That Can Help Give You a Youthful LookIf you want to learn more, download your copy of Cosmetic Procedures 2 in 1 Bundle today!
    Zum Buch
  • Relativity: The Special and the General Theory - cover

    Relativity: The Special and the...

    Albert Einstein

    • 0
    • 0
    • 0
    "Relativity: The Special and the General Theory" is a seminal work by Albert Einstein, first published in 1916, designed to explain the groundbreaking theories that reshaped our understanding of the universe. In this accessible text, Einstein introduces readers to the Special Theory of Relativity, which addresses the relationship between space and time, and the General Theory of Relativity, which expands these concepts to include gravity as the curvature of space-time caused by mass and energy. Written for the layperson, Einstein employs clear language and thought experiments to elucidate complex ideas such as time dilation, length contraction, and the equivalence principle, making this book a cornerstone of modern physics and a must-read for anyone interested in the fundamental nature of reality.
    Zum Buch
  • Hypnosis to Overcome Phobias - Rewire Your Mindset And Get Fast Results With Hypnosis! - cover

    Hypnosis to Overcome Phobias -...

    Empowered Living

    • 0
    • 0
    • 0
    The advantages of hypnosis therapy are widespread. A lot of individuals report positive changes with hypnosis and it's recognized as a valid type of holistic alternative medicine.  
    Hypnosis is a popular technique utilized for weight loss, overcoming addiction, healing, achieving goals, relaxation and stress relief. It's utilized to get rid of undesired behaviors and beliefs and to manifest new desires and achieve goals in life. 
      
    If you wish to influence your subconscious mind to accept new programming for positive alterations hypnosis is an effective technique for doing that. 
    Among the chief advantages of hypnosis is that when you in a hypnotic state brain wave frequencies decelerate. You center or focus your awareness and you're actually much more aware than usual. A state of centered awareness almost feels as though you're more of an observer of thought and images rather than a part of them. This allows you to bypass the "gatekeepers" at the entrance to the subconscious and superconscious so you are able to access these levels of consciousness directly, and the brain is much more receptive to suggestion. 
    The unconscious, or subconscious may then be reprogrammed so it lets go of old patterns, beliefs and feelings that no longer serve you. They may be replaced with suggestions that are favorable and affirming. The superconscious mind may open you into fresh insights and originative ideas.  
    Put this audio on each night before you go to bed and listen to it right before you fall asleep. If you have time also listen to it first thing upon waking. Do this for at least 21 days consistently so that positive change can take affect in your life.
    Zum Buch
  • ​Latest Facebook Marketing Made Easy - cover

    ​Latest Facebook Marketing Made...

    Jim Stephens

    • 0
    • 0
    • 0
    ​Latest Facebook Marketing Made Easy is one of dozens of Courses Focusing On Hot Internet Marketing & Make Money Topics.
    Zum Buch
  • How Technological Advances Change Human Food - cover

    How Technological Advances...

    Matteo Bordiga, Baojun Xu

    • 0
    • 0
    • 0
    Diet is key to understanding the past, present, and future of our species. Much of human evolutionary success can be attributed to our ability to consume and preserve a wide range of foods. Technological advances changed the types of foods we eat. With this consideration, How Technological Advances Change Human Food weaves together various themes, starting with human evolution, moving on to methods of food preservation, and continuing with the evolution of cooking methods. Issues relating to sustainability are also reported, including green food processing, vertical farming, and edible insect farming. There is a close link between what we eat and the development of our gut microbiota; thus, this book covers the evolution and adaptation of microbiota. 
     
    Key Features: 
    Contains a common thread in how technology has changed food and diet and its implicationsFocuses on the evolution of methods for both food preservation and cookingExplains the evolution and adaptation of gut microbiota in relation to diet
    Zum Buch