I find it hard to believe, but all these years using a Mac running OSX (now MacOS, I suppose), I’ve never used Automator. Not until today, that is. I use Visual Studio Code (VSCode) all the time, and always have either opened a terminal (using iTerm2) and opened my projects via code ., or opened […]
Category: Software Development and Testing
Using FluentAssertions with JObject
This is somewhat obscure, perhaps. I have a project where we need to ensure that models in one project aren’t updated without models in another project also being changed. Don’t ask, it’s a long story. What I’m doing is to call project B’s API from project A, then comparing the json response with Project A’s […]
Get Under the Hood
Today’s crop of GUI (Graphical User Interface) tools are great, and most of us rely on them to get our work done every day. However, it is helpful to understand how and why things work “underneath the hood” and how to take advantage of what’s down there. For example, we have two sets of developers […]
Page-Object Model
A few weeks ago, an interviewer and I were talking about end-to-end test automation, and I mentioned using a Page Object Model when writing such tests. After we got off the call, I decided to put together a small demo which you can find at on GitHub. Btw, this was all done on my Mac […]
Using VS Code for git mergetool
We’ve probably all been there; working on a branch while a teammate works on another. We both make changes, then race to see who can get their testing done and merge their branch to Main first. The poor unfortunate soul who’s last ends up being the one dealing with merge conflicts. There are lots of […]
Using Node.js with Docker
I’ve looked Docker a few times, but I never had much of a need in my workflow. Now though, I’m more interested – we’ve got a few microservices that need to be running for our main application. They each are run using Node.js, and the “simple” method is to just open a new terminal window […]
When Chrome Auto-Updates
Using Selenium Webdriver or similar frameworks to “drive” a browser, usually for UI or end-to-end test automation, you may occasionally get this message: session not created: This version of ChromeDriver only supports Chrome version 83 (SessionNotCreated) Exception doesn’t have a stacktrace This means that, perhaps without you even realizing it, an update to Chrome has […]
grep, in PowerShell
Here is a sample of a PowerShell script that I use for finding text in files, having “grown up” with a more Unix-like syntax. I know, this isn’t exactly a clone of grep‘s functionality, but it gets me closer than having to remember exactly how to wrangle PowerShell’s Select-String commands to my liking. Note that […]
Using datatables.js with Get()
It’s been a while since I’ve posted in the Software Development category, but here’s the solution to something that’s been a thorn in my team’s side for a few days. We’re working with datatables.js, which provides a nice interface to tabular data. We’re using it to Get() data from an API we’re building, and out […]
What Time to Test?
I’ve been workng on a new feature with a few other devs, and we’re eager to get it done and into our master branch so that it can be deployed sooner than later. To that end, after dinner and some shopping last night, I picked up my laptop and thought I’d get a bit more […]