Skip to content

Instantly share code, notes, and snippets.

View mitchwyle's full-sized avatar
🏠
living the dream

mzzw mitchwyle

🏠
living the dream
View GitHub Profile
@mitchwyle
mitchwyle / defense-policies.md
Created November 15, 2021 21:49
Defense policies: who defends which unwanted results and where to test?

Background

I am finally getting around to capturing my "dot files" and other setup parameters because I need to re-create my development environment on different hardware and new VMs. As I go through the setup, I am carefully documenting the steps in README.md and also adding functions to a setup script. The script will, I hope, semi-automate or completely automate the large majority of my re-establishing my personal settings. Many developers have great "dot files," setup scripts, & methods in their public github. I am writing my own from scratch because I am enjoying the process, not because I think mine will be better.

Testing Script functions

While writing tests for my setup script, I decided to write mostly "negative" tests to attack the functions and handle corner cases I have seen fail in others' code (frequently). In my previous job, I was very saddened by the culture of 100% "happy path" tests written exclusively to pass some "test coverage" target but serving almost no real verification pur

Keybase proof

I hereby claim:

  • I am mitchwyle on github.
  • I am mfw (https://keybase.io/mfw) on keybase.
  • I have a public key whose fingerprint is 3B9E D8D4 2683 2372 C843 5E09 BA3C 4D33 F188 BAB0

To claim this, I am signing this object: