automationpanda.com automationpanda.com

Arrange-Act-Assert: A Pattern for Writing Good Tests

A test is a procedure that exercises a behavior to determine if the behavior functions correctly. There are several different kinds of tests, like unit tests, integration tests, or end-to-end tests, but all functional tests do the same basic thing: they try something and report PASS or FAIL. Testing provides an empirical feedback loop for development. That’s how testing keeps us safe. With tests, we know when things break. Without...

automationpanda.com automationpanda.com

How Do I Start Learning Python?

Python is hot right now. Recently, several people have asked me how they can start learning Python. Here are my answers, nuanced by goals and roles. I’m completely new to programming. How can I start learning Python? That’s awesome! Python is a great language for beginners. You can do just about anything with Python, and its learning curve is lower than other languages. Here’s what I recommend: First, find a friend who knows...