Python Tip of the Day - contextlib.contextmanager
Posted on Thu 21 October 2021 in Posts • Tagged with python, pythonTipOfTheDay, contextmanager, testing
Posted on Thu 21 October 2021 in Posts • Tagged with python, pythonTipOfTheDay, contextmanager, testing
Posted on Sat 18 April 2020 in Posts • Tagged with python, testing, pytest, unittest, django
Posted on Wed 01 August 2018 in Posts • Tagged with testing, coverage, cqc, quality
Posted on Fri 27 April 2018 in Posts • Tagged with python, testing, pytest, unittest
Posted on Sat 23 September 2017 in Posts • Tagged with pythonTipOfTheDay, testing, unittest, python
Coming from a jUnit background, one of the things I always missed with the vanilla Python unitttest library was parameterized tests. Oftentimes when writing unit tests for a particular unit you find yourself writing effectively the same test over and over again, but with different inputs. Wouldn't it be nice …
Posted on Thu 27 July 2017 in Posts • Tagged with lambda, serverless, microservices, aws, python, testing
So I'm currently on holiday and also between jobs (had my last day at old job last week, and first day at new gig is next week), which means of course what am I doing but spending some time learning some tech that's fun & buzzwordy.
Right now it seems like …
Bob Martin is awesome.
Posted on Fri 01 November 2013 in Posts • Tagged with javaTipOfTheDay, testing, java
This looks more than a little cool for those of us (like me) who are pedantic about testing out
equals
/hashcode
/compareTo
methods:
http://www.jqno.nl/equalsverifier/
(Note: this post originally appeared on my blogspot blog at: http://codependentcodr.blogspot.ca/2013/11/equalsverifier.html)
Posted on Fri 03 August 2012 in Posts • Tagged with git, nose, python, testing
How did I not ever discover git bisect
before today? Git bisect allows you to identify a particular commit which
breaks a build, even after development has continued past that commit. So for example, say you:
Posted on Fri 18 May 2012 in Posts • Tagged with pythonTipOfTheDay, python, nose, metrics, quality, testing
I often stumble across and use a number of useful tools for creating Python code. Thought I'd barf out a blog post documenting a few of them so that my future self will be able to find this info again if need be. :)
(http://nedbatchelder.com/code/coverage …