Profile cover photo
Profile photo
Jay Bazuzi
68 followers
68 followers
About
Jay's posts

Post has attachment
Micro-ATDD
I strive to make all my tests be both microtests and acceptance tests, an idea I learned from Arlo Belshee. When I say this to people, they are usually confused first, then doubtful when I explain. I don't think I'm ready to address the doubt, but maybe I c...

Post has attachment
AONW2017: Amazing Distributed Teams
My new job involves teams that are distributed over a bunch of locations, mostly on the West Coast of the USA. Each team has people at multiple locations. I went to Agile Open NorthWest 2017 with the question "How can we make distributed teams awesome?" Her...

Post has attachment
Safely extract a method in any C++ code
Let me set the scene: You're reading some code. Some old, gnarly C++ code. The method you're looking at is 5000 lines long. It's clearly really important. You need to understand it, but it's such a mess. You notice a 1000 line block of code that seems to st...

Post has attachment
Pinning Tests
I wrote this on the C2 Wiki, with the hopes that other people would help improve it. But now that site is down, so I'm posting it here: Definition:  A simple-minded automated test that locks down the behavior of existing code that otherwise is not well-test...

Post has attachment
Promote captured local to parameter
Given a lambda with a captured local variable, Add a new parameter to the lambda Inside the lambda, replace uses of the local with uses of the new parameter Where the lambda is called, pass in the local. Loading Gist 9bb6b3066f60fb7aaa7ad1f39af3cd1d ... I b...

Post has attachment
**
Given a lambda with a captured local variable, Add a new parameter to the lambda Inside the lambda, replace uses of the local with uses of the new parameter Where the lambda is called, pass in the local. Loading Gist 9bb6b3066f60fb7aaa7ad1f39af3cd1d ... I b...

Post has attachment
**
Given a lambda with a captured local variable, Add a new parameter to the lambda Inside the lambda, replace uses of the local with uses of the new parameter Where the lambda is called, pass in the local. Loading Gist 9bb6b3066f60fb7aaa7ad1f39af3cd1d#file-pr...

Post has attachment
Proposed refactoring: extract and execute lambda
Given a statement block, wrap it in a lambda assigned to an Action variable, and execute it immediately. Loading Gist 21a92bc8770caf19bf24812dff938822 ... I believe this is a refactoring: I believe that this transformation has no effect on the behavior of t...

Post has attachment

Post has attachment
"pure unit test" vs. "FIRSTness"
Sometimes we categorize tests into groups like "pure unit test", "focused integration test", "end-to-end-test", etc. That's a fine approach, and useful for a lot of cases. For example, I find that pure unit tests are extremely valuable in giving me feedback...
Wait while more posts are being loaded