<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/">
  <channel rdf:about="http://blog.gmane.org/gmane.comp.programming.test-driven-development">
    <title>gmane.comp.programming.test-driven-development</title>
    <link>http://blog.gmane.org/gmane.comp.programming.test-driven-development</link>
    <description/>
    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>1</syn:updateFrequency>
    <syn:updateBase>1901-01-01T00:00+00:00</syn:updateBase>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.programming.test-driven-development/33570"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.programming.test-driven-development/33567"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.programming.test-driven-development/33542"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.programming.test-driven-development/33529"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.programming.test-driven-development/33525"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.programming.test-driven-development/33517"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.programming.test-driven-development/33511"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.programming.test-driven-development/33510"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.programming.test-driven-development/33506"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.programming.test-driven-development/33499"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.programming.test-driven-development/33429"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.programming.test-driven-development/33407"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.programming.test-driven-development/33404"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.programming.test-driven-development/33403"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.programming.test-driven-development/33402"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.programming.test-driven-development/33395"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.programming.test-driven-development/33390"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.programming.test-driven-development/33389"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.programming.test-driven-development/33388"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.programming.test-driven-development/33386"/>
      </rdf:Seq>
    </items>
    <image rdf:resource="http://gmane.org/img/gmane-25t.png"/>
    <textinput rdf:resource=""/>
  </channel>
  <image rdf:about="http://gmane.org/img/gmane-25t.png">
    <title>Gmane</title>
    <url>http://gmane.org/img/gmane-25t.png</url>
    <link>http://gmane.org</link>
  </image>
  <item rdf:about="http://comments.gmane.org/gmane.comp.programming.test-driven-development/33570">
    <title>ANN: NUnitLite 0.9 Release</title>
    <link>http://comments.gmane.org/gmane.comp.programming.test-driven-development/33570</link>
    <description>&lt;pre&gt;Hi All,

I'm announcing the release of NUnitLite 0.9 today.

In case you were not aware, NUnitLite has surprised me by attracting a
lot of users who previously used full-on NUnit. I originally intended it
for
use on platforms with limited resources, but it turns out that the
simplicity
of a test framework is appealing in other contexts as well.

Here are some of the major changes in the 0.9 release:

Framework

* A .NET 4.5 build is included. When using the 4.5 package,
  C# 5.0 async methods may be used as tests, as the target of
  a Throws constraint and as an ActualValueDelegate returning
  the value to be tested.

* Experimental builds for Silverlight 3.0, 4.0 and 5.0 are included.

* TestContext.Random may be used to provide random values of various
  types for use in your tests.

* The experimental Asynchronous attribute has been removed.

Runner

* The runner now supports the -include and -exclude options, which
  are used to specify categories of tests to be included in a run.

* Test execution time is now reported at a higher resolution on
  systems that support it.

Bug Fixes

*  501784     Theory tests do not work correctly when using null parameters
*  671432     Upgrade NAnt to Latest Release
* 1028188     Add Support for Silverlight
* 1029785     Test loaded from remote folder failed to run with exception
System.IO.Directory Not Found
* 1057981     C#5 async tests are not supported
* 1060631     Add .NET 4.5 build
* 1064014     Simple async tests should not return Task&amp;lt;T&amp;gt;
* 1071164     Support async methods in usage scenarios of Throws
constraints
* 1071714     TestContext is broken when a previous version of the runner
is used alongside a new version of the framework
* 1071861     Error in Path Constraints
* 1072379     Report test execution time at a higher resolution
* 1073750     Remove Asynchronous Attribute
* 1074568     Assert/Assume should support an async method for the
ActualValueDelegate
* 1082330     Better Exception if SetCulture attribute is applied multiple
times
* 1111834     Expose Random Object as part of the test context
* 1172979     Add Category Support to nunitlite Runner
* 1174741     sl-4.0 csproj file is corrupt

You can download NUnitLite 0.9 from http://launchpad.net/nunitlite or via
NuGet. The web
site is at www.nunitlite.org.

Charlie


[Non-text portions of this message have been removed]



------------------------------------

Yahoo! Groups Links

&amp;lt;*&amp;gt; To visit your group on the web, go to:
    http://groups.yahoo.com/group/testdrivendevelopment/

&amp;lt;*&amp;gt; Your email settings:
    Individual Email | Traditional

&amp;lt;*&amp;gt; To change settings online go to:
    http://groups.yahoo.com/group/testdrivendevelopment/join
    (Yahoo! ID required)

&amp;lt;*&amp;gt; To change settings via email:
    testdrivendevelopment-digest&amp;lt; at &amp;gt;yahoogroups.com 
    testdrivendevelopment-fullfeatured&amp;lt; at &amp;gt;yahoogroups.com

&amp;lt;*&amp;gt; To unsubscribe from this group, send an email to:
    testdrivendevelopment-unsubscribe&amp;lt; at &amp;gt;yahoogroups.com

&amp;lt;*&amp;gt; Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/


&lt;/pre&gt;</description>
    <dc:creator>Charlie Poole</dc:creator>
    <dc:date>2013-05-06T18:33:44</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.programming.test-driven-development/33567">
    <title>[Summary] If you could get your colleagues to read just one book on TDD, which would it be?</title>
    <link>http://comments.gmane.org/gmane.comp.programming.test-driven-development/33567</link>
    <description>&lt;pre&gt;Test Driven Development by Example (Kent Beck) + 4
GOOS + 2
Refactoring + 2
Working Effectively With Legacy Code + 2
Clean Code + 1
The Mikado Method (mikadomethod.org)
RSpec
Agile Software Development, Principles, Patterns, and Practices
Effective Unit Testing
Refactoring to patterns by Josh Kerievsky.
Osherov, The Art of Unit testing
jbrains, Responsible Design for Android - on going work, somewhat builds on
GOOS
The Agile Samurai
The Art of Agile Development.
Test Driven Development for Embedded C

Test Driven Development for Embedded C is probably the one to go for if
your problem is "How Can we Do this Stuff in C"?



The TDD by example has the most votes... partly I suspect because it is one
of the oldest.



I suspect GOOS and Responsible Design for Android have some updated ideas
in them.



I really really really like The Mikado Method &amp;lt;http://mikadomethod.org&amp;gt;



It isn't about Unit Testing... but I suspect (no, I know) it works very
well with Working Effectively With Legacy Code



I have been reading XUnit test patterns : refactoring test code



It is a bit Encyclopedic... but it has some excellent lists of principles,
test code smells and design for testability patterns.



On Tue, Apr 30, 2013 at 3:12 PM, John Carter &amp;lt;john.carter&amp;lt; at &amp;gt;taitradio.com&amp;gt;wrote:



&lt;/pre&gt;</description>
    <dc:creator>John Carter</dc:creator>
    <dc:date>2013-05-06T02:10:24</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.programming.test-driven-development/33542">
    <title>What I hate about *Unit frameworks.</title>
    <link>http://comments.gmane.org/gmane.comp.programming.test-driven-development/33542</link>
    <description>&lt;pre&gt;Most of them invest way too much effort to make up for the deficiencies of
the Windows Operating system.

The Component in a Computer tasked with managing concurrency, task
separation, and ensuring full clean setup and tear down is....

The Operating System.

So if you want to be dead, 100% sure that this test doesn't corrupt that
test... you use a process.

Nope, not try / catch, not exception handling. That's a flaky almost
solution.

