Skip to main content

Interview with PyCon speaker Brian Jones


After a successful tutorial session in 2011, Brian Jones is back this year with a talk on a booming topic: mocking. Testing has always been fairly popular in the Python community, but it seems like more developers than ever are really on board with testing. The difference between unit testing and functional testing is getting more coverage. Test-driven development is becoming a more popular methodology. Continuous integration is getting easier to setup and use. It seems like every corner of the testing world is improving at a nice pace. Mocking in particular has been blowing up with more widespread use and more options than ever. Brian's talk, Fake It Til You Make It: Unit Testing Patterns With Mocks and Fakes, aims to help developers get to the next level of testing by sharing best practices in the test design.


While Brian has long been a fan of mocking, the last several years have seen enough mocking libraries produced to get him to switch from his home-grown tools to try what the community has to offer. Although he’s a former user of the Mox project, the choice of library for this talk will be the aptly named Mock. However, the choice of Mock is less about the library and more about being able to easily convey ideas behind mocking. "I suspect that Mock's 'action->assertion' approach to mocking will be more intuitive to pick up 'on the fly', in the course of a talk, than the 'record->replay' approach taken by other modules," says Brian.


"I want people to think of testing as being more like a fun little puzzle than...calculus," he said when asked what caused him to submit the proposal for this talk. Mocking, he feels, is a huge help in getting testing to fit inside the minds of newcomers to the arena. With the talk he hopes to introduce the techniques and the tools, then put it all together in practice. The 45-minute session includes several types of example applications, from a datetime abstraction library to a command shell program, to show how Brian’s best practices with test design and mocking can be used.


Speaking is just one of the fun parts of PyCon for Brian. In his second year on PyCon's program committee, he helped review a record number of talk proposals. Sometimes meeting two times a day, the program committee had a busy fall between online reviews and voting, then the various IRC-based discussions on later rounds of reviews. Being a part of the program committee for a second year allowed him to "further [his] conviction that the Python community is the most welcoming, open and inclusive group [he's] ever had the pleasure of being involved with."


When it comes to getting on-site at the conference, last year Brian volunteered some of his time to help out around the event. The evenings may be one of his favorite parts: he's a huge fan of the BoFs, or Birds of a Feather meetings. “I've been to conferences where I'm really just not that interested in *any* of the BoF sessions, but at PyCon '11 I actually had conflicts: I wanted to attend multiple BoFs in the same time slot," he says.


One of the best benefits he says of the conference is the ability meet up with the people he had been interacting with online for years. Now that he’s been to a PyCon in the past, meeting up with those same friends and meeting many more in 2012 is an incredible experience. In closing, he remarked that "The community around Python is unbelievable, and attending PyCon is a great way to be bombarded by that fact on a continual basis for a few days, which is good for the soul."


Be sure to check out Brian's talk on Friday March 9 at 2:55!

Comments

Popular posts from this blog

PyCon 2018 Registration is Now Open!

We’re thrilled to announce the opening of registration for PyCon 2018 in Cleveland, Ohio! The prior six PyCons have sold out, so prepare for another one and get your tickets early. The first 800 tickets sold are priced at an early bird discount, saving over 20% on corporate tickets and over 12% on individual tickets. Students save $25 if they purchase early!

To get started, create an account and head to https://us.pycon.org/2018/registration/ to get your tickets!

You get a package that is hard to beat when you register for PyCon. The conference itself is three days worth of our community’s 95 best talks, amazing keynote speakers each morning, and our famed lightning talks to close out each day, but it’s much more than that. It’s having over 3,000 people in one place to learn from and share with. It’s joining a conversation in the hallway with the creators of open source projects. It’s taking yourself from beginner to intermediate, or intermediate to advanced. For some, it’s getting st…

PyCon Opens Financial Aid Applications

Even though PyCon prides itself on being an affordable conference, registration is one of several expenses an attendee must incur, and it’s likely the smallest one. Flying, whether halfway around the world or from a few hundred miles away, is more expensive. Staying in a hotel for a few days is also more expensive. All together, the cost of attending a conference can become prohibitively expensive. That’s where our Financial Aid program comes in. We’re opening applications for Financial Aid today, and we’ll be accepting them through February 15, 2018.
Once you have an account on the site, you can apply here or through your dashboard.
We offer need-based grants to enable people from across our community to attend PyCon. The criteria for evaluating requests takes into account several things, such as whether the applicant is a student, unemployed, or underemployed; their geographic location; and their involvement in both the conference and the greater Python community. Those presenting at …

Introducing the PyCon Hatchery Program

PyCon is known around the world as the Python community’s premier event, attracting people from 39 countries. Outside of the main track of talks, PyCon is home to a growing number of additional events such as Young Coders, the Education Summit, Language Summit, Poster Session, among others. The conference strives to be globally representative by promoting diversity and inclusion through these additional events and outreach programs.
Our community works to meet these goals year on year. In the past, we have received requests to add events to PyCon but have not had the resources to make them work. Although we are still limited on staff resources, we are proposing a stepping point that may lead us in the right direction. What is the end goal?We want to support our community and enable them to add events to PyCon that are important to our community. The long-term goals of this program are to support and grow sustainable events that will become a recurring part of PyCon itself or find a home…