Tests need to fail

Greg Paskal on the "Craft of Testing" Youtube Channel, talks about the trap of "Going for Green" or writing tests with the aim of making sure they pass. He has some great points and I recommend the video. Here are my comments from watching his post: Two big differences I see with writing test automation … Continue reading Tests need to fail

VMWare Cloud Director Security Vulnerability

If you use VMWare vCloudDirector administration tool for managing your virtualization datacenter, you should be aware of the following vulnerability and patch your systems. "An authenticated, high privileged malicious actor with network access to the VMware Cloud Director tenant or provider may be able to exploit a remote code execution vulnerability to gain access to … Continue reading VMWare Cloud Director Security Vulnerability

Are you only interested in test automation?

"Are you only interested in test automation?" I was asked this question casually, and here is my (detailed) response: My opinion is that test automation serves 3 main purposes: 1. Help developers move faster by giving them rapid feedback as to whether their changes “broke” anything.2. Help testers move faster and find bugs better by … Continue reading Are you only interested in test automation?

Stop MacOS from rearranging virtual desktops

Yet another victory over MacOS!To stop MacOS from rearranging your virtual desktops (after you have them just the way you want them):Go to System Preferences > Mission ControlUncheck "Automatically rearrange Spaces based on most recent use" Thanks to:https://www.appsntips.com/learn/how-to-stop-mac-spaces-from-rearranging-themselves-on-macos/ P.S. If virtual desktops (or "Spaces" as Apple calls them) are new to you: Press "F3" to … Continue reading Stop MacOS from rearranging virtual desktops

React.js feels like it was designed by AI

The popular web framework can be used to solve the problem of how to put text on a screen, but it’s almost like someone fed a machine the JavaScript specification and it iterated on a random sequence of code that parses until it hit on a result that creates an acceptable web page. React’s syntax … Continue reading React.js feels like it was designed by AI

Down the Rabbit Hole – coding challenge

I've been looking to level up my Javascript coding skills, and I came across this "mock" coding interview with Dan Abramov by Ben Awad. I got the first question right (sortof) which asked about the difference between var, let and, const in Javascript. Short answer: Variables declared with var are hoisted to the top of … Continue reading Down the Rabbit Hole – coding challenge

Free Google Mail is going away. What are my options?

Google is ending it's free email service with GSuite including GMail with custom domains. What is your strategy going forward? If you want to continue, it will cost you at least $12/user a month. If you have a small company with 10 people, that's $1440 every year for email @yourdomain. Sure, you also get Google … Continue reading Free Google Mail is going away. What are my options?

How Tests Calcify Applications at Different Levels

Tests tend to make your code more resistant to change and refactoring. There are things you can do to alleviate this, but at the cost of complexity in the test code (or experience in the developer.) See: Tests are Great Calcifiers. This is true of tests at all levels -- unit, api, ui automation. However, … Continue reading How Tests Calcify Applications at Different Levels

Install MacOS updates remotely via Command Line over SSH

Automating OS updates can be an important part of OpSec. Here's a quick script to enable automatic OS updates on MacOS: See if Mac OS updates are installed by going to System Preferences > Software Updates > Advanced. You want "Install MacOS updates" to be checked. But you can also check this via the Command … Continue reading Install MacOS updates remotely via Command Line over SSH

Optimizing test setup and cleanup for performance

There is an interesting post from Andrejs Doronins on LinkedIn about improving test performance: https://www.linkedin.com/posts/andrejs-doronins-195125149_testautomation-activity-6889222015509639169-duEW I replied and added my own comments below: Remember though, that execution time is trivial compared to development, maintenance, and debugging. So if you're adding what seems like extra effort that slows down execution to have a clean environment and … Continue reading Optimizing test setup and cleanup for performance