One test === One Process.

Each process is an address space that appears.... and vanishes.

But, but, but Processes Are HeavyWeight you can't create and run thousands
of processes!

Oh yes you can.

Processes are lightweight under Unix and have been for decades.

In fact much of the hype about threads is a result of Microsoft marketing
spin to cope with the fact that Windows 3.1 processes were incredibly
heavyweight kludges.

In fact there are relatively few places where one should use threads when
one can use processes.

Want to run a thousand tests? Well, how many cores do you have? Let's keep
every core 100% busy. One test, one core.

But who is going to spin all those processes and mind the result?

GNU parallel is a pretty nifty choice.

Or maybe it is something the xUnit's should be doing.

&lt;/pre&gt;</description>
    <dc:creator>John Carter</dc:creator>
    <dc:date>2013-04-30T23:30:11</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.programming.test-driven-development/33529">
    <title>If you could get your colleagues to read just one book on TDD, which would it be?</title>
    <link>http://comments.gmane.org/gmane.comp.programming.test-driven-development/33529</link>
    <description>&lt;pre&gt;Conversely, which books would you expect a TDD master to have read?

&lt;/pre&gt;</description>
    <dc:creator>John Carter</dc:creator>
    <dc:date>2013-04-30T03:12:48</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.programming.test-driven-development/33525">
    <title>Erroneous Assertion about TDD</title>
    <link>http://comments.gmane.org/gmane.comp.programming.test-driven-development/33525</link>
    <description>&lt;pre&gt;Hi All,

Here's an excerpt from a newsletter I got from O'Reilly today...

"For many old-school software engineers, *developing code* has always been *as
much an art as a science*. But as the industry focuses more on practices
such as Test-Driven Development, and Patterns become the lingua franca of
programming, *is there any room left for real creativity in coding?* Or,
has it become an exercise in cookie-cutter production, putting together
components in new ways, but without any real room for individual style?"

How can such misunderstanding can still exist? Anyway, they asked for
opinions and I sent this:

"I was a bit dismayed at your question "...as the industry focuses more on
practices such as Test-Driven Development, and Patterns become the lingua
franca of programming, is there any room left for real creativity in
coding?"

"I'll address the point as it applies to Test-Driven Development, since
that's closest to my heart. I'm an advocate of TDD as well as the
maintainer of NUnit, a unit-test framework that aims to facilitate TDD.

"To put it baldly, anyone who finds that Test-Driven Development stifles
their creativity simply isn't doing TDD as it's intended to be practiced.
The self-imposed discipline of first discovering tests that will require
the development of the production code we actually want to write is without
a doubt difficult to learn. But once it is learned, it's a source of great
creativity. Just as the strict form of the sonnet allowed Shakespeare to
channel his creativity, the discipline of TDD demands creativity from
developers who adopt it.

"Of course, doing TDD this way doesn't just happen. First and foremost, as
hinted in the preceding paragraph, it's a discipline that must be first
understood and chosen by the programmer - either as an individual or as
part of a team that decides to adopt TDD. Management-imposed TDD - like
most management-imposed technical practices - only succeeds in taking
responsibility away from the programmer.

"Test-Driven Development is a technique discovered and advocated by
programmers for programmers. It's a spark for creativity. When it's
reinterpreted as a set of rules to be imposed on the programmers, it can
easily have the opposite affect. But that's not unique to TDD. We've seen
it before with many other techniques and will likely see it again."

What do you think? Have you heard such complaints? What do you tell people
in response?

Charlie


[Non-text portions of this message have been removed]



------------------------------------

Yahoo! Groups Links

&amp;lt;*&amp;gt; To visit your group on the web, go to:
    http://groups.yahoo.com/group/testdrivendevelopment/

&amp;lt;*&amp;gt; Your email settings:
    Individual Email | Traditional

&amp;lt;*&amp;gt; To change settings online go to:
    http://groups.yahoo.com/group/testdrivendevelopment/join
    (Yahoo! ID required)

&amp;lt;*&amp;gt; To change settings via email:
    testdrivendevelopment-digest&amp;lt; at &amp;gt;yahoogroups.com 
    testdrivendevelopment-fullfeatured&amp;lt; at &amp;gt;yahoogroups.com

&amp;lt;*&amp;gt; To unsubscribe from this group, send an email to:
    testdrivendevelopment-unsubscribe&amp;lt; at &amp;gt;yahoogroups.com

&amp;lt;*&amp;gt; Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/


&lt;/pre&gt;</description>
    <dc:creator>Charlie Poole</dc:creator>
    <dc:date>2013-04-20T05:41:28</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.programming.test-driven-development/33517">
    <title>Implementation of game tree search using TDD</title>
    <link>http://comments.gmane.org/gmane.comp.programming.test-driven-development/33517</link>
    <description>&lt;pre&gt;Hi,
I am trying to use TDD to implement game tree searching but I am running
into some issues.Using C#, MS Test  and Rhino Mocks.
My requirement is to traverse a tree to a specified depth and find the
maximum value of the nodes at this depth. If a path ends before the
specified depth then the value of the last node in the path should be
considered.
Sample usage looks like this:
var depth = 5;
var tree = new GameTree();
var treeSearch = new TreeSearch();var maxValue =
treeSearch.FindMaxValue(tree, depth);
I started with the following tests:

    * A search to depth zero should return the value of the root node
    * A search to depth one with no children should return the value of
the root node
    * A search to depth one with one child should return the value of the
child
    * A search to depth one with two children should return the highest
value of the two children
    * A search to depth one of a tree with depth two should return the
maximum value at depth one
Up to this point the tests are simple enough and mocking of the tree is
simple. The last test starts driving towards a depth first tree
traversal.Now I start on depth 2 tests which should drive the rest of
the tree traversal algorithm:
    * A search to depth two should return the maximum value at depth two
I decided to mock a complete binary tree with depth 2. The test looks
like this:        public void
SearchToDepthTwoShouldReturnMaxValueAtDepthTwo()         {            
_depth = 2;             _returnValue = 6;             _tree.Expect(t =&amp;gt;
t.GetChildren()).Return(new[] {1, 2}).Repeat.Once();            
_tree.Expect(t =&amp;gt; t.MoveToChild(1)).Repeat.Once();            
_tree.Expect(t =&amp;gt; t.GetChildren()).Return(new[] { 3, 4 }).Repeat.Once();
_tree.Expect(t =&amp;gt; t.MoveToChild(3)).Repeat.Once();            
_tree.Expect(t =&amp;gt; t.Evaluate()).Return(3).Repeat.Once();            
_tree.Expect(t =&amp;gt; t.MoveToParent()).Repeat.Once();            
_tree.Expect(t =&amp;gt; t.MoveToChild(4)).Repeat.Once();            
_tree.Expect(t =&amp;gt; t.Evaluate()).Return(4).Repeat.Once();            
_tree.Expect(t =&amp;gt; t.MoveToParent()).Repeat.Once();            
_tree.Expect(t =&amp;gt; t.MoveToParent()).Repeat.Once();            
_tree.Expect(t =&amp;gt; t.MoveToChild(2)).Repeat.Once();            
_tree.Expect(t =&amp;gt; t.GetChildren()).Return(new[] { 5, 6 }).Repeat.Once();
_tree.Expect(t =&amp;gt; t.MoveToChild(5)).Repeat.Once();            
_tree.Expect(t =&amp;gt; t.Evaluate()).Return(5).Repeat.Once();            
_tree.Expect(t =&amp;gt; t.MoveToParent()).Repeat.Once();            
_tree.Expect(t =&amp;gt; t.MoveToChild(6)).Repeat.Once();            
_tree.Expect(t =&amp;gt; t.Evaluate()).Return(_returnValue).Repeat.Once();
_tree.Expect(t =&amp;gt; t.MoveToParent()).Repeat.Once();            
_tree.Expect(t =&amp;gt; t.MoveToParent()).Repeat.Once();            
Assert.AreEqual(_returnValue, _treeSearch.Search(_tree, _depth));
_tree.VerifyAllExpectations();         }Where the interface for the tree
looks like this:    public interface ITree     {         int Evaluate();
IEnumerable&amp;lt;int&amp;gt; GetChildren();         void MoveToChild(int node);
void MoveToParent();     } Not my idea of a good test. I can probably
clean this up by introducing a tree creator method where I pass in an
array that defines the structure and an array with the values but even
that approach has problems as the parsing of the arrays will be complex
and constructing the array will be complex.
Also, the mocking is tied to the solution algorithm and expects a depth
first approach.
This is also the most trivial of searching algorithms. My next step is a
minimax / negamax search and then an alpha-beta search where test cases
for trees of depth 3 and maybe 4 will be required due to the nature of
the optimizations.


