When TDD'ing for managed memory cleanup (garbage collection) of your former references, if you create an empty test, is it actually "green" since it is the...
Interesting topic Jim... I haven't fully thought this through, nor am I familiar enough with the tools available today in C#, but this is a classic example of...
Hi Kelly, I'm not explicitly testing every class. Garbage collecting is very interesting. If a high level object is collected, this usually means that all of...
If it were possible to automate this aspect of testing for all your classes at once, using an AOP approach, then you wouldn't have to think so much. ...
I don't think you are lazy. It's a big problem to try and solve completely. You could say I'm lazy by not testing every class for garbage collection:0 Then...
Folks... Anyone building and running CppUnit with VS2005? I am getting a bizarre error when trying to link to cppunitd.lib. I get an unresolved external...
I think there are two different cases here: 1. You're developing a framework and the API is part of the WHAT. 2. You're not doing a framework, and the API is a...
Hi Mike... A guess, based on other experiences: make sure that the flavor of runtime library (single/multi threaded, etc.) being referenced by CPPUnit is the ...
Interesting post Jim. To be frank, I'm not entirely sure of the merits of testing a non deterministic system like GC in .Net. Although, I've spent enough time ...
Hi Tim, I'm not worried about the physical memory being managed correctly in .Net. I'll have to check out the profiling API a little more. From what I've read,...
If you're really testing thread-specific storage, that shouldn't be so hard. Couldn't you create multiple threads that each ensure that they get the same...
For C++ "new" should throw an exception if it can't allocate the memory. The default behavior of some versions of C++ on windows is to return NULL instead, but...
A friend works for a team that does unit testing with JUnit... But is interested in using Fitnesse for Acceptance testing. He asked this question "okay, I...
... Some testing is being written. Mostly JUnit against the Business Objects. I think (and I'm answering for my friend now) that management sees a gap in UI...
I'm the guy with the original question greg helpfully posted here. ... I personally haven't read it, but I believe one or two of our team members have. It's...
Aaron, Sorry I could answer better earlier. You know how time consuming that EJB programming can be;') Not having worked with Fit in a "real" project, I can...
... I guess my point was more along the lines of... I'd rather write Code for my tests than deal with HTML, or Wiki, or anything else that's not "code" ... I...
Here's the simple plaintext C# code if anyone is interested in the approach: ****the test**** [NUnit.Framework.Test] public void Test() { //might be something...
... Whether or not xMock could help you and how would depend entirely on the structure of your code. Just a simple unit test could tell if a classes event...
... That's not my experience. Junit is fine for unit tests, but more complex tests can become rather painful. Separating the test definition from the glue code...
... That was my point also (though I apparently didn't express it well). I can only imagine starting a project with Fit tests and having the customer being a...
... Yeah, I was probably a little too "absolute" in my statement. I can see how once the initial Fixtures are setup, it would be easier to write those tests. ...
Ilja: "his" test, "she" noticed? I'll agree from a slightly different "fun" standpoint: it's pretty gratifying to know you've designed a system that can be...