Python Tutorial: Testing, Test Driven Development, py.test

Lillian Lemmer talks about testing and Test Driven Development (TDD) in Python at LeadPages (thanks, LeadPages!) about using py.test for testing Python code to assure software stability.

The example used for testing is a game where you eat sugary things until you lose all your enamel (effectively making enamel HP)! Lillian shows how the aforementioned is tested. The TDD part comes in when someone asks to show a Test Driven Development example where brushing your teeth restores enamel.

It’s about 20 minutes long, includes questions/comments from the crowd.

[youtube https://www.youtube.com/watch?v=dIIj3MRnGhs&w=560&h=315]

Here’s the repo being talked about in the video: https://github.com/LeadPages/tutorials

How to Install FreeBSD (with Gui!)

Hello, Lillian here! Wanna learn how to install FreeBSD, with a nice GUI, Firefox, a nice terminal experience, and other goodies? I had some spare time so I made an instructional video for exactly that!

This goes over:

  1. Installing FreeBSD
  2. Setting up your GUI (windowmaker, xorg, rox-filer)
  3. Updates
  4. Terminal experience; zsh + oh-my-zsh
  5. Other goodies!

This setup is pretty much what we use for the official Hypatia Software Organization Developer Image.

Sorry for the choppy and unprofessional video; I didn’t have much time to put this together, so please forgive me! ?

We’re in the News! BSDNow.tv

Screen Shot 2016-02-28 at 1.50.53 PM
Allan Jude (@allanjude on Twitter) and Kris Moore (@pcbsdkris on Twitter) talk about the Polling is a Hack Article on the Hypatia Software Organization blog/website.

The article I wrote, entitled, “Polling is a Hack: Server Sent Events (EventSource) with gevent, Flask, nginx, and FreeBSD” got covered by BSDNow.tv!

The BSD Now video which we’re featured is Episode 130: Store all the Things | BSD Now 130.

Continue reading “We’re in the News! BSDNow.tv”

Writing Tests for Python

The basics of writing tests in Python, as explained by a very tired and unprepared me (Lily Lemmer!). ?

[youtube https://www.youtube.com/watch?v=1cRfMjz3Pxc]

I had just come back from vacation and forgotten I was to give a talk on this subject, so I was unprepared and a bit sick as you can hear from my voice, so please be forgiving. ? I’ll be doing this talk again, it should be a lot better! Keep a lookout!

Hypatia Engine: Using Tiled Map Editor

Last Halloween I made a special Halloween Release (0.3.0) of Hypatia Engine. Along with it, I released this tutorial video on creating basic scenes with Hypatia Engine:

[youtube https://www.youtube.com/watch?v=xZHk7PgUEGY]

I’m trying to make a habit of releasing Hypatia Engine on its birthday: Halloween! This year it was a smashing success; Hypatia Engine was successfully released on Halloween.

Here’s the Leadpages landing page I used to promote the Hypatia Engine Halloween release (I work at Leadpages; thanks Leadpages!)