So I am left scratching my head on how to solve the issue. Some ideas I
am kicking around:
Don't mock the tree, use a minimal implementation of the tree
insteadPros: Tree construction will be more readable. Trees can be
specified as XML or JSON to be more readable.Cons: Not testing in
isolation

Redesign the treeCurrently the tree has an internal state / cursor.
MoveToChild and MoveToParent are used to navigate around the tree. The
reason for this is that the game trees are very large and creating
static trees are not feasible. Instead, all the children are calculated
on demand based on the current state.
If this behaviour is ignored and the interface is changed so that a
context node needs to be specified for each operation then the mocking
can be changed to return a value based on the parameters and not the
order of calls to the mocked class.
Pros: Mocking not tied to implementationCons: If a state tree implements
the interface then checks will need to be built in to verify that the
context in the calling methods is always equal to the current state.
Also, creating larger trees will still need some mechanism for
constructing them.
Implement searching as part of the treeStill a problem with the dynamic
nature of the tree. Mocking won't be simplified unless the tree is
implemented as static but eventually there will need to be a dynamic
tree implementation that requires testing and the same issues will
surface. And probably violates single responsibility pattern.

Any thoughts?


[Non-text portions of this message have been removed]



------------------------------------

Yahoo! Groups Links

&amp;lt;*&amp;gt; To visit your group on the web, go to:
    http://groups.yahoo.com/group/testdrivendevelopment/

&amp;lt;*&amp;gt; Your email settings:
    Individual Email | Traditional

&amp;lt;*&amp;gt; To change settings online go to:
    http://groups.yahoo.com/group/testdrivendevelopment/join
    (Yahoo! ID required)

&amp;lt;*&amp;gt; To change settings via email:
    testdrivendevelopment-digest&amp;lt; at &amp;gt;yahoogroups.com 
    testdrivendevelopment-fullfeatured&amp;lt; at &amp;gt;yahoogroups.com

&amp;lt;*&amp;gt; To unsubscribe from this group, send an email to:
    testdrivendevelopment-unsubscribe&amp;lt; at &amp;gt;yahoogroups.com

&amp;lt;*&amp;gt; Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/


&lt;/pre&gt;</description>
    <dc:creator>haewke</dc:creator>
    <dc:date>2013-04-17T04:38:59</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.programming.test-driven-development/33511">
    <title>Testing business rules and not deploying the entire stack</title>
    <link>http://comments.gmane.org/gmane.comp.programming.test-driven-development/33511</link>
    <description>&lt;pre&gt;Hi,

I'm building a new system and I want to get it 'right'.

What does right mean? It means I want to test my business rules against
just Java classes.

This approach has been advocated by Uncle Bob (I believe) and is very
seductive because I have worked on many projects where eventually, due to
running on a full stack, the test suite begins to slow down drastically.

The approach seems to be to express your business requirements in a
non-infrastructure related way. I can just about see this with a web app
with a html front end. Instead of saying 'click button Add User', you could
say 'select Add User' and call the underlying service call that the
controller was going to.

(You still don't know if the button works of course, but you could have a
few, full stack tests to make sure).

This approach has some disadvantages though. The main one being you cannot
always separate the business requirements and the infrastructure.

A classic example is a RESTful web service. The business requirements are
full of GET, POST, DELETE, PUT, urls, application media types and JSON
payloads. Writing requirements in this language makes sense to everybody
involved including public consumers of the service and to abstract away the
http infrastructure seems wrong.

Of course, once I start running my tests against a deployed web app, I am
now back to square one regarding quantity of tests and how long they take
to run.

Any suggestions?

Thanks


[Non-text portions of this message have been removed]



------------------------------------

Yahoo! Groups Links

&amp;lt;*&amp;gt; To visit your group on the web, go to:
    http://groups.yahoo.com/group/testdrivendevelopment/

&amp;lt;*&amp;gt; Your email settings:
    Individual Email | Traditional

&amp;lt;*&amp;gt; To change settings online go to:
    http://groups.yahoo.com/group/testdrivendevelopment/join
    (Yahoo! ID required)

&amp;lt;*&amp;gt; To change settings via email:
    testdrivendevelopment-digest&amp;lt; at &amp;gt;yahoogroups.com 
    testdrivendevelopment-fullfeatured&amp;lt; at &amp;gt;yahoogroups.com

&amp;lt;*&amp;gt; To unsubscribe from this group, send an email to:
    testdrivendevelopment-unsubscribe&amp;lt; at &amp;gt;yahoogroups.com

&amp;lt;*&amp;gt; Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/


&lt;/pre&gt;</description>
    <dc:creator>rakesh mailgroups</dc:creator>
    <dc:date>2013-04-02T14:53:29</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.programming.test-driven-development/33510">
    <title>!!!</title>
    <link>http://comments.gmane.org/gmane.comp.programming.test-driven-development/33510</link>
    <description>&lt;pre&gt;
http://www.san-gregorio-de-polanco.com/bmeueps/zzwdi.tjuh?az  


 



 
3/28/2013 2:13:55 PM



 

 
      

                                         










        


3/28/2013 2:13:55 PM                                                                       

[Non-text portions of this message have been removed]



------------------------------------

Yahoo! Groups Links

&amp;lt;*&amp;gt; To visit your group on the web, go to:
    http://groups.yahoo.com/group/testdrivendevelopment/

&amp;lt;*&amp;gt; Your email settings:
    Individual Email | Traditional

&amp;lt;*&amp;gt; To change settings online go to:
    http://groups.yahoo.com/group/testdrivendevelopment/join
    (Yahoo! ID required)

&amp;lt;*&amp;gt; To change settings via email:
    testdrivendevelopment-digest&amp;lt; at &amp;gt;yahoogroups.com 
    testdrivendevelopment-fullfeatured&amp;lt; at &amp;gt;yahoogroups.com

&amp;lt;*&amp;gt; To unsubscribe from this group, send an email to:
    testdrivendevelopment-unsubscribe&amp;lt; at &amp;gt;yahoogroups.com

&amp;lt;*&amp;gt; Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/


