Let’s pretend that we’re in the house building industry (c’tors Inc.), One days while you’re getting fresh air and working hard the building inspector comes along, climbs to the top of our not yet complete structure and yells: “There’s something wrong with the left side of the building!” then goes away. As a pretend construction … Continue reading Why is the build broken?
VS15 can add conditions to exceptions!
Last week at (or rather during) //Build conference a new Visual Studio was unveiled. You can download the preview right now – I’ll wait…Getting a new Visual Studio feels like Christmas morning (if I was celebrating Christmas). There’s always cool features to explore and new things to play with, an improved shade of purple of … Continue reading VS15 can add conditions to exceptions!
My thoughts on my windows phone and windows 10 (that it would not get)
A few days ago Microsoft has finally announced that some of the old(er) windows phones would soon get the new shiny OS. That left a few windows phone owners a little disappointed. I remember that only a few months ago it was clear that all (or at least most) windows phone devices would be updated … Continue reading My thoughts on my windows phone and windows 10 (that it would not get)
Comparing Two objects using Assert.AreEqual()
Anyone who ever googled (binged?) about unit testing have heard about the “one assert per test rule”. The idea is that every unit test should have only one reason to fail. It’s a good rule that help me write good, robust unit test – but like all such rules-of-the-thumb it’s not always right (just most … Continue reading Comparing Two objects using Assert.AreEqual()
Using OzCode’s Custom Expression to show object’s xml serialization
I’ve been working with OzCode for some time now, and every now and then I find a cool capability I didn’t know it had.Today I wanted to investigate (read: debug) the way several objects were xml-serialized for a demo I’m preparing and for that I created the following method:static class Xml{ public static string SerializeObject(this … Continue reading Using OzCode’s Custom Expression to show object’s xml serialization
Did you know that Visual Studio shows deadlocked tasks?
I didn’t…And it’s not a new feature – since it existed since freaking Visual Studio 2010!Yesterday during an unrelated meeting Alon Fliess showed a bunch of us developers how Visual Studio detects deadlocks in tasks (automatically) and shows the current task status in both Parallel Tasks and Tasks debug windows (duh).I got home late but … Continue reading Did you know that Visual Studio shows deadlocked tasks?
VS2015 Update 1 brings (back) parallel test execution
Yesterday I’ve installed the new VS2015 update and tried to make my machine talk to my win10 (IoT core) Raspberry PI. It didn’t help but that’s a story for another blog post – spoiler: it was a problem with my laptops Ethernet port.After the dust settled I’ve started reading about the new goodness that was … Continue reading VS2015 Update 1 brings (back) parallel test execution
When Mockito’s InjectMocks does not inject mocks
Looking back at the time wasted yesterday while trying to make a trivial functionality work makes me wonder if it was a good idea to begin with… It all started (and ended) yesterday while I was mentoring a team on the fine art of Java unit testing. We’ve decided to use Mockito’s InjectMocks due to … Continue reading When Mockito’s InjectMocks does not inject mocks
Upcoming speaking engagements – AgileTD, DevMotion & NDC London
I’m going to have a good time in the next couple of months – I have several interesting speaking opportunities right around the corner:In less than two days I’ll be traveling to Germany to attend AgileTD. This is my first time at that AgileTD but from what I hear it’s an amazing conference. This year … Continue reading Upcoming speaking engagements – AgileTD, DevMotion & NDC London
Using C++ debug visualizers in VS2015
I have been using the .NET debug visualizers (and DebuggerDisplay atribute) for a long (long) time and I like the way they make my code easy(ier) to debug. Until recently I was not aware that Visual Studio has a similar capability for C++.Any C++ dev armed with Visual Studio can use XML files to create … Continue reading Using C++ debug visualizers in VS2015
