Articles tagged “testing”
7 articles
- Topography of tests Important note: this article is written for developers who don't practice TDD, that is more than 99% of developers I know. TDD is a very different world, and a few assertions I make in this article don't apply there. For instance, my skepticism…
- Tampering SharePoint assemblies part 1 I've inherited a SharePoint project and I'm at the step when I start adding tests for regression testing. If the authors of the code knew anything about object orientation and design, there would be no problems at this step; but, as usual, they were…
- Tampering SharePoint assemblies part 2 In the previous article, I explained the context of a legacy SharePoint code which should be tested. For instance, regression testing should cover methods such as: public string DoSomething(int whatever) { var urls =…
- Gated checkins are evil I was recently talking with a developer about a pre-build strategy he wants to set up in his team which uses trunk-based development. His idea is that in order to prevent problematic code from hitting the trunk in version control, a client-side…
- Tricky, tricky dates Any programmer who worked with dates would tell that dates are a complex subject. Time zones, UTC, daylight saving time, leap years, and, my favorite of all—leap seconds that “are not entirely…
- When testing is not fun enough On regular basis, some colleague starts complaining in an informal discussion about the low quality of some project he's working on. It has to do with code quality, or lack of tests, or both. Every…
- What targetting 100% code coverage taught me I was recently in charge of drafting a new system for a customer. I took it as an opportunity to demonstrate some of the approaches that should lead to higher quality software, compared to what the…