&lt;/pre&gt;</description>
    <dc:creator>Alan Baljeu</dc:creator>
    <dc:date>2013-03-28T13:13:58</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.programming.test-driven-development/33506">
    <title>ANN: My TDD Master Class is Available online (not free)</title>
    <link>http://comments.gmane.org/gmane.comp.programming.test-driven-development/33506</link>
    <description>&lt;pre&gt;Hi Folks.
I hope you find this class useful - it is recorded live in my five days TDD
master class. focus is on .NET, but Java and C++ devs will find it helpful
as well.

the cost is about half the ticket to a normal class, with about 10 hours of
video demos and talks. based on my book "The Art of Unit Testing"

I have created 20 coupons for use in this mailing list: use coupon code
"tddlist" to get the course at $350 instead of $500 .
https://www.udemy.com/tdd-in-net-with-roy-osherove/

&lt;/pre&gt;</description>
    <dc:creator>Roy Osherove</dc:creator>
    <dc:date>2013-03-19T12:33:30</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.programming.test-driven-development/33499">
    <title>Kata for test smells</title>
    <link>http://comments.gmane.org/gmane.comp.programming.test-driven-development/33499</link>
    <description>&lt;pre&gt;Hi everyone,

I've been asked to teach test smells Thursday (!) and I'm looking for a piece of test code that has a good number of them in order to use it for identifying and then removing the test smells. I plan to make the learners work on their proper test code but I'd like them to warm up on one or two "distilled" examples first. And I'm thinking someone has already done that before and might have it lying around somewhere.

I did find the introduction example in Meszaros book "xUnit Test Patterns" which could do. But I was hoping for some choice.







------------------------------------

Yahoo! Groups Links

&amp;lt;*&amp;gt; To visit your group on the web, go to:
    http://groups.yahoo.com/group/testdrivendevelopment/

&amp;lt;*&amp;gt; Your email settings:
    Individual Email | Traditional

&amp;lt;*&amp;gt; To change settings online go to:
    http://groups.yahoo.com/group/testdrivendevelopment/join
    (Yahoo! ID required)

&amp;lt;*&amp;gt; To change settings via email:
    testdrivendevelopment-digest&amp;lt; at &amp;gt;yahoogroups.com 
    testdrivendevelopment-fullfeatured&amp;lt; at &amp;gt;yahoogroups.com

&amp;lt;*&amp;gt; To unsubscribe from this group, send an email to:
    testdrivendevelopment-unsubscribe&amp;lt; at &amp;gt;yahoogroups.com

&amp;lt;*&amp;gt; Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/


&lt;/pre&gt;</description>
    <dc:creator>johantoutsimplement</dc:creator>
    <dc:date>2013-02-19T21:23:19</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.programming.test-driven-development/33429">
    <title>Howto mock a final object that doesn't offer an interface?</title>
    <link>http://comments.gmane.org/gmane.comp.programming.test-driven-development/33429</link>
    <description>&lt;pre&gt;Hello everybody,

I need a little help again. The question is: How do you test 3rd party 
objects, that are declared final and do not implement any interface to 
work on?

Background: Yesterday I started the testdriven approach for a small 
game. I have to get used to this process, it's a little bumpy and slow, 
but I really appreciate the green bar after refactoring something. Very 
enjoyable. :)

Now I want to render a very simple shape to the screen. By "rendering" I 
mean - for now - drawing 2D-vertices with an AS3 Graphics object:
http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/display/Graphics.html

I need to call some draw-methods on this object (moveTo( x, y ), 
drawLine( x, y ), etc.).

This Graphics-thing is declared final, so I can't overwrite its' methods 
with a mockObject and it offers no interface that I could implement for 
a mockObject.
If I could use a mock, I could check which calls were made and which 
arguments (vertices) were given, but I don't see a way to do this now 
without modifying the code to fit the tests.

How would you approach this? Is there an approach to this? Or should 
this not be tested?

Best,
Stefan



------------------------------------

Yahoo! Groups Links

&amp;lt;*&amp;gt; To visit your group on the web, go to:
    http://groups.yahoo.com/group/testdrivendevelopment/

&amp;lt;*&amp;gt; Your email settings:
    Individual Email | Traditional

&amp;lt;*&amp;gt; To change settings online go to:
    http://groups.yahoo.com/group/testdrivendevelopment/join
    (Yahoo! ID required)

&amp;lt;*&amp;gt; To change settings via email:
    testdrivendevelopment-digest&amp;lt; at &amp;gt;yahoogroups.com 
    testdrivendevelopment-fullfeatured&amp;lt; at &amp;gt;yahoogroups.com

&amp;lt;*&amp;gt; To unsubscribe from this group, send an email to:
    testdrivendevelopment-unsubscribe&amp;lt; at &amp;gt;yahoogroups.com

&amp;lt;*&amp;gt; Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/


&lt;/pre&gt;</description>
    <dc:creator>sh</dc:creator>
    <dc:date>2013-01-23T13:47:14</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.programming.test-driven-development/33407">
    <title>Does TDD ask me to 'forget' all I know about software design?</title>
    <link>http://comments.gmane.org/gmane.comp.programming.test-driven-development/33407</link>
    <description>&lt;pre&gt;Dear Listables,

first post here. I hope, this hasn't been asked a thousand times... :)

TL,DR first:
What are your experiences regarding the evolutional aspect of TDD when 
it comes to systems?
And how do you handle your own preconceptions about software design?

Fulltext:
Since I have some time at hand I want to develop a small game-engine in 
Haxe as a hobby project.
I want to use a TDD approach, but I have some questions.

Since I already coded several small games/experiments I have certain 
ideas about how a game engine should be structured.
For example I expect to  end up with
- an engine class,
- a scene or context
- a renderer,
- an event- or signal/slot-system,
- an entity/component system
- etc, etc.

When I now start to write my first tests, I guess I start with the 
engine class. At some point I will introduce vertices and a 
render()-method, because I want to draw meshes to the screen.

When it comes to that, how would you approach this task in a test driven 
way?

Do you say to yourself "Hey, it will end up like that anyway, I 
introduce a new class named Renderer and write the next tests for this 
class."?
Or do you take the next smallest step and add a method "renderVertices" 
to the engine class and refactor it out to a renderer, when the "rule" 
says so? (in this case separation of concerns?)

Same thing for events or messages: I expect I will need a dispatcher and 
an interface for objects to register themselves as listeners to certain 
events. Do you try to "forget" such expectations when using TDD?

When and how do you decide to introduce a new system?
Do you always do it because "the tests say so" or because you know you 
need it?
Does something like an eventSystem with listeners/dispatchers really 
"evolve" by just adding the right tests and refactoring?

So:
What are your experiences regarding the evolutional aspect of TDD? 
Should I just trust the method?
And how do you handle your own preconceptions about software design?

Best,
Stefan



------------------------------------

Yahoo! Groups Links

&amp;lt;*&amp;gt; To visit your group on the web, go to:
    http://groups.yahoo.com/group/testdrivendevelopment/

&amp;lt;*&amp;gt; Your email settings:
    Individual Email | Traditional

&amp;lt;*&amp;gt; To change settings online go to:
    http://groups.yahoo.com/group/testdrivendevelopment/join
    (Yahoo! ID required)

&amp;lt;*&amp;gt; To change settings via email:
    testdrivendevelopment-digest&amp;lt; at &amp;gt;yahoogroups.com 
    testdrivendevelopment-fullfeatured&amp;lt; at &amp;gt;yahoogroups.com

