• Home
  • Privacy Policy
Breaking News, US News, World News and Bollywood News
  • Home
  • Technology
    Top technologists have job options: 5 tips for retention

    Top technologists have job options: 5 tips for retention

    CNCF launches ethics in open source training course

    CNCF launches ethics in open source training course

    More money for open source security won’t work

    More money for open source security won’t work

    Review: YugabyteDB does PostgreSQL proud

    Review: YugabyteDB does PostgreSQL proud

    Microsoft .NET 7 Preview 1 coming this week

    Microsoft .NET 7 Preview 4 brings Regex improvements, cache metrics

    Does your deployed infrastructure match what you defined?

    Do your AWS deployments match your Terraform definitions? Use SQL to find out.

    Trending Tags

    • Nintendo Switch
    • CES 2017
    • Playstation 4 Pro
    • Mark Zuckerberg
  • Entertainment
    The real-life Tomb Raider game that’s not on consoles – Tomb Raider Experience hits London | Gaming | Entertainment

    The real-life Tomb Raider game that’s not on consoles – Tomb Raider Experience hits London | Gaming | Entertainment

    Wordle 332 May 17 HINTS – Struggling with today’s Wordle? Three clues to help with answer | Gaming | Entertainment

    Wordle 332 May 17 HINTS – Struggling with today’s Wordle? Three clues to help with answer | Gaming | Entertainment

    Fortnite update 20.40 patch notes, downtime, Obi-Wan launch, PlayStation V-bucks and MORE | Gaming | Entertainment

    Fortnite update 20.40 patch notes, downtime, Obi-Wan launch, PlayStation V-bucks and MORE | Gaming | Entertainment

    Pirates of the Caribbean 6: Hope for Johnny Depp Jack Sparrow return shared by producer | Films | Entertainment

    Pirates of the Caribbean 6: Hope for Johnny Depp Jack Sparrow return shared by producer | Films | Entertainment

    Captain America 4 ‘sees Moon Knight team up against Secret Empire’ Chris Evans HYDRA Cap? | Films | Entertainment

    Captain America 4 ‘sees Moon Knight team up against Secret Empire’ Chris Evans HYDRA Cap? | Films | Entertainment

    Chainsaw Man anime release date: Crunchyroll streams hit anime in 2022 | Gaming | Entertainment

    Chainsaw Man anime release date: Crunchyroll streams hit anime in 2022 | Gaming | Entertainment

    Trending Tags

      • Bollywood
      • Hollywood
      • Music
    • Lifestyle
      When to plant courgettes outside – the ‘safest’ time when ‘risk of frost has passed’

      When to plant courgettes outside – the ‘safest’ time when ‘risk of frost has passed’

      How to kill weeds without harming grass – 4 best ways to get rid of weeds and ingredients

      How to kill weeds without harming grass – 4 best ways to get rid of weeds and ingredients

      Garden furniture: Key thing to look out for when buying rattan

      Garden furniture: Key thing to look out for when buying rattan

      Aloe vera: ‘Best tip’ when repotting houseplant to give it ‘conditions it enjoys most’

      Aloe vera: ‘Best tip’ when repotting houseplant to give it ‘conditions it enjoys most’

      Lawn care: What to remember when mowing lawn for ‘lush and healthy grass’

      Lawn care: What to remember when mowing lawn for ‘lush and healthy grass’

      Tomatoes: How to ‘boost fruiting’ and produce ‘plenty of delicious tomatoes’ – care tips

      Tomatoes: How to ‘boost fruiting’ and produce ‘plenty of delicious tomatoes’ – care tips

      Trending Tags

      • Golden Globes
      • Game of Thrones
      • MotoGP 2017
      • eSports
      • Fashion Week
    • Nature
    • Business
    • Health
      • Food
    • Fashion
    • Science
    • Sports
    • Travel
    • World News
    No Result
    View All Result
    • Home
    • Technology
      Top technologists have job options: 5 tips for retention

      Top technologists have job options: 5 tips for retention

      CNCF launches ethics in open source training course

      CNCF launches ethics in open source training course

      More money for open source security won’t work

      More money for open source security won’t work

      Review: YugabyteDB does PostgreSQL proud

      Review: YugabyteDB does PostgreSQL proud

      Microsoft .NET 7 Preview 1 coming this week

      Microsoft .NET 7 Preview 4 brings Regex improvements, cache metrics

      Does your deployed infrastructure match what you defined?

      Do your AWS deployments match your Terraform definitions? Use SQL to find out.

      Trending Tags

      • Nintendo Switch
      • CES 2017
      • Playstation 4 Pro
      • Mark Zuckerberg
    • Entertainment
      The real-life Tomb Raider game that’s not on consoles – Tomb Raider Experience hits London | Gaming | Entertainment

      The real-life Tomb Raider game that’s not on consoles – Tomb Raider Experience hits London | Gaming | Entertainment

      Wordle 332 May 17 HINTS – Struggling with today’s Wordle? Three clues to help with answer | Gaming | Entertainment

      Wordle 332 May 17 HINTS – Struggling with today’s Wordle? Three clues to help with answer | Gaming | Entertainment

      Fortnite update 20.40 patch notes, downtime, Obi-Wan launch, PlayStation V-bucks and MORE | Gaming | Entertainment

      Fortnite update 20.40 patch notes, downtime, Obi-Wan launch, PlayStation V-bucks and MORE | Gaming | Entertainment

      Pirates of the Caribbean 6: Hope for Johnny Depp Jack Sparrow return shared by producer | Films | Entertainment

      Pirates of the Caribbean 6: Hope for Johnny Depp Jack Sparrow return shared by producer | Films | Entertainment

      Captain America 4 ‘sees Moon Knight team up against Secret Empire’ Chris Evans HYDRA Cap? | Films | Entertainment

      Captain America 4 ‘sees Moon Knight team up against Secret Empire’ Chris Evans HYDRA Cap? | Films | Entertainment

      Chainsaw Man anime release date: Crunchyroll streams hit anime in 2022 | Gaming | Entertainment

      Chainsaw Man anime release date: Crunchyroll streams hit anime in 2022 | Gaming | Entertainment

      Trending Tags

        • Bollywood
        • Hollywood
        • Music
      • Lifestyle
        When to plant courgettes outside – the ‘safest’ time when ‘risk of frost has passed’

        When to plant courgettes outside – the ‘safest’ time when ‘risk of frost has passed’

        How to kill weeds without harming grass – 4 best ways to get rid of weeds and ingredients

        How to kill weeds without harming grass – 4 best ways to get rid of weeds and ingredients

        Garden furniture: Key thing to look out for when buying rattan

        Garden furniture: Key thing to look out for when buying rattan

        Aloe vera: ‘Best tip’ when repotting houseplant to give it ‘conditions it enjoys most’

        Aloe vera: ‘Best tip’ when repotting houseplant to give it ‘conditions it enjoys most’

        Lawn care: What to remember when mowing lawn for ‘lush and healthy grass’

        Lawn care: What to remember when mowing lawn for ‘lush and healthy grass’

        Tomatoes: How to ‘boost fruiting’ and produce ‘plenty of delicious tomatoes’ – care tips

        Tomatoes: How to ‘boost fruiting’ and produce ‘plenty of delicious tomatoes’ – care tips

        Trending Tags

        • Golden Globes
        • Game of Thrones
        • MotoGP 2017
        • eSports
        • Fashion Week
      • Nature
      • Business
      • Health
        • Food
      • Fashion
      • Science
      • Sports
      • Travel
      • World News
      No Result
      View All Result
      Updates News
      No Result
      View All Result
      Home Technology

      A new kind of old-school software testing

      admin by admin
      January 19, 2022
      in Technology
      0
      A new kind of old-school testing
      0
      SHARES
      19
      VIEWS
      Share on FacebookShare on Twitter


      Perhaps there’s a planet with perfect software, but as Google’s Chris DiBona writes, that planet isn’t the one we live on. As such, developers are left with a trade-off: Tread cautiously and rigorously test your software to find all problems pre-deployment, or test less and ship faster with greater tolerance for bugs in production. The former camp is filled with developers working in regulated industries like healthcare and finance; the latter is populated by adherents to Werner Vogels’ famous “you build it, you run it” dictum (see the PDF at the link).

      This trade-off is one of the most nuanced developer productivity debates.

      Wherever developers sit on the testing spectrum, there isn’t a one-size-fits-all solution for software testing, leading developers to constantly search for the right blend of testing approaches to suit their evolving needs. To complicate matters, for any of the available testing approaches to become habit, developers must find the sweet spot of both solving a major pain point and not being so prohibitively slow or complicated that they won’t use it.

      As I recently wrote, unit testing has found that sweet spot. As a software testing practice, it allows teams to test small, isolated pieces of code, which not only assures that software is working according to its intended specs, but allows developers to reason with parts of the code base written by other developers. Unit testing has been around for decades, but it has really only become ingrained recently because automation has simplified the user experience to the point of real usability.

      Today there’s another form of testing that, similar to unit testing, is decades in the making but is only now finding its sweet spot in both addressing an essential problem and giving developers the right abstraction for a greatly simplified approach. I’m talking about integration testing.

      A developer’s job is to glue things together

      In conventional three-tier architecture systems, developers might have had one database and perhaps an API or two to interact with, and that was the extent of the third-party components they touched.

      Nowadays developers tend to break a solution down into many different components—most of which they didn’t write, most of which they haven’t seen the source code to, and many of which are written in a different programming language.

      Developers are writing less logic and spending more time gluing things together. Today the average production system has interactions with multiple databases, APIs, and other microservices and endpoints.

      Any time your software has to talk to a different piece of software, you can no longer make simple assumptions about how your system is going to behave. Every database, message queue, cache, and framework has its own particular states, rules, and constraints that determine its behavior. Developers need a way to test these behaviors in advance of deployment, and this class of testing is called integration testing.

      “Integration tests determine if independently developed units of software work correctly when they are connected to each other,” writes Martin Fowler, who first learned about integration testing in the 1980s.

      Until recently, integration testing meant you needed a replica of your production environment. Creating that test environment by hand was an extremely time-consuming process, with great risk of making mistakes. There were penalties for having discrepancies between test and production, and there was the ongoing burden of having to make changes in your test environment every time you made a change in production. Integration testing was so difficult to set up and use that for many developers it remained an obscure, inaccessible software testing discipline.

      That was then. This is now.

      Testcontainers: Improving integration testing

      Richard North created Testcontainers in 2015 while he was chief engineer at Deloitte Digital. He observed that integration testing’s hopelessly complicated setup—everything from creating consistent local environments to configuring databases and managing countless other issues—was a constant source of thrashing for developer teams that needed a reliable way to test their code against real production-like dependencies.

      North built Testcontainers as an open source library that lets developers “test with containers” against data stores, databases, or anything else that can run in a Docker container, including popular frameworks such as Apache Kafka. Testcontainers provides an ergonomic, code-based way for developers to harness containers for local and continuous integration testing, without forcing every developer to become an expert on the many nuances of containers.

      Today Testcontainers is the most popular Docker-based integration testing library, used by thousands of companies, such as Spotify, Google, Instana, Oracle, and Zalando. Part of the popularity of Testcontainers is its pre-supported library of modules that includes just about every known database and many popular technologies, often contributed to the Testcontainers project and directly maintained by the database and technology vendors. Earlier this year, North and core Testcontainers maintainer Sergei Egorov got $4 million in seed funding and launched AtomicJar to keep extending the ecosystem of supported Testcontainers modules.

      Fail faster is a winning pattern

      There will always be impassioned debates about how to best balance speed versus software quality. One reason for the great popularity of the Java compiler and similar technologies has been their ability to help developers find failure closer to the point of development so they can fix them quickly.

      There will always be diabolical bugs that evade your testing, but with the increasing ease of software unit testing and integration testing today, it’s getting harder to credibly argue against investing more cycles into testing your code and its integration surface before pushing to production.

      Copyright © 2022 IDG Communications, Inc.





      Source link

      admin

      admin

      • Trending
      • Comments
      • Latest
      Plant warning as bamboo causes £100,000 of damage to Hampshire property

      Plant warning as bamboo causes £100,000 of damage to Hampshire property

      January 31, 2022
      Social workers warned weeks before baby Mitchell died in 2019 | TV & Radio | Showbiz & TV

      Social workers warned weeks before baby Mitchell died in 2019 | TV & Radio | Showbiz & TV

      January 2, 2022
      Yorkshire nan on how to make Yorkshire puddings with no ingredients weighed

      Yorkshire nan on how to make Yorkshire puddings with no ingredients weighed

      February 15, 2022
      Newcastle transfer news: Last-gasp offer made for Dele Alli in late Everton hijack attempt | Football | Sport

      Newcastle transfer news: Last-gasp offer made for Dele Alli in late Everton hijack attempt | Football | Sport

      January 31, 2022
      Gentleman Jack Gives Into Temptation In ‘I’m Not The Other Woman, She Is’

      Gentleman Jack Gives Into Temptation In ‘I’m Not The Other Woman, She Is’

      0
      Boris Johnson slammed by Indie band for using their song ‘Blue Bunch Of Corrupt W****rs’ | Music | Entertainment

      Boris Johnson slammed by Indie band for using their song ‘Blue Bunch Of Corrupt W****rs’ | Music | Entertainment

      0
      Call Your Mom, Because Sue Grafton’s Alphabet Murder Mystery Books Are Becoming A Show

      Call Your Mom, Because Sue Grafton’s Alphabet Murder Mystery Books Are Becoming A Show

      0
      Release Date, Cast, And More

      Release Date, Cast, And More

      0
      Gentleman Jack Gives Into Temptation In ‘I’m Not The Other Woman, She Is’

      Gentleman Jack Gives Into Temptation In ‘I’m Not The Other Woman, She Is’

      May 17, 2022
      The real-life Tomb Raider game that’s not on consoles – Tomb Raider Experience hits London | Gaming | Entertainment

      The real-life Tomb Raider game that’s not on consoles – Tomb Raider Experience hits London | Gaming | Entertainment

      May 17, 2022
      Leading pollster warns cultures wars WILL destroy Britain | Politics | News

      Leading pollster warns cultures wars WILL destroy Britain | Politics | News

      May 17, 2022
      5 Summer Pieces I’m Buying on a Budget

      5 Summer Pieces I’m Buying on a Budget

      May 17, 2022

      Recent News

      Gentleman Jack Gives Into Temptation In ‘I’m Not The Other Woman, She Is’

      Gentleman Jack Gives Into Temptation In ‘I’m Not The Other Woman, She Is’

      May 17, 2022
      The real-life Tomb Raider game that’s not on consoles – Tomb Raider Experience hits London | Gaming | Entertainment

      The real-life Tomb Raider game that’s not on consoles – Tomb Raider Experience hits London | Gaming | Entertainment

      May 17, 2022
      Leading pollster warns cultures wars WILL destroy Britain | Politics | News

      Leading pollster warns cultures wars WILL destroy Britain | Politics | News

      May 17, 2022
      5 Summer Pieces I’m Buying on a Budget

      5 Summer Pieces I’m Buying on a Budget

      May 17, 2022
      Breaking News, US News, World News and Bollywood News

      Follow Us

      Browse by Category

      • Bollywood
      • Business
      • Entertainment
      • Fashion
      • Food
      • Health
      • Hollywood
      • Lifestyle
      • Music
      • Nature
      • Science
      • Sports
      • Technology
      • Travel
      • World News

      Recent News

      Gentleman Jack Gives Into Temptation In ‘I’m Not The Other Woman, She Is’

      Gentleman Jack Gives Into Temptation In ‘I’m Not The Other Woman, She Is’

      May 17, 2022
      The real-life Tomb Raider game that’s not on consoles – Tomb Raider Experience hits London | Gaming | Entertainment

      The real-life Tomb Raider game that’s not on consoles – Tomb Raider Experience hits London | Gaming | Entertainment

      May 17, 2022
      • Home
      • Privacy Policy

      © 2021 Updates News

      No Result
      View All Result

      © 2021 Updates News