Hello all, I'm working on an embedded system in C++. We have CxxTest integrated into a few subsystems with no problems, but when I try to integrate it into...
Thanks for the feedback guys, nice to know I'm on the right path. I think I'll keep the abstraction as simple as possible for now, I'm walking a fine line...
Hi Jeanne I can't help you with CxxTest but to answer your final question... I CppUTest for embedded (I'm one of its authors). It has been adopted at a large...
Hi. Personally I find using an IFilesystem rather fragile and ties my design up too tightly with implementation details. Instead I find myself using one of the...
Hi James, Yes, the target system is linux as well. The reason we picked CxxTest is because it's simpler to use than others we knew of, since a perl script...
All, Sorry if this is off topic but I wanted to ask if folks can post a few text examples (not links to pictures) of story cards so I can get a feel for how...
Justin Daubenmire
jdaubenm@...
Apr 2, 2009 7:41 am
30857
Avi, Yes, as usual, good advice and clearly expressed. I especially agree with the notion of abstracting roles instead of implementation details. But I think...
... I'm not really sure what you are looking for. The card is just a 3"x5" notecard (Or a "sticky" with about the same dimensions) with the story written on...
... I think he wants to see examples of the texts written on story cards: "Joe can see the most recent searches" .. and so on. But from real-life projects, not...
Olof Bjarnason
olof.bjarnason@...
Apr 2, 2009 8:17 am
30861
... From: Olof Bjarnason I think he wants to see examples of the texts written on story cards: Exactly! Can some folks post example text from cards just so I...
Justin Daubenmire
jdaubenm@...
Apr 2, 2009 8:39 am
30862
... I'm not sure what good that will do. But, here is a list of stories from Loose Change (The open source project I am working on. I won't share stories from...
... From: Adam Sroka I'm not sure what good that will do. But, here is a list of stories from Loose Change (The open source project I am working on. Thanks for...
Justin Daubenmire
jdaubenm@...
Apr 2, 2009 8:50 am
30864
... No problem. BTW, I highly recommend that you follow the INVEST mnemonic. Stories are: Independent, Negotiable, Valuable, Estimable, Small, Testable. ...
... John, I agree with both of Avi's suggestions, but let's look at them in a little more detail and consider the context. When would you want to use technique...
Yes. :-) A very good clarification. John D. ... From: testdrivendevelopment@yahoogroups.com [mailto:testdrivendevelopment@yahoogroups.com] On Behalf Of George...
... I can email you some. Keep in mind that there's a lot of implicit knowledge within the group. The wording on the card may not reflect all that's...
Hi John. Thanks, see my reply below. ... Sorry, I'm afraid you understood me correctly :-) Simply using the real file-system, exactly like George explained...
All, I am programming with c#.net and a team member recently wanted to use a static method on a class. I've not seen static methods used much when researching...
Justin Daubenmire
jdaubenm@...
Apr 2, 2009 6:19 pm
30870
Hi George, Excellent explenation. See my remarks below. ... Agreed. ... Agreed again, and in fact in this case the IFileSystem really //is// a role of the...
... Of course both approaches might be prone to hard-coding or configuration equally. I still like the real filesystem approach better, though :) - Avi...
Hi, Justin, ... Cast my vote for "perfectly fine to use." Write a test that requires the (static) method, watch it fail, make it pass. Red-green-refactor. ...
... The general rule for static methods is that they should never completely encapsulate behavior you'd need to replace in a testing situation. Here's an...
My current client is addicted to their DataSets :-( These puppies have as many as 20 columns. Does anyone else face this problem? I'm trying to break their...
I'm surveying .NET Mocking tools and found NMock2 - which I like for its literate and readable syntax however the project put out Release Candidate 2 came out...
A team has picked up development of NMock 2 and are working on a new release. The original version was developed in the nmock Sourceforge project. The fork...
Misko Hevery has a good and opinionated post on static methods. http://misko.hevery.com/2008/12/15/static-methods-are-death-to-testability/ I found his...
Hi, Justin, I want to clarify my earlier response. Static methods can be problematic, and, as Zach's link indicates, can interfere with testability - of...
All, The concept is card, conversation, then confirmation. I am assuming that confirmation is the customer telling you what they consider to be a pass. For...
... Yes, it's one of the harder things to get across. Sometimes people say that they don't understand why singletons are a problem in testing. After all, they...