Hey Brad I joined a new project and was starting out by fixing some linter issues in our test code when I noticed that when running the full test run the tests just crashed. They were working before I fixed up some linter issues but now I get the error that superagent (the NPM module… To read more click here.
Hey Brad I want to write some unit tests, that is tests which don’t need me to stand up and seed a database just to test my codes logic, but how do I mock out calls to backing functions I don’t want to actually make during the test? That is a good question, in my… To read more click here.
Hey Brad we are being asked to write automated tests with every code change, this is just more effort which is slowing us down and I don’t see the value. What the heck are automated tests for? I hear you, you spend all this effort making your changes and verifying they are working only to… To read more click here.
Hi Brad, I read your post QTest 101: Writing UnitTests for my Qt Application which was what I was looking for but what it didn’t show was how to report QTest results in Jenkins. How the heck do you do that? Not a problem I can certainly go over how to do that. For those… To read more click here.
In my previous post What the Heck is a Unit Test I said that there is no excuse for not running your unit tests before each commit, even if your not using Visual Studio which has a brilliant built in test runner, because you can simply add them as a post build step. After saying… To read more click here.
In this tutorial I’ll walk you through the basics of using QTest to write Unit Tests for your Qt application. First we need a project to unit test; download the QtQuick Sample Application. What do we Unit Test? First things first what in the QtQuick Sample Application do we want to unit test? We want… To read more click here.
In my last post What the Heck is a Unit Test I mentioned the term Legacy Code and some might be wondering what the heck that is. Legacy Code in short is any piece of code not under test. You could be writing Legacy Code right now. But wait isn’t legacy code old? How can… To read more click here.
I was watching a recorded webinar on QTest, the unit testing framework that comes with Qt, and the first question the presenter asked was who runs their unit tests before committing their code changes. Apparently only one hand went up and the presenter snickered saying that it was hard to believe that that one person… To read more click here.