Just an update on this for everyone and some more questions... I've been able to successfully read in the Excel spreadsheet of info using POI, as suggested,...
... I have played with representing those objects as "typed Maps" -- a Map-like interface (name -> value) where you can specify the type of the values for...
I've pretty much completed part I of this project, which is a TDD/Java learning exercise (and gives me something to use for my membership chair work in a car...
How about changing the Ctor so that it accepts a single param. This param would be the 'thing' which the Ctro uses to get the necessary values from. class...
... I have a SpreadsheetDataSource class that reads a row of the spreadsheet. I then have a SpreadSheetMemberDAO that takes that info and creates a Member...
... If you have different contentProvider derived classes, then overLoaded factoryMethods on the member class, rather than using Ctors is a good way togo. ...
Probably this a basic question - Is it hard to do test-first development when you are writing applications on a package/api that provides some basic set of...
... TDD is either a design technique yielding bug-free code or an implementation technique yielding bug-free code and a good design. That works great designing...
A good way to make sure you know how to use the package is to write tests for it that reflect the way you want to use the package. It's (almost) always a good...
... There's a double meaning there. Naturally one should limit dependency on 3rd party packages one installs... I used to think engineers should prefer to buy ...
What does the Customer need? As I see it, this is more about your requirements than how to do it TDD. It seems that you are only concerning bad data in the...
... I'm the customer (I'm the membership chair - and trying to make my work easier, by automating the generation of reports and storing info that will make it...
Do you know and care about the difference between JUnit extensions such as HTMLUnit and HTTPUnit? Cactus, MockObjects, and JUnitEE? Abbot, Jemmy, JFCUnit,...
... It is hard to do test-first development, but for entirely different reasons. It appears you are test-driving a feature that uses third-party code that you...
TDDers: Someone recently posted, somewhere else, "When we get to full system test, it is rare to find a coding bug. Bugs found at this state are logic bugs, or...
Types of bugs I don't know how to write unit tests for: - Security - Performance - Multi-Threading - Usability -Jay http://blogs.msdn.com/jaybaz_MS ... From:...
... In Java, we have JUnitPerf, which defines "TimedTestCase". You could port that to your local environment pretty easily. For the rest, I'm with you. -- J....
... Call them "issues", not "bugs" then. Can you write tests for their symptoms? I have seen a multi-thread project developed via pure test-first. The tests...
... This will only really help you find "local" performance problems, however. It can't help prevent environmental performance problems (the production machine...
I'm a newbie on this list and like to throw in a question about the availability of case studies, academic papers, magazine articles, etc, that proves the...
... I don't know much of what's out there now, but some of us are thinking about these things and, if we ever get off our asses, will write something about it....
... I don't think you can catch them in unit tests. You can, however, simulate your production environment and monitor it. You can even monitor your production...
Hello, I'm working on my first TDD project and would appreciate a little advice. Here is a brief overview of the problem. It's a small project that creates a...
... What would happen if you took it "One bird at a time"? 1. A test for one field. 2. A test for the whole line, containing the one field. 3. A test for...
... Thank you for replying, Ron Jeffries. In your suggestion, in order to test a single field, I would have to have the export class expose the fields...
... Programming tutorials often contain recommendations like: * "Make all data private to a class." * "Declare a separate interface for each category of client...
... Hello, Thanks for your response, Phlip. That helps me determine how strictly I should adhere to rules and such when it comes to developing using TDD. I am...
... I may not be understanding the situation. I was envisioning that the model information must be exposing value that the export class grabs and writes; that...
If I may add one - memory ownership. Quite a nasty problem to have. The interesting part is the solution to it - pick an environment that does not have those...