HNHacker News
TopNewBestAskShowJobs

variedthoughts

17 karma · joined October 30, 2012

pythontest.com, testandcode.com, pythonpeople.fm, pythonbytes.fm
submissionscomments
variedthoughts··on Python People Podcast
The Python community is awesome because of the people. Python People is a weekly podcast about getting to know the people who help make the Python community great. It's less about the tech, and more about the people. First 3 episodes are with: - Michael Kennedy - Paul Everitt - Brett Cannon
variedthoughts··on From Python Script to Maintainable Package – Podcast
This episode is a story about packaging, and flit, tox, pytest, and coverage. And an alternate solution to "using the src".

Python makes it easy to build simple tools for all kinds of tasks. And it's great to be able to share small projects with others on your team, in your company, or with the world.

When you want to take a script from "just a script" to maintainable package, there are a few steps, but none of it's hard.

Also, the structure of the code layout changes to help with the growth and support.

Instead of just talking about this from memory, I thought it'd be fun to create a new project and walk through the steps, and report back in a kind of time lapse episode. It should be fun.

Here are the steps we walk through:

0.1 Initial script and tests

0.2 build wheel with flit

0.3 build and test with tox

0.4 move source module into a package directory

0.5 move tests into tests directory

variedthoughts··on 78: I don't write tests because – podcast
Roadblocks to writing tests, and what to do about it.

Some developers either don't write tests, or don't like writing tests. Why not? I love writing tests. In this episode we examine lots of roadblocks to testing, and start coming up with solutions for these.

variedthoughts··on Testing Complex Systems with Maintainable Test Suites – Podcast
Creating maintainable test suites for complex systems. The episode describes some complexities involved with hardware testing, then shares techniques for shifting complexity out of the test cases.

* quick overview of what test instruments are * discussion of API and communication with instruments * techniques for shifting complexity out of test cases

These techniques should apply to all test suites dealing with complex systems:

* Creating test cases that are easy to read and debug and tell a story about what is being tested. * Pushing setup complexity into fixtures. * Pushing lengthy repetitive API call sets into helper functions. * Using stable, documented, interfaces.

variedthoughts··on Ultimate Guide to Memorable Tech Talks – Nina Zackarenko [audio]
Nina Zakharenko gives some great advice about giving tech talks. We talk about a blog series that Nina wrote called "The Ultimate Guide To Memorable Tech Talks". This episode is full of great help and encouragement for your own public speaking adventures.

Some of what we discuss:

- overcoming the fear of public speaking - breathing and pausing during talks - planning your talk as well as planning your time to get ready for the talk - writing proposals and getting feedback on proposals - Nina's talk in PyCascades on programming Adafruit chips - types of talks that are often rejected - pre-recording demos to avoid live demo problems - why you should speak, even if you are an introvert - benefits of public speaking

variedthoughts··on Interview with the Pragmatic Programmer, Andy Hunt
Andy Hunt and Dave Thomas wrote the seminal software development book, The Pragmatic Programmer. Together they founded The Pragmatic Programmers and are well known as founders of the agile movement and authors of the Agile Manifesto. They founded the Pragmatic Bookshelf publishing business in 2003.

The Pragmatic Bookshelf published it's most important book, in my opinion, in 2017 with the first pytest book available from any publisher.

Topics:

The Pragmatic Programmer, the book The Manifesto for Agile Software Development Agile methodologies and lightweight methods Some issues with "Agile" as it is now. The GROWS Method Pragmatic Bookshelf, the publishing company How Pragmatic Bookshelf is different, and what it's like to be an author with them. Reading and writing sci-fi novels, including Conglommora, Andy's novels. Playing music.

variedthoughts··on Test and Code Podcast #61: A Retrospective
This episode is a look back on 3 years of podcasting, and a bit of a look forward to what to expect in 2019.

I talk about: - statistics for the show, including download counts, etc. - how many episodes are about testing, how many about non-testing topics. - Python vs language agnostic topics - solo vs guest episodes - the top 5 episodes - stuff like that

And then a retrospective like:

- what went well - what was lacking - what's next

I'd like feedback on what you think went well, was lacking, and where to take the podcast.

variedthoughts··on Pyproject.toml: the future of Python packaging – Brett Cannon (podcast)
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

variedthoughts··on End to End and Integration Testing – Kelsey Hightower – Podcast
We discuss testing, of course, but we take it further and discuss:

tests for large systems, like kubernetes Testing in real world scenarios with all the configuration and everything Becoming a complete engineer by thinking about the end to end flow from the users perspective Learning from other roles, and the value of roles to allow focus and expertise We even get into Chaos Engineering and testing live systems.

variedthoughts··on Using Automated Tests to Help Teach Python with Trey Hunner – Podcast
This interview with Trey Hunner discusses his use of automated tests to help teach programming. Automated testing is a huge part of developing great software. But many new developers don't get exposed to testing for quite a while. But this is changing.

New ways to teach programming include automated tests from the beginning.

Trey Hunner is a former PSF director, a Python and Django team trainer, and he has been using automated tests to help people learn Python.

variedthoughts··on What tests to write first with legacy system – podcast
This episode starts down the path of test strategy with the first tests to write in either a legacy system or a project just getting off it's feet.

We cover:

- My approach to testing existing systems. - Put names to strategies so we can refer to them later. - Explain the strategies in general terms and explain why they are useful. - Discuss how these strategies are used in an example project. (The code is available on github).

Strategies covered today:

- Dog Fooding - Exploratory Testing - Tracer Bullet Tests - Act Like A Customer (ALAC) Tests - Manual Procedures - Initial automated tests at 2 levels, API and UI.