&amp;lt;*&amp;gt; To unsubscribe from this group, send an email to:
    testdrivendevelopment-unsubscribe&amp;lt; at &amp;gt;yahoogroups.com

&amp;lt;*&amp;gt; Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/


&lt;/pre&gt;</description>
    <dc:creator>sh</dc:creator>
    <dc:date>2013-01-21T17:47:29</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.programming.test-driven-development/33404">
    <title>(unknown)</title>
    <link>http://comments.gmane.org/gmane.comp.programming.test-driven-development/33404</link>
    <description>&lt;pre&gt;http://tadmod.co.uk/images/ndold.php?kysj=kysj

[Non-text portions of this message have been removed]



------------------------------------

Yahoo! Groups Links

&amp;lt;*&amp;gt; To visit your group on the web, go to:
    http://groups.yahoo.com/group/testdrivendevelopment/

&amp;lt;*&amp;gt; Your email settings:
    Individual Email | Traditional

&amp;lt;*&amp;gt; To change settings online go to:
    http://groups.yahoo.com/group/testdrivendevelopment/join
    (Yahoo! ID required)

&amp;lt;*&amp;gt; To change settings via email:
    testdrivendevelopment-digest&amp;lt; at &amp;gt;yahoogroups.com 
    testdrivendevelopment-fullfeatured&amp;lt; at &amp;gt;yahoogroups.com

&amp;lt;*&amp;gt; To unsubscribe from this group, send an email to:
    testdrivendevelopment-unsubscribe&amp;lt; at &amp;gt;yahoogroups.com

&amp;lt;*&amp;gt; Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/


&lt;/pre&gt;</description>
    <dc:creator>huiqin wang</dc:creator>
    <dc:date>2013-01-06T22:42:08</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.programming.test-driven-development/33403">
    <title>(unknown)</title>
    <link>http://comments.gmane.org/gmane.comp.programming.test-driven-development/33403</link>
    <description>&lt;pre&gt;http://kayserietiket.com/fpbs.php?whve=whve

[Non-text portions of this message have been removed]



------------------------------------

Yahoo! Groups Links

&amp;lt;*&amp;gt; To visit your group on the web, go to:
    http://groups.yahoo.com/group/testdrivendevelopment/

&amp;lt;*&amp;gt; Your email settings:
    Individual Email | Traditional

&amp;lt;*&amp;gt; To change settings online go to:
    http://groups.yahoo.com/group/testdrivendevelopment/join
    (Yahoo! ID required)

&amp;lt;*&amp;gt; To change settings via email:
    testdrivendevelopment-digest&amp;lt; at &amp;gt;yahoogroups.com 
    testdrivendevelopment-fullfeatured&amp;lt; at &amp;gt;yahoogroups.com

&amp;lt;*&amp;gt; To unsubscribe from this group, send an email to:
    testdrivendevelopment-unsubscribe&amp;lt; at &amp;gt;yahoogroups.com

&amp;lt;*&amp;gt; Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/


&lt;/pre&gt;</description>
    <dc:creator>huiqin wang</dc:creator>
    <dc:date>2013-01-06T14:52:57</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.programming.test-driven-development/33402">
    <title>Submission extension XP2013 Vienna: Call for Research and Experience Papers</title>
    <link>http://comments.gmane.org/gmane.comp.programming.test-driven-development/33402</link>
    <description>&lt;pre&gt;Extended submission deadline: 25.1.2013

The 14th International Conference on Agile Software Development is a 
leading conference on agile methods in software and information systems 
development. XP2013 will be located in Vienna, Austria June 3-7. This 
conference brings together industrial practitioners and researchers in 
the fields of information systems and software development, and examines 
latest theory, practical applications, and implications of agile 
methods. For more information visit 
http://xp2013.org/call-for-contributions/.

We allow submission as research papers as well as experience reports.

Research papers
===============
We are looking for original research, with implications for theory and 
practice. Motivation for research and discussion of the related work 
must be included, as well as a description of the research method 
applied. Full papers are limited to 15 pages and short papers to 8 pages.

Experience reports
==================
We are looking for experience reports sharing experiences about the 
business impact generated when introducing agile practices, and 
challenges to be overcome as well as horror stories on failures 
including lessons learned. Experience papers must be clearly marked as 
such so that they can be appropriately reviewed by the program 
committee. Concerning length and formatting, experience reports must 
follow the same rules and guidelines as research papers.

If you would like to receive help from an experienced agile researcher 
to shepherd you in developing a submission, please contact the PC chairs 
(research&amp;lt; at &amp;gt;xp2013.org) by the time indicated in the important dates list.

Areas of interest
=================
We are inviting innovative and high quality research papers as well as 
experience reports related to agile software development. Topics of 
particular interest in the conference include, but are not restricted 
to, the following:

  - Foundations and conceptual studies of and for agile methods
  - Living examples of agility in all areas
  - Current practices and future trends, agile evolution and revolution
  - Empirical studies and experiences
  - Experiments in software development and their relation to agile methods
  - Implications for industrial practice
  - Tools and techniques for agile development
  - Social and human aspects including teams
  - Forming agile organizations and its implications
  - Management and governance aspects
  - Measurement and metrics
  - Global software development and offshoring
  - Systems engineering and safety critical systems
  - Software- and systems architecture
  - Legacy systems
  - Usability
  - Using agile methods in education and research
  - Teaching agile methods in particular in an university context

Presentation of accepted papers
===============================
Accepted papers will either be presented within the research track or as 
part of the main conference track-depending on whether the implications 
of the contribution are mainly related to theory and/or practice. 
Authors of papers that are selected for presentations in the main 
conference track will be assigned a mentor who will advise and assist in 
adapting the presentation to suit a mixed audience of practitioners and 
researchers.

Research Program Committee
==========================
Hubert Baumeister, Technical University of Denmark, Denmark (co-chair)
Barbara Weber, University of Innsbruck Austria (co-chair)

Muhammad Ali Babar, IT University of Copenhagen, Denmark
Robert    Biddle, Carleton University, Canada
Luigi Buglione, Engineering.IT / ETS, Italy
Ivica Crnkovic, Mälardalen University, Sweden
Simon Cromarty, Red Gate Software, UK
Steven    D. Fraser, Cisco Research, USA
Torgeir    Dingsoyr, SINTEF ICT, Norway
Tore Dybå, SINTEF and Department of Informatic, University of Oslo, 
Norway Amr Elssamadisy, Gemba Systems, USA
Juan Garbajosa, Universidad Politecnica de Madrid / Technical University 
of Madrid, Spain
Alfredo Goldma, University of São Paulo, Brazil
Des Greer, Queens University Belfast, Ireland
Rashina Hoda, The University of Auckland, New Zealand
Kirsi Korhonen    NSN, Finland
Pasi Kuvaja, University of Oulu, Finland
Stig Larsson, Effective Change AB, Sweden
Casper    Lassenius, Aalto University, Finland
Lech Madeyski,  Wroclaw University of Technology, Poland
Michele Marchesi, University of Cagliari, Italy
Grigori    Melnik    Microsoft, Canada
Alok Mishra, Atilim University, Turkey
Nils Brede Moe, SINTEF ICT, Norway
Ana Moreno, University Madrid, Spain
Oscar Nierstrasz, University of Bern, Switzerland
Maria    Paasivaar, Helsinki University of Technology, Finland
Jennifer Perez,    Technical University of Madrid, Spain
Kai Petersen, Blekinge Institute of Technology/Ericsson AB, Sweden
Adam Porter, University of Maryland, USA Outi Salo, Nokia, Finland
Helen Sharp, The Open University, UK
Alberto Sillitti, Free University of Bolzano, Italy
Darja Smite, Blekinge Institute of Technology, Sweden
Giancarlo Succi, Free University of Bolzano/Bozen, Italy
Marco Torchiano, Politecnico di Torino, Italy
Stefan    Van Baelen, iMinds, Belgium
Xiaofeng Wang,  Free University of Bozen-Bolzano, Italy
Hironori Washizaki, Waseda University, Japan
Werner Wild, EVOLUTION, Austria
Laurie Williams, North Carolina State University, USA
Agustin Yague,    Universidad Politecnica de Madrid, Spain

