Test & Code - Software Testing, Development, Python show

Test & Code - Software Testing, Development, Python

Summary: Test & Code is a weekly podcast hosted by Brian Okken. The show covers a wide array of topics including software development, testing, Python programming, and many related topics. When we get into the implementation specifics, that's usually Python, such as Python packaging, tox, pytest, and unittest. However, well over half of the topics are language agnostic, such as data science, DevOps, TDD, public speaking, mentoring, feature testing, NoSQL databases, end to end testing, automation, continuous integration, development methods, Selenium, the testing pyramid, and DevOps.

Podcasts:

 11: pytest assert magic | File Type: audio/mpeg | Duration: 13:46

How pytest, unittest, and nose deal with assertions. The job of the test framework to tell developers how and why their tests failed is a difficult job. In this episode I talk about assert helper functions and the 3 methods pytest uses to get around having users need to use assert helper functions.Support Test & Code - Software Testing, Development, Python

 10: Test Case Design using Given-When-Then from BDD | File Type: audio/mpeg | Duration: 20:24

Given-When-Then is borrowed from BDD and is my favorite structure for test case design. It doesn’t matter if you are using pytest, unittest, nose, or something completely different, this episode will help you write better tests. The Given-When-Then structure for test method/function development. How and why to utilize fixtures for your given or precondition code. Similarities with other structure discriptions. Setup-Test-Teardown Setup-Excercise-Verify-Teardown. Arrange-Act-Assert Preconditions-Trigger-Postconditions. Benefits Communicate the purpose of your test more clearly Focus your thinking while writing the test Make test writing faster Make it easier to re-use parts of your test Highlight the assumptions you are making about the test preconditions Highlight what outcomes you are expecting and testing against. Links discussed in the show: Mechanics of pytest, unittest, nose unittest fixture reference nose fixture reference pytest fixtures (series of posts starting here) pytest style fixtures pytest parameterized fixtures Support Test & Code - Software Testing, Development, Python

 9: Harry Percival : Testing Web Apps with Python, Selenium, Django | File Type: audio/mpeg | Duration: 45:14

Intro to Harry Percival, his background and story of how he got into TDD and ended up writing a book Comparing using unittest and pytest with applicability to testing django projects. Functional end to end testing with selenium. The django test client for middle level tests. test isolation django and isolated unit tests unit tests vs integration tests Testing done by the development team without an external QA Double loop TDD: Functional test first, then unit tests Spikes: investigations without tests Harry's experience with having a freely available web version of a book that is also intended to be sold. Update: Comment from Harry Percival on 19-Jan-2014 I might have been a bit down on unit tests vs functional tests in that "unit tests never fail comment". Not true at all, particularly as we've just been thru upgrading django on our core system, and the unit tests really saved our bacon on that one... Links Test-Driven Development with Python Obey the Testing Goat - Harry's site dedicated to the book and related posts. Python Testing with unittest, nose, pytest Gary Bernhardt's talk, Boundaries talk including a discussion of "Functional Core, Imperative Shell". Video of Boundaries talk on youtube Support Test & Code - Software Testing, Development, Python

 8: Agile vs Agility : Agile Is Dead (Long Live Agility) | File Type: audio/mpeg | Duration: 8:38

In today's podcast, I dodge the question of "What do you think of Agile?" by reading an essay from Dave ThomasSupport Test & Code - Software Testing, Development, Python

 7: The Waterfall Model and “Managing the Development of Large Software Systems” | File Type: audio/mpeg | Duration: 29:38

The waterfall model has been used and modified and changed and rebelled against since before I started programming. Waterfall such an important character in the story of software development that we should get to know it a better.Support Test & Code - Software Testing, Development, Python

 6: Writing software is like nothing else | File Type: audio/mpeg | Duration: 6:55

My experience with writing software comes from my experience: where I grew up, what eras I lived through, what my economical and geographical experiences have been, when I learned to code, and what projects I've worked on.Sponsored By: Patreon Supporters: Help 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

 5: Test Classes: No OO experience required | File Type: audio/mpeg | Duration: 7:34

Setup and Teardown Benefits of Test Fixtures code reuse cleanup of resources errors vs failures focusing your thinking on what you are testing and what you are not scoping for efficiency Brief look at pytest named fixtures References pytest fixtures series pytest fixtures nuts & bolts pytest session scoped fixtures unittest fixtures nose fixtures mentioned in introduction nose fixture reference post how to run a single class Support Test & Code - Software Testing, Development, Python

 4: Test Fixtures: Setup, Teardown, and so much more | File Type: audio/mpeg | Duration: 13:47

Setup and Teardown Benefits of Test Fixtures code reuse cleanup of resources errors vs failures focusing your thinking on what you are testing and what you are not scoping for efficiency Brief look at pytest named fixtures References pytest fixtures series pytest fixtures nuts & bolts pytest session scoped fixtures unittest fixtures nose fixtures mentioned in introduction nose fixture reference post Sponsored By: Patreon Supporters: Help 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

 3: Why test? | File Type: audio/mpeg | Duration: 26:00

Answering a listener question. Why testing? What are the benefits? Why automated testing over manual testing? Why test first? Why do automated testing during development? Why test to the user level API? After describing my ideal test strategy and project, I list: Business related, practical benefits of testing Personal reasons to embrace testing Pragmatic, day to day, developer benefits of testing Support Test & Code - Software Testing, Development, Python

 2: Pytest vs Unittest vs Nose | File Type: audio/mpeg | Duration: 12:17

I list my requirements for a framework and discuss how Pytest, Unittest, and Nose measure up to those requirements. Mentioned: pytest unittest nose delayed assert pytest-expect doctest I did the audio processing differently for this episode. Please let me know how it sounds, if there are any problems, etc.Sponsored By: Patreon Supporters: Help 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

 1: What to expect from the Python Test Podcast | File Type: audio/mpeg | Duration: 14:37

Upcoming topic categories: Mechanics of testing testing concepts and strategies Software development methodologies Software development skills and best practices Software testing in education and programming instruction Using Python test frameworks for non-Python projects Each of the categories is broken into topic ideas in the audio. Goals: Promote the idea that strategically combining software testing into the development process does NOT take more time. Have learning a test framework be easy. Promote pytest for new projects. Cover unittest and nose, and how to work around some of their limitations. Promote functional, system, and subcutaneous testing. Promote the phrase "automated test" in place of "unit test" in most usages. Introduce people to topics around software development and software testing. Promote "Lean TDD": the good parts of Agile, Lean, BDD, and TDD. Create a podcast series that can be used as a reference. 10-12. Stretch goals. Listen to the audio for these. Also covered: how we're gonna deal with code examples since this is audio will there be guests or sponsors how frequent will the show be Audience: software developers/engineers software testers team leads software project managers Sponsored By: Patreon Supporters: Help 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

Comments

Login or signup comment.