variedthoughts··on Testing in Data Science with Katharine Jarmul (podcast)
A discussion with Katharine Jarmul, kjam, about some of the challenges of data science with respect to testing.

Some of the topics we discuss:

* experimentation vs testing * testing pipelines and pipeline changes * automating data validation * property based testing * schema validation and detecting schema changes * using unit test techniques to test data pipeline stages * testing nodes and transitions in DAGs * testing expected and unexpected data * missing data and non-signals * corrupting a dataset with noise * fuzz testing for both data pipelines and web APIs * datafuzz * hypothesis * testing internal interfaces * documenting and sharing domain expertise to build good reasonableness * intermediary data and stages * neural networks * speaking at conferences

variedthoughts··on Test and Code 31: I'm so sick of the Testing Pyramid
What started as a twitter disagreement carries over into this civil discussion of software testing. Brian and Paul discuss testing practices such as the testing pyramid, TDD, unit testing, system testing, and balancing test effort.

* the Testing Pyramid * the Testing Column * TDD * unit testing * balancing unit with system tests, functional tests * API testing * subcutaneous testing * customer facing tests

variedthoughts··on Pytest 3.2.0 released
Try -q
variedthoughts··on Test&Code 30: Legacy Code with M. Scott Ford
M. Scott Ford is the founder and chief code whisperer at Corgibytes, a company focused on helping other companies with legacy code.

Topics include:

* How M. Scott Ford got into forming a company that works on legacy code. * Technical debt * Process debt * Software testing * The testing pyramid * iterative development * kanban * readable code and readable test code

variedthoughts··on Python Bytes Podcast – Episode 12
http://pythonbytes.fm/12

* Python Functions aren’t what you think: Functions are objects. The name of a function is just a variable name referring to the object.

* The Tao of Python: Jupiter notebook discussion of the relationship between objects, classes, and metaclasses.

* Why Learn Python? Here Are 8 Data-Driven Reasons

* Testing Python Applications with Pytest

* A million requests per second with Python

* RethinkDB is alive and well

* Python Top 10 Articles for the Past Year (v.2017)

* Red Hat Software Collections for Python 3

variedthoughts··on Python Bytes Podcast – Episode 11
https://pythonbytes.fm/11

* Pipfile, pip, and virtualenv * Django 2.0 dropping Python 2.7 support * attrs for cleaner classes * Python benchmarking and profiling * Getting Python 3 into more distributions * Home automation with Home Assistant

variedthoughts··on Python Bytes Podcast #10
* Dismissing Python's Garbage Collection * PyPI Name Reservations * Hackers Exfiltrate US Government Data to Save Itself * Advanced Time Series Plots * Type Hints and mypy * Understanding the underscore
variedthoughts··on Python's unittest with Robert Collins
Interview with Robert Collins, current core maintainer of Python’s unittest module.

Some of the topics covered

- How did Robert become the maintainer of unittest? - unittest2 as a rolling backport of unittest - test and class parametrization with subtest and testscenarios - Which extension to unittest most closely resembles Pytest fixtures? - Comparing Pytest and unittest - Will unittest ever get assert rewriting? - Future changes to unittest

variedthoughts··on Testing in Startups with Joe Stump of Sprintly
In this episode, I interview with Joe Stump, cofounder of Sprintly (https://sprint.ly), to give the startup perspective to development and testing.

Joe has spent his career in startups. He’s also been involved with hiring and talent acquisition for several startups.

We talk about testing, continuous integration, code reviews, deployment, tolerance to defects, and how some of those differ between large companies and small companies and startups.

Then we get into hiring. Specifically, finding and evaluating good engineers, and then getting them to be interested in working for you.

If you ever want to grow your team size, you need to listen to this.

variedthoughts··on Continuous Integration with Travis CI – Josh Kalderimis (PTP014)
Interview with Josh Kalderimis from Travis CI. Josh is a co-founder and Chief Post-It Officer at Travis CI.

But be sure to listen to the last 5 minutes. I’ve got some bonus audio that didn’t quite fit into the rest of the interview that I tacked on at the end.

variedthoughts··on Rethinking the test pyramid, and other topics: TalkPython#45
There's also a book give-away if you comment on the episode show notes. But please do listen to the discussion first.
variedthoughts··on Pytest assert magic
This is a podcast episode.

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.

variedthoughts··on Test Case Design Using Given-When-Then from BDD
Designing your test methods using a simple structure such as given-when-then will help you:

- 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.

variedthoughts··on Testing Web Apps with Python, Selenium, Django (Interview with Harry Percival)
I interview Harry Percival, author of "Test-Driven Development with Python".

We discuss:

* testing django with unittest and pytest * layers of testing (test pyramid) including functional testing with Selenium, integration tests, and unit test. * where tests should live * test isolation * testing by development team without a QA group * double loop TDD * having Harry's book available for free

variedthoughts··on Is Test First Development Still Relevant?
Test First seems to be more focused on functional testing. This makes it closer to "executable specification" than many of the flavors of unit test focused TDD.
variedthoughts··on Markdown: The Spec - it's coming and it's full of personalities
I have always found Git Flavored Markdown funny. Not in a bad way, really. Just funny. Thinking of the taste of markdown is just interesting, and something we can possibly expand on. So we could perhaps refer to the original as 'vanilla markdown'. Git is of course 'git flavored'. Perhaps we need 'markdown with nuts'. Or from the bagel side, 'everything markdown'. Pandoc would probably be 'everything markdown'.

I know the main thread is a very serious topic and there are passionate opinions. However, let's make sure we keep it light and civil.

variedthoughts··on The Future of Markdown
I just like that there is a discussion going on. I'd like a spec. And one that can grow