Submission instructions
=======================
Papers should be submitted electronically as a self-contained PDF file 
using the EasyChair submission site: 
https://www.easychair.org/conferences/?conf=xp2013. Papers have to be 
written in English and formatted according to Springer's LNBIP format: 
http://www.springer.com/series/7911. Papers not following the guidelines 
will be rejected.

Important Dates
===============
Deadline (extended):  25.1.2013
Feaddback to authors: 22.2.2013
Final version due:     8.3.2013
Conference:          3-7.6.2013

&lt;/pre&gt;</description>
    <dc:creator>Hubert Baumeister</dc:creator>
    <dc:date>2013-01-03T16:04:44</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.programming.test-driven-development/33395">
    <title>Video: Behavior Driven Testing for Multichannel Enterprise Applications</title>
    <link>http://comments.gmane.org/gmane.comp.programming.test-driven-development/33395</link>
    <description>&lt;pre&gt;Video from the Agile Testing &amp;amp; BDD eXchange 2012, what do you guys think? 

http://skillsmatter.com/podcast/agile-testing/behavior-driven-testing-for-multichannel-enterprise-application/mh-6028



------------------------------------

Yahoo! Groups Links

&amp;lt;*&amp;gt; To visit your group on the web, go to:
    http://groups.yahoo.com/group/testdrivendevelopment/

&amp;lt;*&amp;gt; Your email settings:
    Individual Email | Traditional

&amp;lt;*&amp;gt; To change settings online go to:
    http://groups.yahoo.com/group/testdrivendevelopment/join
    (Yahoo! ID required)

&amp;lt;*&amp;gt; To change settings via email:
    testdrivendevelopment-digest&amp;lt; at &amp;gt;yahoogroups.com 
    testdrivendevelopment-fullfeatured&amp;lt; at &amp;gt;yahoogroups.com

&amp;lt;*&amp;gt; To unsubscribe from this group, send an email to:
    testdrivendevelopment-unsubscribe&amp;lt; at &amp;gt;yahoogroups.com

&amp;lt;*&amp;gt; Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/


&lt;/pre&gt;</description>
    <dc:creator>mikeskillsmatter</dc:creator>
    <dc:date>2012-11-26T14:34:55</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.programming.test-driven-development/33390">
    <title>Sharable Examples of Good Testing</title>
    <link>http://comments.gmane.org/gmane.comp.programming.test-driven-development/33390</link>
    <description>&lt;pre&gt;I'm looking for some examples of software programs that are good examples of TDD in action.  I want to be able to share them with anyone, so they need to be publicly accessible.

Do you know of any open source projects that we can proudly hold up?



------------------------------------

Yahoo! Groups Links

&amp;lt;*&amp;gt; To visit your group on the web, go to:
    http://groups.yahoo.com/group/testdrivendevelopment/

&amp;lt;*&amp;gt; Your email settings:
    Individual Email | Traditional

&amp;lt;*&amp;gt; To change settings online go to:
    http://groups.yahoo.com/group/testdrivendevelopment/join
    (Yahoo! ID required)

&amp;lt;*&amp;gt; To change settings via email:
    testdrivendevelopment-digest&amp;lt; at &amp;gt;yahoogroups.com 
    testdrivendevelopment-fullfeatured&amp;lt; at &amp;gt;yahoogroups.com

&amp;lt;*&amp;gt; To unsubscribe from this group, send an email to:
    testdrivendevelopment-unsubscribe&amp;lt; at &amp;gt;yahoogroups.com

&amp;lt;*&amp;gt; Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/


&lt;/pre&gt;</description>
    <dc:creator>john_s_ryan</dc:creator>
    <dc:date>2012-12-18T14:56:11</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.programming.test-driven-development/33389">
    <title>Arabic to Roman Numeral kata with commentary</title>
    <link>http://comments.gmane.org/gmane.comp.programming.test-driven-development/33389</link>
    <description>&lt;pre&gt;Hi, All,

I recently posted a katacast of the arabic to roman numeral conversion kata
with an audio commentary track over it. It is heavy TDD, plus uses bits of
the transformation priority premise.

http://programmingtour.blogspot.com/2012/12/roman-numerals-kata-with-commentary.html

Would love to hear any feedback from the list.

Thanks!
-Corey Haines


[Non-text portions of this message have been removed]



------------------------------------

Yahoo! Groups Links

&amp;lt;*&amp;gt; To visit your group on the web, go to:
    http://groups.yahoo.com/group/testdrivendevelopment/

&amp;lt;*&amp;gt; Your email settings:
    Individual Email | Traditional

&amp;lt;*&amp;gt; To change settings online go to:
    http://groups.yahoo.com/group/testdrivendevelopment/join
    (Yahoo! ID required)

&amp;lt;*&amp;gt; To change settings via email:
    testdrivendevelopment-digest&amp;lt; at &amp;gt;yahoogroups.com 
    testdrivendevelopment-fullfeatured&amp;lt; at &amp;gt;yahoogroups.com

&amp;lt;*&amp;gt; To unsubscribe from this group, send an email to:
    testdrivendevelopment-unsubscribe&amp;lt; at &amp;gt;yahoogroups.com

&amp;lt;*&amp;gt; Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/


&lt;/pre&gt;</description>
    <dc:creator>Corey Haines</dc:creator>
    <dc:date>2012-12-18T13:21:28</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.programming.test-driven-development/33388">
    <title>Are developers from Mars and testers from Venus?</title>
    <link>http://comments.gmane.org/gmane.comp.programming.test-driven-development/33388</link>
    <description>&lt;pre&gt;Please help Swinburne university researchers find out - http://www.testingsurveys.org/personality/index.php


[Non-text portions of this message have been removed]



------------------------------------

Yahoo! Groups Links

&amp;lt;*&amp;gt; To visit your group on the web, go to:
    http://groups.yahoo.com/group/testdrivendevelopment/

&amp;lt;*&amp;gt; Your email settings:
    Individual Email | Traditional

&amp;lt;*&amp;gt; To change settings online go to:
    http://groups.yahoo.com/group/testdrivendevelopment/join
    (Yahoo! ID required)

&amp;lt;*&amp;gt; To change settings via email:
    testdrivendevelopment-digest&amp;lt; at &amp;gt;yahoogroups.com 
    testdrivendevelopment-fullfeatured&amp;lt; at &amp;gt;yahoogroups.com

&amp;lt;*&amp;gt; To unsubscribe from this group, send an email to:
    testdrivendevelopment-unsubscribe&amp;lt; at &amp;gt;yahoogroups.com

