At Qxf2, we love Python. We use Python on multiple projects and as per our requirements, we install multiple modules. But, I found it difficult to create a requirements.txt file for specific projects manually. So I searched for a tool/technique to generate a requirement.txt file. I come across the pipreqs package, which generates a requirement.txt file based on the import […]
Auto-generate requirements.txt file using pipreqs
Post pytest test results on Slack
Slack is a really popular instant messenger among our clients. It has very nice integration capabilities (Slack bots) that we use with our CI setup. At Qxf2, we sometimes encourage (and enable!) developers to run automated GUI and API tests against their local builds. So, we decided to enhance our GUI automation framework to post the test result of a […]
A configurable pothole for testing autonomous cars – Part 4
This is our last post in a four-part series about building a configurable pothole for testing autonomous cars. We built the configurable pothole prototype with five independent Scotch Yoke units controlled by servo motors and an Arduino UNO. For more background, please read the previous post of this series where we discuss how to interface Scotch Yoke units with Arduino UNO and […]
A configurable pothole for testing autonomous cars – Part 3
This is our third post about building a configurable pothole to test autonomous cars. We are making the configurable pothole with five independent Scotch Yoke units controlled by servo motors and an Arduino UNO. For more background, please read the second post of this series where we discuss two methods which convert angular movement to linear movement, why we selected […]
A configurable pothole for testing autonomous cars- Part 2
Autonomous cars are becoming a reality. We were wondering how testers could contribute to overcoming the engineering challenges related to self-driving cars. In the previous post of series, we discussed how self-driving cars work, typical sensors used in self-driving cars and some unconquered engineering challenges for self-driving cars. At the end of the post, we decided pothole detection was a suitable […]
A configurable pothole for testing autonomous cars – Part 1
A lot of research and development activity is going towards producing self-driving cars. Google and Tesla are playing a major role. We read many articles to figure out what all the fuss was about. And before we knew it, we were hooked. We even tried to imagine where we, testers, could play a role. We ended up building a configurable […]
Testing the Fitbit heart rate monitoring system: Part 2
In this post, we outline a cheap and creative way to perform repeatable and controlled tests on the Fitbit heart rate monitor. Our test has a reasonable degree of accuracy. We hope it helps the Fitbit developers rapidly test their prototypes. To be clear: thorough, accurate and precise testing is needed in the later stages of development. The test outlined […]
Testing the Fitbit heart rate monitoring system: Part 1
We outline a quick and dirty test for testing Fitbit’s heart rate monitor. This is the first in a series of two posts that will cover our work on developing a cheap and quick test with an acceptable level of accuracy for the Fitbit heart rate monitor. Why this post? The ‘why’ behind this post is long. You can safely […]
Pytest-xdist: Run tests in parallel
Problem: How do you run tests in parallel with pytest? We have begun using pytest as our test runner at most of our clients. At one client, our tests are triggered by CircleCI and run on BrowserStack. Our GUI automation suite grew in size and was starting to take a long time to run against a vast combination of OSes […]