Debugging Vue Jest unit tests in VSCode

I converted the cli option to just debug. Add these to your files. The prelaunch task was needed for me since I kept running into cached file issues, but it may not be required for everyone so try without that flag too. The i flag as noted in the stackoverflow…

Pytest suite as a package

For bundling a pytest suite into a python cli tool or executable package for Docker. The issue is that pytest does not respect the folder directory when called using pytest.main. Assuming a standard folder structure, create a main.py for the entry point to call. Have the main entry…

Figuring out snapshot testing with Jest

Recently, I read about Jest while looking up snapshot testing for a project at work. However, I wasn't too sure just what this is. This blog post documents my own confusion and attempt at figuring out what Jest is and what the pros/cons of it are compared to traditional…

Removing Chocolatey Pro

I recently had my Choccolatey Pro account expire. I didn't find that much use for it over the last year, so I chose not to renew my subscription. When installing the pro version of Chocolatey I had already noticed a lot of not user-friendly aspects to the process. I needed…

Appium Won't Run from xcodebuild failure - Missing XCUICoordinate.h

If you've been getting this error on OSX Appium when running tests for iOS: Error: Unable to launch WebDriverAgent because of xcodebuild failure: "ENOENT: no such file or directory, open '/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/PrivateHeaders/XCTest/XCUICoordinate.h'"…

Ghost Blog ssl configuration

After setting up a couple different Ghost blogs recently, I've run into needing to set up SSL multiple time. Ghost helps generate a Let's Encrypt certificate for you if you use the default setup. However, it only sets up the SSL certificate for one domain. If you want your website…

Find a goal

https://www.quora.com/How-did-Elon-Musk-learn-enough-about-rockets-to-create-and-run-SpaceX/answer/Jim-Cantrell?share=f2c50ef7&srid=uPHbO Find a goal. Understand it. Understand WHY. Be determined to achieve it. Do what's necessary to achieve it. Refuse to accept defeat. If it is a good and noble cause, it will be worth the time spent.…

Lessons from Feb 5

in JS Page Object Model libraries, use the standard JS to return nothing to end functions early. when working with iOS automation, create new specs for each test that needs a reset of notifications and iOS settings regarding the last, you can consolidate e2e tests if you can guarantee the…