Tag: testing

  • Test-Driven Development with Python: a Primer

    Test-Driven Development with Python: a Primer

    Making sure the software we build works the way we (and our customers) want it to work is called, unsurprisingly, software testing. Software testing is an enormous topic; indeed, there are entire books, courses, conferences, academic journals, and more about the topic. One can even make a career out of testing software. We couldn’t possibly scratch the surface of the complexity involved in software testing in this article, so we’ll only focus on a topic most relevant to us as programmers: test-driven development.

    (more…)
  • Improving Browser Automation Tests: How to Add Microsoft Edge and Edgedriver to Linux CI Systems

    Improving Browser Automation Tests: How to Add Microsoft Edge and Edgedriver to Linux CI Systems

    Lately, the Microsoft Edge browser has been growing in popularity, recently unseating Firefox as the 3rd most popular web browser and approaching Safari in the number two spot. This means that any web application with a potentially wide user base should include MS Edge tests in its automated test suite. Setting this up to run automatically, particularly in *nix based CI servers, can be quite a hassle when compared to setting up Chrome and Firefox browser tests. In this article, I’ll show you the steps to get the Edge browser and web driver running in a Linux-like CI system.

    (more…)
  • Getting Started With Browser Automation Testing in Python

    Getting Started With Browser Automation Testing in Python

    Developers have unit tests to test atomic functionality and integration tests to test system interoperability. Web developers have to take it a step further and test actual browser behavior. This can be done in many ways, but most often it’s with some implementation of Selenium webdriver and an xUnit testing framework. In this article, I’m going to show you how to write a basic framework in Python to get your tests able to interact with a browser.

    (more…)
  • SQL Server Indexing: Part 3 – Implementing and Testing Indexes

    SQL Server Indexing: Part 3 – Implementing and Testing Indexes

    In part 1 of this series, we learned about the basics of indexes, what they do, and what they’re for. In part 2, we talked about query plans. We learned about reading query plans so that we could understand how SQL Server goes about retrieving the data we ask for. This is an important first step figuring out where to begin when implementing indexes. In this 3rd and final installment of our indexing series, we’re going to learn how to make and test indexes in SQL Server.

    (more…)