Pester: Loading PowerShell Modules for Testing essenceofcode.com/2022/11/17…
1
David Wilson retweeted
*User* stories come from *users*. They describe a domain-level problem, a solution for which would make your *users* life better. They do not describe that solution. 1/3
PowerShell Scripts Need Tests Too! essenceofcode.com/2022/08/12…
David Wilson retweeted
You cannot test your way to quality.
Tests, for example, don't tell you if you've written the simplest code needed to do the job, or whether there is unnecessary complexity, or whether the code is readable and easy to modify, or whether the architecture is appropriate.
David Wilson retweeted
Happy Friday everyone - enjoy these ocean vibes in honor of #WorldOceansDay earlier this week!
David Wilson retweeted
A well-architected software project is one where the difficulty of adding a feature is proportional to the delta in functionality you want to add.
Small tweaks should be easy, and big new features that were not part of the design should not be too scary due to the existing code.
David Wilson retweeted
Yes. If you're serious about fewer bugs in prod, the answer is not to spend ever more time and energy testing, it's to invest -- culturally and technically -- in production.
Feature flags, instrumentation, observability, progressive deployment, and a healthy on call.
Replying to @DevHarryC @mipsytipsy
👍 All the QA in the world can’t prevent unknown unknowns. The bigger the release, the more there are. makes it all the more sad that the typical mgmt response to this occurrence is “you need to test more” —> longer release cycles —> moar rumsfeldbugs.
David Wilson retweeted
Problem: People forget to write tests.
Solution: Write a test that asserts that each file has a test. 😎
Below, I'm using Jest to assure each component in our reusable component library has a corresponding test file.
See alt tag for Gist link.
David Wilson retweeted
C# 11 preview introduces list patterns.
It extends pattern matching to match sequences of elements in an array or a list.
You can use list patterns with any pattern, including constant, type, property, and relational patterns.
Bonus example in the reply 👇
David Wilson retweeted
Every backlog item that your team pulls into their Sprint is a backlog item that other teams cannot work on. That creates a cumulative delay in the system as a whole. it’s way better to work on one item at a time and pull the next item when you finish the current one.🤔
David Wilson retweeted
Scheduling your team at 100% capacity is a great way to ensure that nothing will be delivered on time.
David Wilson retweeted
Each code change doesn’t have to be perfect.
We need it to be a little better than the code was before.
David Wilson retweeted
Building the wrong thing benefits nobody, regardless of how fast you build it. Forget velocity. Focus, instead, on building the right thing.
David Wilson retweeted
I just updated an @angular 8 app to Angular 13. Upgrading version by version was painful from an npm standpoint, so I created a new Angular 13 app, copied my files over, and fixed errors. All the errors were TypeScript errors. It was very close to painless. Amazing
Continuous integration and testing isn’t an additional cost for a development team, instead it is a shift and decrease in the cost of finding and resolving defects to earlier in the development lifecycle.
David Wilson retweeted
Old Microsoft used the term “cross platform” to mean different versions of windows on different devices. Now it’s *truly* cross platform. That’s been one of the more transformative changes that’s happened since I’ve worked here.
Debugging Powershell Modules in VS Code essenceofcode.com/2022/05/05…
David Wilson retweeted
“As an old programmer, it is my job to make room for those young programmers, so that they can become old programmers too.”
Great advice from @shanselman at #NDCPorto
Spent the last two days @DevOpsDaysRDU and learned a ton! Thanks to everyone involved for such a great conference!
1


















