Caching node_modules in Jenkins
This is a basic implementation. For true CI/CD, it's advised that you review how this integrates into your process carefully.…
This is a basic implementation. For true CI/CD, it's advised that you review how this integrates into your process carefully.…
How to patch functions inside imported modules required for testing. Use a global and a module fixture.…
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…
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…
I participated in a hackathon and feel I performed poorly. tldr; Ask less questions at a hackathon. Just build it…
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…
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…
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'"…