&amp;lt;*&amp;gt; Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/


&lt;/pre&gt;</description>
    <dc:creator>Tanjila Kanij</dc:creator>
    <dc:date>2012-12-03T08:21:07</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.programming.test-driven-development/33386">
    <title>TDD rowFixture test returns an IllegalArgumentException on a reflection mismatch</title>
    <link>http://comments.gmane.org/gmane.comp.programming.test-driven-development/33386</link>
    <description>&lt;pre&gt;I have the following setup:
rhel55, jdk 170, eclipse juno, fitnesse.
I am new to Fitnesse and I am aware I need training and I am busy
ramping myself up reading through 70% of Fit for Development Software. I
was hoping someone in this forum would give me some advice as well on
how to resolve the coding issue I have resulting in the stacktrace in
the Fitnesse result :
net.qaautomation.fitnesse.fixtures.DcrSrcListarea relative path
java.lang.IllegalArgumentException: Can not set
com.interwoven.cssdk.filesys.CSAreaRelativePath field
com.interwoven.proserv.dcr.DcrList.areaRelativePath to
com.interwoven.cssdk.filesys.CSAreaRelativePath at
sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException(Uns\
afeFieldAccessorImpl.java:164) at
sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException(Uns\
afeFieldAccessorImpl.java:168) at
sun.reflect.UnsafeFieldAccessorImpl.ensureObj(UnsafeFieldAccessorImpl.ja\
va:55) at
sun.reflect.UnsafeObjectFieldAccessorImpl.get(UnsafeObjectFieldAccessorI\
mpl.java:36) at java.lang.reflect.Field.get(Field.java:372) at
fit.TypeAdapter.get(TypeAdapter.java:94) at
fit.RowFixture.buildCells(RowFixture.java:212) at
fit.RowFixture.buildRows(RowFixture.java:191) at
fit.RowFixture.doRows(RowFixture.java:32) at
fit.Fixture.doTable(Fixture.java:153) at
fit.Fixture.interpretTables(Fixture.java:99) at
fit.Fixture.doTables(Fixture.java:79) at
fit.FitServer.process(FitServer.java:81) at
fit.FitServer.run(FitServer.java:56) at
fit.FitServer.main(FitServer.java:41)surplus
java.lang.IllegalArgumentException: Can not set
com.interwoven.cssdk.filesys.CSAreaRelativePath field
com.interwoven.proserv.dcr.DcrList.areaRelativePath to
com.interwoven.cssdk.filesys.CSAreaRelativePath at
sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException(Uns\
afeFieldAccessorImpl.java:164) at
sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException(Uns\
afeFieldAccessorImpl.java:168) at
sun.reflect.UnsafeFieldAccessorImpl.ensureObj(UnsafeFieldAccessorImpl.ja\
va:55) at
sun.reflect.UnsafeObjectFieldAccessorImpl.get(UnsafeObjectFieldAccessorI\
mpl.java:36) at java.lang.reflect.Field.get(Field.java:372) at
fit.TypeAdapter.get(TypeAdapter.java:94) at
fit.RowFixture.buildCells(RowFixture.java:212) at
fit.RowFixture.buildRows(RowFixture.java:191) at
fit.RowFixture.doRows(RowFixture.java:32) at
fit.Fixture.doTable(Fixture.java:153) at
fit.Fixture.interpretTables(Fixture.java:99) at
fit.Fixture.doTables(Fixture.java:79) at
fit.FitServer.process(FitServer.java:81) at
fit.FitServer.run(FitServer.java:56) at
fit.FitServer.main(FitServer.java:41)surplus
java.lang.IllegalArgumentException: Can not set
com.interwoven.cssdk.filesys.CSAreaRelativePath field
com.interwoven.proserv.dcr.DcrList.areaRelativePath to
com.interwoven.cssdk.filesys.CSAreaRelativePath at
sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException(Uns\
afeFieldAccessorImpl.java:164) at
sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException(Uns\
afeFieldAccessorImpl.java:168) at
sun.reflect.UnsafeFieldAccessorImpl.ensureObj(UnsafeFieldAccessorImpl.ja\
va:55) at
sun.reflect.UnsafeObjectFieldAccessorImpl.get(UnsafeObjectFieldAccessorI\
mpl.java:36) at java.lang.reflect.Field.get(Field.java:372) at
fit.TypeAdapter.get(TypeAdapter.java:94) at
fit.RowFixture.buildCells(RowFixture.java:212) at
fit.RowFixture.buildRows(RowFixture.java:191) at
fit.RowFixture.doRows(RowFixture.java:32) at
fit.Fixture.doTable(Fixture.java:153) at
fit.Fixture.interpretTables(Fixture.java:99) at
fit.Fixture.doTables(Fixture.java:79) at
fit.FitServer.process(FitServer.java:81) at
fit.FitServer.run(FitServer.java:56) at
fit.FitServer.main(FitServer.java:41)surplus
I have setup a rowFixture against a HP Autonomy TeamSite application and
CSAreaRelativePath is an object that returns a path to an xml file in
the CMS repository. The objective of the test is to get a list of all
the assets in an area. If I set the field in DcrList areaRelativePath to
String and refactor the code to get String objects then Reflection still
does not really accept the objects from DcrList and DcrSrcList to be the
same. I have looked at this for a week now and i am reading the book Fit
for Developing Software - Framework for Integrated Tests from Rick
Mugridge and Ward Cunningham which is getting me very far, but I need
some further help to get me on the right track. If I make a static field
of CSAreaRelativePath in DcrList.java then the test says:
net.qaautomation.fitnesse.fixtures.DcrSrcListarea relative pathnull
surplusnull surplusnull surplusnull surplus
  The Fitnesse test configuration and code look like this. Please let me
know if you need logs, or anything else:
|!-net.qaautomation.fitnesse.fixtures.DcrSrcList-!||''area relative
path''|
The DcrSrcList java looks like this:
public class DcrSrcList extends fit.RowFixture {     private static
Logger log = LogManager.getLogger(DcrSrcList.class);
&amp;lt; at &amp;gt;Override public Object[] query() throws Exception {
DcrList dcrlist = new DcrList(null);    List&amp;lt;CSAreaRelativePath&amp;gt;
arearelativepathList = new ArrayList&amp;lt;CSAreaRelativePath&amp;gt;();
for (Iterator&amp;lt;?&amp;gt; it =  dcrlist.getDcrList(); it.hasNext();){  
CSAreaRelativePath areaRelativePath = (CSAreaRelativePath) it.next();  
log.debug("DcrSrcList path: " + areaRelativePath.toString());  
arearelativepathList.add(areaRelativePath);  }                  for
(Iterator&amp;lt;CSAreaRelativePath&amp;gt; iterator =
arearelativepathList.iterator(); iterator    .hasNext();) {  
CSAreaRelativePath string = (CSAreaRelativePath) iterator.next();  
log.debug("show list entry: " + string);     }  return
arearelativepathList.toArray(); }   &amp;lt; at &amp;gt;Override public Class&amp;lt;?&amp;gt;
getTargetClass() {  // TODO Auto-generated method stub  return
DcrList.class; } }
The DcrList.java looks like this:
package com.interwoven.proserv.dcr;
import java.util.ArrayList;import java.util.Iterator;import
org.apache.log4j.LogManager;import org.apache.log4j.Logger;import
com.interwoven.proserv.common.IOHelper;import
com.interwoven.proserv.common.MasterFactory;import
com.interwoven.proserv.common.Constants;import
com.interwoven.cssdk.filesys.CSSortKey;import
com.interwoven.cssdk.common.CSClient;import
com.interwoven.cssdk.filesys.CSBranch;import
com.interwoven.cssdk.filesys.CSAreaRelativePath;import
com.interwoven.cssdk.filesys.CSDir;import
com.interwoven.cssdk.filesys.CSFile;import
com.interwoven.cssdk.filesys.CSFileKindMask;import
com.interwoven.cssdk.filesys.CSSimpleFile;import
com.interwoven.cssdk.filesys.CSVPath;import
com.interwoven.cssdk.filesys.CSWorkarea;import
com.interwoven.proserv.common.TSHelper;import
org.apache.commons.lang.StringUtils;
import org.apache.commons.collections.CollectionUtils;
/**
  * &amp;lt; at &amp;gt;name AppendHTMLTagToBlockQuote
  * &amp;lt; at &amp;gt;description Class which returns a list of TeamSite Data Content
Records
  * &amp;lt; at &amp;gt;author arnout.cator
  * &amp;lt; at &amp;gt;returns List&amp;lt;SimpleFile&amp;gt;
  */
