Test & Code

Test & Code

Download on the App Store

Test & Code episodes

  • 26: pyresttest – Sam Van Oort

    Interview with Sam Van Oort about pyresttest, "A REST testing and API microbenchmarking tool"

    pyresttest

    A question in the Test & Code Slack channel was raised about testing REST APIs. There were answers such as pytest + requests, of course, but there was also a mention of pyresttest, https://github.com/svanoort/pyresttest, which I hadn't heard of. I checked out the github repo, and was struck by how user friendly the user facing test definitions were. So I contacted the developer, Sam Van Oort, and asked him to come on the show and tell me about this tool and why he developed it.

    Here's the "What is it?" section from the pyresttest README:

    • A REST testing and API microbenchmarking tool
    • Tests are defined in basic YAML or JSON config files, no code needed
    • Minimal dependencies (pycurl, pyyaml, optionally future), making it easy to deploy on-server for smoketests/healthchecks
    • Supports generate/extract/validate mechanisms to create full test scenarios
    • Returns exit codes on failure, to slot into automated configuration management/orchestration tools (also supplies parseable logs)
    • Logic is written and extensible in Python
    • Support

      Special thanks to my wonderful Patreon supporters and those who have supported the show by purchasing Python Testing with unittest, nose, pytest

      Sponsored By:

      • Patreon SupportersHelp support the show with as little as $1 per month.
      Funds help pay for expenses associated with the show.

      Support Test & Code - Software Testing, Development, Python

      58 min
    • 25: Selenium, pytest, Mozilla – Dave Hunt

      Interview with Dave Hunt
      d

      We Cover:

      • Selenium Driver
      • pytest
      • pytest plugins: 
        • pytest-selenium
        • pytest-html
        • pytest-variables
      • tox
      • Dave Hunt’s “help wanted” list on github
      • Mozilla

      Also:

      • fixtures
      • xfail
      • CI and xfail and html reports
      • CI and capturing 
      • pytest code sprint
      • working remotely for Mozilla
      43 min
    • 25: Selenium, pytest, Mozilla – Dave Hunt

      Interview with Dave Hunt @davehunt82.

      We Cover:

      • Selenium Driver
      • pytest
      • pytest plugins:
        • pytest-selenium
        • pytest-html
        • pytest-variables
        • tox
        • Dave Hunt’s “help wanted” list on github
        • Mozilla
        • Also:

          • fixtures
          • xfail
          • CI and xfail and html reports
          • CI and capturing
          • pytest code sprint
          • working remotely for Mozilla
          • Sponsored By:

            • Patreon SupportersHelp support the show with as little as $1 per month.
            Funds help pay for expenses associated with the show.

            Support Test & Code - Software Testing, Development, Python

            43 min
          • 24: pytest - Raphael Aurich

            pytest is an extremely popular test framework used by many projects and companies. 

            In this episode, I interview Raphael Aurich (@hackebrot), a core contributor to both pytest and cookiecutter. We discuss how Raphael got involved with both projects, his involvement in cookiecutter, pytest, "adopt pytest month", the pytest code sprint, and of course some of the cool new features in pytest 3.


            Links:

            • pytest - http://doc.pytest.org
            • cookie cutter - https://github.com/audreyr/cookiecutter
            • cookiecutter-pytest-plugin - https://github.com/pytest-dev/cookiecutter-pytest-plugin
            36 min
          • 24: pytest with Raphael Pierzina

            pytest is an extremely popular test framework used by many projects and companies.

            In this episode, I interview Raphael Pierzina (@hackebrot), a core contributor to both pytest and cookiecutter. We discuss how Raphael got involved with both projects, his involvement in cookiecutter, pytest, "adopt pytest month", the pytest code sprint, and of course some of the cool new features in pytest 3.

            Links:

            • Raphael Pierzina on twitter (@hackebrot)
            • pytest - http://doc.pytest.org
            • cookie cutter - https://github.com/audreyr/cookiecutter
            • cookiecutter-pytest-plugin - https://github.com/pytest-dev/cookiecutter-pytest-plugin
            • Sponsored By:

              • Patreon SupportersHelp support the show with as little as $1 per month.
              Funds help pay for expenses associated with the show.

              Support Test & Code - Software Testing, Development, Python

              36 min
            • 23: Lessons about testing and TDD from Kent Beck

              Kent Beck's twitter profile says "Programmer, author, father, husband, goat farmer". But I know him best from his work on extreme programming, test first programming, and test driven development. He's the one. The reason you know about TDD is because of Kent Beck.

              I first ran across writings from Kent Beck as started exploring Extreme Programming in the early 2000's.

              Although I don't agree with all of the views he's expressed in his long and verbose career, I respect him as one of the best sources of information about software development, engineering practices, and software testing.

              Along with Test First Programming and Test Driven Development, Kent started an automated test framework that turned into jUnit. jUnit and it's model of setup and teardown wrapping test functions, as well base test class driven test frameworks became what we know of as xUnit style frameworks now, which includes Python's unittest.

              He discussed this history and a lot more on episode 122 of Software Engineering Radio. The episode is titled "The History of JUnit and the Future of Testing with Kent Beck", and is from Sept 26, 2010.

              http://www.se-radio.net/2010/09/episode-167-the-history-of-junit-and-the-future-of-testing-with-kent-beck/

              I urge you to download it and listen to the whole thing. It's a great interview, still relevant, and applicable to testing in any language, including Python.

              What I've done in this podcast is take a handful of clips from the interview (with permission from IEEE and SERadio), and discuss the clips and my opinions a bit.

              The lessons are:

              1. You're tests should tell a story.
              2. Be careful of DRY, inheritance, and other software development practices that might get in the way of keeping your tests easy to understand.
              3. All test should help differentiate good programs from bad programs and not be redundant.
              4. Test at multiple levels and multiple scales where it makes sense.
              5. Differentiating between TDD, BDD, ATDD, etc. isn't as important as testing your software to learn about it. Who cares what you call it.
              6. 14 min
              7. 23: Lessons about testing and TDD from Kent Beck

                Kent Beck's twitter profile says "Programmer, author, father, husband, goat farmer". But I know him best from his work on extreme programming, test first programming, and test driven development. He's the one. The reason you know about TDD is because of Kent Beck.

                I first ran across writings from Kent Beck as started exploring Extreme Programming in the early 2000's.

                Although I don't agree with all of the views he's expressed in his long and verbose career, I respect him as one of the best sources of information about software development, engineering practices, and software testing.

                Along with Test First Programming and Test Driven Development, Kent started an automated test framework that turned into jUnit. jUnit and it's model of setup and teardown wrapping test functions, as well base test class driven test frameworks became what we know of as xUnit style frameworks now, which includes Python's unittest.

                He discussed this history and a lot more on episode 122 of Software Engineering Radio. The episode is titled "The History of JUnit and the Future of Testing with Kent Beck", and is from Sept 26, 2010.

                http://www.se-radio.net/2010/09/episode-167-the-history-of-junit-and-the-future-of-testing-with-kent-beck/

                I urge you to download it and listen to the whole thing. It's a great interview, still relevant, and applicable to testing in any language, including Python.

                What I've done in this podcast is take a handful of clips from the interview (with permission from IEEE and SERadio), and discuss the clips and my opinions a bit.

                The lessons are:

                1. You're tests should tell a story.
                2. Be careful of DRY, inheritance, and other software development practices that might get in the way of keeping your tests easy to understand.
                3. All test should help differentiate good programs from bad programs and not be redundant.
                4. Test at multiple levels and multiple scales where it makes sense.
                5. Differentiating between TDD, BDD, ATDD, etc. isn't as important as testing your software to learn about it. Who cares what you call it.
                6. Sponsored By:

                  • Patreon SupportersHelp support the show with as little as $1 per month.
                  Funds help pay for expenses associated with the show.

                  Support Test & Code - Software Testing, Development, Python

                  14 min
                7. 22: Converting Manual Tests to Automated Tests

                  How do you convert manual tests to automated tests?

                  This episode looks at the differences between manual and automated tests and presents two strategies for converting manual to automated.

                  Sponsored By:

                  • Patreon SupportersHelp support the show with as little as $1 per month.
                  Funds help pay for expenses associated with the show.

                  Support Test & Code - Software Testing, Development, Python

                  11 min

                About Test & Code

                From the publisher's feed

                The Python Test Podcast hosted by Brian Okken

                More shows like Test & Code

                Radiolab by WNYC Studios

                Radiolab

                43,853 Listeners

                Software Engineering Daily by Software Engineering Daily

                Software Engineering Daily

                623 Listeners

                Heavy Networking by Packet Pushers

                Heavy Networking

                327 Listeners

                Talk Python To Me by Michael Kennedy

                Talk Python To Me

                582 Listeners

                Python Bytes by Michael Kennedy and Calvin Hendryx-Parker

                Python Bytes

                213 Listeners

                Darknet Diaries by Jack Rhysider

                Darknet Diaries

                8,059 Listeners

                The Real Python Podcast by Real Python

                The Real Python Podcast

                139 Listeners

                Unexplainable by Vox

                Unexplainable

                2,313 Listeners

                Network Automation Nerds by Packet Pushers

                Network Automation Nerds

                5 Listeners