Archives
STARwest talking testing day number 3
Submitted by Erik Petersen on Mon, 13/10/2008 - 09:43. events | perspectivesI 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
Submitted by Mike Kelly on Mon, 13/10/2008 - 11:51.PandoraFMS 2.0 beta has been released
Submitted by Opensourcetesting.org - latest news on Mon, 13/10/2008 - 13:41.eTraxis version 1.18.0 has been released
Submitted by Opensourcetesting.org - latest news on Mon, 13/10/2008 - 13:43.JSystem 5.2.2 has been released
Submitted by Opensourcetesting.org - latest news on Mon, 13/10/2008 - 13:45.xUnit.net 1.0.3 has been released
Submitted by Opensourcetesting.org - latest news on Mon, 13/10/2008 - 13:48.managers love to axe straw
Submitted by Ainars Galvans on Mon, 13/10/2008 - 15:35. metaphorsLast 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
Submitted by jason@parlezuml.com (Jason Gorman) on Mon, 13/10/2008 - 15:40.Pex gets a Stubs framework (I said stubs, not mocks)
Submitted by Jonathan de Halleux on Mon, 13/10/2008 - 16:07.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 FuncGetServiceHandler;
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.
Submitted by jason@parlezuml.com (Jason Gorman) on Mon, 13/10/2008 - 17:00.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?