public class DcrList {
     private static Logger log = LogManager.getLogger(DcrList.class);   
private CSSimpleFile dcr;    private ArrayList&amp;lt;CSAreaRelativePath&amp;gt;
dcrList;    private CSClient master;    private CSVPath path;    private
static String excludeRegex = IOHelper.getString("excludeRegex");  //gets
the string from master.properties    private
ArrayList&amp;lt;CSAreaRelativePath&amp;gt; allFiles ;    private CSAreaRelativePath[]
areaRelativePathArray;    public CSAreaRelativePath areaRelativePath;   
private String fileKind;
/**  * Constructor with path field  * &amp;lt; at &amp;gt;param areaRelativePath  */
public DcrList(CSAreaRelativePath areaRelativePath) {
this.areaRelativePath = areaRelativePath;
}
public Iterator getDcrList() throws Exception {
//get the work area
//get all DCRs and stick them in the List
log.debug(": getDcrList() method start");
CSClient master = MasterFactory.getMasterClient();
String vpath = "/default/main/component-guide";
CSVPath csvpath = new CSVPath(vpath);
log.debug(": getDcrList() csvpath: " + csvpath.toString());
CSBranch branch = master.getBranch(csvpath, true);
log.debug(": getDcrList() branch: " + branch.getKind());
CSWorkarea[] workareas = branch.getWorkareas();
allFiles = new ArrayList&amp;lt;CSAreaRelativePath&amp;gt;();
for (int i = 0; i &amp;lt; workareas.length; i++) {
CSWorkarea csWorkarea = workareas[i];
CSSortKey[] sortArray = new CSSortKey[1];
sortArray[0] = new CSSortKey(CSSortKey.NAME, true);
Iterator&amp;lt;?&amp;gt; iterator =
csWorkarea.getRootDir().getFiles(CSFileKindMask.SIMPLEFILE |
CSFileKindMask.DIR, sortArray,
CSFileKindMask.SIMPLEFILE | CSFileKindMask.DIR, null, 0, -1, true);
log.debug("DcrList: About to display the workarea");

while (iterator.hasNext()) {
CSFile file = (CSFile) iterator.next();

log.debug("DcrList Substring: " +
file.getVPath().toString().replaceAll("//RH55WS732/default/main/componen\
t-guide/WORKAREA/shared/", ""));
CSAreaRelativePath path = new
CSAreaRelativePath(file.getVPath().toString().replaceAll("//RH55WS732/de\
fault/main/component-guide/WORKAREA/shared/", ""));
allFiles.add(path);
areaRelativePathArray = new CSAreaRelativePath[allFiles.size()] ;
log.debug("DcrList adding path to areaRelativePath array size: " +
areaRelativePathArray.length);
}
log.debug("DcrList final ArrayList allFiles size: " + allFiles.size());
}
dcrList = allFiles;
log.debug("DcrList size: " + dcrList.size());
return dcrList.iterator();
}
public void setDcrList(ArrayList&amp;lt;CSAreaRelativePath&amp;gt; dcrList) {
this.dcrList = dcrList;
}
/**
* &amp;lt; at &amp;gt;return the areaRelativePath
*/
public CSAreaRelativePath getAreaRelativePath() {
return areaRelativePath;
}


/**
* &amp;lt; at &amp;gt;param areaRelativePath the areaRelativePath to set
*/
public void setAreaRelativePath(CSAreaRelativePath areaRelativePath) {
this.areaRelativePath = areaRelativePath;
}}



[Non-text portions of this message have been removed]



------------------------------------

Yahoo! Groups Links

&amp;lt;*&amp;gt; To visit your group on the web, go to:
    http://groups.yahoo.com/group/testdrivendevelopment/

&amp;lt;*&amp;gt; Your email settings:
    Individual Email | Traditional

&amp;lt;*&amp;gt; To change settings online go to:
    http://groups.yahoo.com/group/testdrivendevelopment/join
    (Yahoo! ID required)

&amp;lt;*&amp;gt; To change settings via email:
    testdrivendevelopment-digest&amp;lt; at &amp;gt;yahoogroups.com 
    testdrivendevelopment-fullfeatured&amp;lt; at &amp;gt;yahoogroups.com

&amp;lt;*&amp;gt; To unsubscribe from this group, send an email to:
    testdrivendevelopment-unsubscribe&amp;lt; at &amp;gt;yahoogroups.com

&amp;lt;*&amp;gt; Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/


&lt;/pre&gt;</description>
    <dc:creator>arnoutcator</dc:creator>
    <dc:date>2012-11-13T23:38:05</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.programming.test-driven-development/33383">
    <title>driving</title>
    <link>http://comments.gmane.org/gmane.comp.programming.test-driven-development/33383</link>
    <description>&lt;pre&gt;what is a cpc certificate and what are the rules anyone know



------------------------------------

Yahoo! Groups Links

&amp;lt;*&amp;gt; To visit your group on the web, go to:
    http://groups.yahoo.com/group/testdrivendevelopment/

&amp;lt;*&amp;gt; Your email settings:
    Individual Email | Traditional

&amp;lt;*&amp;gt; To change settings online go to:
    http://groups.yahoo.com/group/testdrivendevelopment/join
    (Yahoo! ID required)

&amp;lt;*&amp;gt; To change settings via email:
    testdrivendevelopment-digest&amp;lt; at &amp;gt;yahoogroups.com 
    testdrivendevelopment-fullfeatured&amp;lt; at &amp;gt;yahoogroups.com

&amp;lt;*&amp;gt; To unsubscribe from this group, send an email to:
    testdrivendevelopment-unsubscribe&amp;lt; at &amp;gt;yahoogroups.com

&amp;lt;*&amp;gt; Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/


&lt;/pre&gt;</description>
    <dc:creator>jack hirst</dc:creator>
    <dc:date>2012-11-12T18:51:05</dc:date>
  </item>
  <textinput rdf:about="http://search.gmane.org/?group=$group=gmane.comp.programming.test-driven-development">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.comp.programming.test-driven-development</link>
  </textinput>
</rdf:RDF>
