Test & Code

Test & Code

Download on the App Store

Test & Code episodes

  • 55: When 100% test coverage just isn't enough - Mahmoud Hashemi

    What happens when 100% test code coverage just isn't enough.

    In this episode, we talk with Mahmoud Hashemi about glom, a very cool project in itself, but a project that needs more coverage than 100%.
    This problem affects lots of projects that use higher level programming constructs, like domain specific languages (DSLs), sub languages mini languages, compilers, and db query languages.

    Also covered:

    • awesome Python applications
    • versioning: 0-ver vs calver vs semver
    • Special Guest: Mahmoud Hashemi.

      Sponsored By:

      • DigitalOceanGet started with a free $100 credit

      Support Test & Code - Software Testing, Development, Python

      Links:

      • Announcing glom — Restructured Data for Python
      • Domain-specific language - Wikipedia
      • awesome-python-applications — Free software that works great, and also happens to be open-source Python.
      • Meld — a visual diff and merge tool targeted at developers.
      • ZeroVer: 0-based Versioning
      • SemVer: Semantic Versioning
      • CalVer: Calendar Versioning
      • episode 27: unit, integration, and system testing - Mahmoud Hashemi
      35 min
    • 54: Python 1994 - Paul Everitt

      Paul talks about the beginning years of Python.

      Talking about Python's beginnings is also talking about the Python community beginnings.
      Yes, it's reminiscing, but it's fun.

      Special Guest: Paul Everitt.

      Links:

      • Python 1994 Panel Discussion PyCon 2017
      • "Python 1994", PyBay2017
      • Spam, Spam, Spam, ...
      30 min
    • 54: Python 1994 - Paul Everitt

      Paul talks about the beginning years of Python.

      Talking about Python's beginnings is also talking about the Python community beginnings.
      Yes, it's reminiscing, but it's fun.

      Special Guest: Paul Everitt.

      Sponsored By:

      • DigitalOceanGet started with a free $100 credit

      Support Test & Code - Software Testing, Development, Python

      Links:

      • Python 1994 Panel Discussion PyCon 2017
      • "Python 1994", PyBay2017
      • Spam, Spam, Spam, ...
      30 min
    • 53: Seven Databases in Seven Weeks - Luc Perkins

      Luc Perkins joins the show to talk about "Seven Databases in Seven Weeks: A guide to modern databases and the NoSQL movement."

      We discuss a bit about each database: Redis, Neo4J, CouchDB, MongoDB, HBase, Postgres, and DynamoDB.

      Special Guest: Luc Perkins.

      Links:

      • Seven Databases in Seven Weeks, Second Edition: A Guide to Modern Databases and the NoSQL Movement
      • PostgreSQL
      • Redis
      • Neo4j Graph Database
      • CouchDB
      • MongoDB
      • HBase
      • DynamoDB
      55 min
    • 53: Seven Databases in Seven Weeks - Luc Perkins

      Luc Perkins joins the show to talk about "Seven Databases in Seven Weeks: A guide to modern databases and the NoSQL movement."

      We discuss a bit about each database: Redis, Neo4J, CouchDB, MongoDB, HBase, Postgres, and DynamoDB.

      Special Guest: Luc Perkins.

      Sponsored By:

      • PyCharm ProfessionalTry PyCharm Pro for an extended 4 month trial before deciding which version you need. If you value your time, you owe it to yourself to try PyCharm. Promo Code: TESTNCODE2019

      Support Test & Code - Software Testing, Development, Python

      Links:

      • Seven Databases in Seven Weeks, Second Edition: A Guide to Modern Databases and the NoSQL Movement
      • PostgreSQL
      • Redis
      • Neo4j Graph Database
      • CouchDB
      • MongoDB
      • HBase
      • DynamoDB
      55 min
    • 52: pyproject.toml : the future of Python packaging - Brett Cannon

      Brett Cannon discusses the changes afoot in Python packaging as a result of PEP 517, PEP 518, starting with "How did we get here?" and "Where are we going?"

      Discussed:

      • flit
      • Poetry
      • tox
      • Continuous Integration
      • setup.py, MANIFEST.in, etc.
      • pipenv
      • what's with lock files
      • applications (doesn't go on PyPI) vs libraries (goes on PyPI)
      • workflows
      • dependency resolution
      • deployment dependencies vs development dependencies
      • will lock files be standarized
      • multiple lock files
      • requirements.txt
      • Special Guest: Brett Cannon.

        Links:

        • Flit
        • Poetry
        • Python Bytes #100 : The big 100 with special guests
        • PEP 517 -- A build-system independent format for source trees | Python.org
        • PEP 518 -- Specifying Minimum Build System Requirements for Python Projects | Python.org
        51 min
      • 52: pyproject.toml : the future of Python packaging - Brett Cannon

        Brett Cannon discusses the changes afoot in Python packaging as a result of PEP 517, PEP 518, starting with "How did we get here?" and "Where are we going?"

        Discussed:

        • flit
        • Poetry
        • tox
        • Continuous Integration
        • setup.py, MANIFEST.in, etc.
        • pipenv
        • what's with lock files
        • applications (doesn't go on PyPI) vs libraries (goes on PyPI)
        • workflows
        • dependency resolution
        • deployment dependencies vs development dependencies
        • will lock files be standarized
        • multiple lock files
        • requirements.txt
        • Special Guest: Brett Cannon.

          Sponsored By:

          • DigitalOceanGet started with a free $100 credit

          Support Test & Code - Software Testing, Development, Python

          Links:

          • Flit
          • Poetry
          • Python Bytes #100 : The big 100 with special guests
          • PEP 517 -- A build-system independent format for source trees | Python.org
          • PEP 518 -- Specifying Minimum Build System Requirements for Python Projects | Python.org
          51 min
        • 51: Feature Testing

          Andy Knight joins me in discussing the concept of feature testing.

          A feature tests is "a test verifying a service or library as the customer would use it, but within a single process." That was a quote from an article that appeared on the Twitter engineering blog. The article describes a shift away from class tests towards feature tests, the benefits of the shift, and some reactions to it.

          Feature tests are similar to something I used to call "functional subcutaneous integration test", but it's a way better name, and I plan to use it more often.

          The idea fits well with my testing philosophy. Andy Knight is someone still holding onto the testing pyramid. So I thought it would be fun to ask him to discuss feature testing with me. I think it's a balanced discussion. I hope you enjoy it and learn something.

          Special Guest: Andy Knight.

          Links:

          • Twitter engineering blog article describing Feature Testing : The testing renaissance
          32 min
        • 51: Feature Testing

          Andy Knight joins me in discussing the concept of feature testing.

          A feature tests is "a test verifying a service or library as the customer would use it, but within a single process." That was a quote from an article that appeared on the Twitter engineering blog. The article describes a shift away from class tests towards feature tests, the benefits of the shift, and some reactions to it.

          Feature tests are similar to something I used to call "functional subcutaneous integration test", but it's a way better name, and I plan to use it more often.

          The idea fits well with my testing philosophy. Andy Knight is someone still holding onto the testing pyramid. So I thought it would be fun to ask him to discuss feature testing with me. I think it's a balanced discussion. I hope you enjoy it and learn something.

          Special Guest: Andy Knight.

          Sponsored By:

          • PyCharm ProfessionalTry PyCharm Pro for an extended 4 month trial before deciding which version you need. If you value your time, you owe it to yourself to try PyCharm. Promo Code: TESTNCODE2019

          Support Test & Code - Software Testing, Development, Python

          Links:

          • Twitter engineering blog article describing Feature Testing : The testing renaissance
          32 min
        • 50: Flaky Tests and How to Deal with Them

          Anthony Shaw joins Brian to discuss flaky tests and flaky test suites.

          • What are flaky tests?
          • Is it the same as fragile tests?
          • Why are they bad?
          • How do we deal with them?
          • What causes flakiness?
          • How can we fix them?
          • How can we avoid them?
          • Proactively rooting out flakiness
          • Test design
          • GUI tests
          • Sharing solutions
          • Special Guest: Anthony Shaw.

            Links:

            • Dropbox article on flaky tests
            • Microsoft article on flaky tests
            • pytest-rerunfailures: a py.test plugin that re-runs failed tests up to -n times to eliminate flakey failures
            • pytest-randomly: Pytest plugin to randomly order tests and control random.seed
            • pytest-random-order: pytest plugin to randomise the order of tests with some control over the randomness
            • math.isclose()
            • numpy.isclose()
            • pytest.approx() — approx
            • Anthony's testing article on RealPython
            • Ghost Inspector
            • wily: A Python application for tracking, reporting on timing and complexity in tests
            33 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