Skip navigation.

Archives

STARwest talking testing day number 3

events | perspectives

I notice that James Whittaker finally started blogging in July. He recently blogged on STARwest, including describing Keith Stobie as “10 testers in one”. I would have to agree having spent the last day at STARwest at “California Adventure” (the park across the way from Disneyland) with Keith, talking testing and other topics as we queued for rides. It was my first testing talking day for a while .

As James started blogging, my blogging fell in a hole, but hopefully it is now back…. I got to have several dodgy quality experiences at Disneyland and California Adventure and at other places (some self inflicted!), that will either be blog entries or talk fodder in the coming year….. I may even tell some other STARwest stories as well, the lightning talk that became a full session that became a keynote, or the STARwest lightning talk that was going to have James Whittaker testing software disguised as Darth Vader!!!!! Stay tuned!

How to conduct regression tests

A while ago I answered the following question on SearchSoftwareQuality.com’s Ask The Software Quality Expert: Questions & Answers.How should I write a regression testing section within the test plan?Here is a clip from my answer: When writing the regression testing section of a formal test plan, there are several things you might want to consider:What’s [...]

PandoraFMS 2.0 beta has been released

Pandora FMS is a monitoring system for big IT environments. It uses remote tests, or local agents to grab information. PandoraFMS 2.0 beta has been released, which includes loads of new features, such as automatic updates, prediction server, automatic networks maps, remote agent configurations, WMI servers, new graphs, new reports and more.

eTraxis version 1.18.0 has been released

eTraxi is a web-based bug tracking system written in PHP. New features integrated in this release: new-716: 'Today' value in date field range. new-740: Filter set should be overwritten if it already exists. Bug fixes integrated in this release: bug-738: SQL error when Office Word 2007 file is being attached. bug-741: BBCode tag [code] adds extra newline-character at bottom of code block. bug-742: Not all expected notes are present when record is being created/modified.

JSystem 5.2.2 has been released

JSystem is a framework for writing and running automated system testing projects. This versions several new features as follows: - Ant based scenario - Scenario flow control - Agent based tests execution

xUnit.net 1.0.3 has been released

xUnit is a .Net testing framework. This release adds the following new features: * Support for ReSharper 4.0 and 4.1 This release fixes the following issues: * Remove check for xunit.dll in ReSharper runner * Shorten exception name in ReSharper

managers love to axe straw

metaphors
In Latvia we used to say that a person „axes straw” (my probably poor translation) when the effort is an overkill compared to the goal. I used to wonder how managers may talk four hours about technically trivial problems, while missing opinion on technically complex problems.
Last week I did the same myself. What a shame, is it?! With this post not only I want to admit two mistakes – my misbehavior yesterday and my years long misinterpretation.

Draft Article - Managing Software Dependencies - Lessons From The Credit Crunch

If you're of a mind to, you can download and ogle (using your eyes) this draft of an article for those fabulous folks at itarchitect.co.uk that draws tenuous and entirely speculative parallels between the current credit crisis - and how it might have been averted - and the problem of managing dependencies in software.

Pex gets a Stubs framework (I said stubs, not mocks)

In any unit testing activity, there always comes a point when one needs to isolate the code under test from the environment. This usually involves adding interfaces at the environment boundaries, which can be used to test the code in isolation. Because implementing those interfaces ‘by hand’ for the test can be tedious, an ecosystem of mock frameworks has flourished (NMock, Rhino Mocks, Moq, there’s more…). In fact, it’s a pretty competitive area.

The dark side of Mocks frameworks

Under their friendly API, mock frameworks usually hide a complex machinery: dynamic code (through Reflection.Emit or a rewriting profiler), expression trees or reflection.

From a Pex point of view, this ‘machinery’ puts a large burden on the dynamic whitebox code analysis; Pex does a precise data flow and control analysis for any code that is executed, this means that it also has to analyze the mock infrastructure.  

Therefore, we decided to build a framework to define stubs that would try to avoid the overhead of dynamic code generation (just rely on source code) and still provide the same level of flexibility of existing mock frameworks: defining the behavior of the stub inside the test, strongly typed, intellisense support, first-class debugging experience, etc…

Low tech Stubs using delegates

With C# 3.0 lambdas, it is quite easy to define delegates. Therefore, delegates seemed an elegant and simple way for building stub methods (we’re not the first ones to think about this). For example, a stub of the IServiceProvider would simply be

class SServiceProvider : IServiceProvider {
    // this field can be set to ‘override’ the behavior of GetService
    public Func GetServiceHandler;

    object IServiceProvider.GetService(Type type) {
        var d = this.GetServiceHandler;
        if (d != null) return d(type); // i’m stubbed :)
        else throw new NotImplementedException();
    }
}

Productive Teams Are Business Assets. Recognise Your Investment In Building Them.

So here's a joke. You may have heard it before, in which case please don't spoil it for the other readers.

Q. How many weeks does it take your average OO software development team to ramp up to the point where they're delivering tested code, visible features and have build and test automation up and running? From a standing start? Does that include implementing a Agile process from scratch with a new team of people who've never worked together before?