... I am not familiar with you environment, but could the DEP module have an additional symbol definition that is causing it to be loaded? Do you have a tool...
888
James Grenning
jwgrenning
Nov 4, 2011 2:40 am
Jeanne You have an unresolved external that pulls in the .o file from the static library. The c linker only allows a single global symbol of the same name. In...
889
Bas Vodde
basvodde
Nov 4, 2011 4:16 am
Hiya Jeanne, In addition to what James says, I'd avoid linker stubbing inside the same library as much as possible. It would probably be better to do dynamic...
890
Jeanne Petrangelo
jpetrangelo1
Nov 4, 2011 10:51 am
These two functions, the CUT and DEP, are from two different source files. This situation comes from me trying to create a unit testing infrastructure that is...
891
Jeanne Petrangelo
jpetrangelo1
Nov 4, 2011 10:58 am
Thanks, James. I clearly have to learn some more about how the linker works. I appreciate the link and pointers very much! In this particular case the two...
892
jpetrangelo1
Nov 4, 2011 3:08 pm
I believe I isolated the cause, and you are correct. As I'm programming object oriented C, I define the class/struct in the C file, define a couple of objects...
893
Bas Vodde
basvodde
Nov 5, 2011 3:46 am
Hi Jeanne, I think I understand your context. I'd still avoid having different executables for the different subcategories (unless they are *really* big). For...
894
Jeanne Petrangelo
jpetrangelo1
Nov 5, 2011 12:59 pm
This definitely helps; thanks! Just to mention, I added a little trick to the individual unit test makefiles such that they are not built and run again unless...
895
Matt Wilbur
bitbasher
Nov 7, 2011 6:02 pm
... [Non-text portions of this message have been removed]...
896
Matt Wilbur
bitbasher
Nov 12, 2011 5:44 pm
Anyone have advice on how to cope with stakeholders who will not provide feedback? I'm dealing with higher-ups who will most definitely have a fit if they...
897
Alan Dayley
alandond
Nov 12, 2011 5:53 pm
Stop working. No, really. Stop working. "We cannot continue increasing the risk that we are building something that does not suit your needs. We need direction...
898
Nancy Van Schooenderw...
nancyvanscho...
Nov 13, 2011 4:30 pm
Hi Matt, That's a classic, unfortunately. I've been in that situation and sometimes it's been helpful for me to make a small number of questions that I have...
899
Matt Wilbur
bitbasher
Nov 22, 2011 12:13 pm
How do practitioners of TDD in C/C++ feel about TDD'ing getters and setters? Especially if they are "simple" (i.e. void MyModule_setProperty( MyModule obj,...
900
James Grenning
jwgrenning
Nov 22, 2011 2:21 pm
Hi Matt They would be covered by tests, but not specific tests for getters and setters. If I needed the getters and setters at all, they would be covered in...
901
Matt Wilbur
bitbasher
Nov 22, 2011 2:42 pm
... That is a question I have asked myself. Here's my specific scenario: Duo the retarded nature of the i2c controller I'm using and the higher-level app...
902
Amir Kolsky
kolsky
Nov 22, 2011 3:47 pm
The getters and setters (and other the other methods or functions) are but a means to an end. They are building blocks used to the describe the behavior of the...
903
James Grenning
jwgrenning
Nov 22, 2011 4:09 pm
Does it work with the setter if you disregard the case of looping over all 127 addresses? Can you detect that? Is it for internal usage or will third parties...
904
Nancy Van Schooenderw...
nancyvanscho...
Dec 29, 2011 5:13 am
Have you ever considered giving a session at the Agile conference? It's a great way to share what you've learned the hard way, and to meet others who care...
905
James Grenning
jwgrenning
Mar 24, 2012 12:49 am
Hi If you are going to the embedded systems conference next week, contact me. I'm delivering 4 sessions ...
906
marktxx
Mar 31, 2012 3:26 pm
... How was the attendance? I assume by now most of the folks have heard the term Agile but probably less about TDD. My company not doing a lot of conferences...
907
Nancy Van Schooenderw...
nancyvanscho...
Apr 23, 2012 3:09 am
As many of you know, Llewellyn Falco and I are co-producing the "Development Practices and Craftsmanship" stage at Agile 2012 this year. The Agile conference...
908
Nancy Van Schooenderw...
nancyvanscho...
Apr 28, 2012 7:52 am
The theme of XP 2012 this year is "Agile by Design" and the conference is very focused on industrial applications of Agile ideas. James and I are both offering...
909
James Grenning
jwgrenning
May 14, 2012 8:20 pm
Hi I've posted some new articles recently. I'd love to get some discussions going TDD and the Real World http://www.renaissancesoftware.net/blog/archives/330 ...
910
Mr julian
jujulilianan
May 14, 2012 10:48 pm
Excellent! Looking forward to reading these soon....
911
marktxx
May 26, 2012 2:43 pm
... Here is C stubber script that I have used to help create fakes for RTOS files for unit testing in the past: ...
912
marktxx
May 26, 2012 3:08 pm
Miro Samek posted a reply here about use of a RTOS versus event driven (state machine) approach and TDD: <http://www.renaissancesoftware.net/blog/archives/288>...
913
Jeanne Petrangelo
jpetrangelo1
May 26, 2012 4:21 pm
I've enjoyed using Mike Long's Fake Function Framework. I wrote a perl script that uses regexes to read function declarations in a header file and generate fff...
914
Matt Wilbur
bitbasher
May 27, 2012 11:41 am
I'm much too ignorant of shell scripting to fully understand Mark Txx's stuff, but I thought I'd mention CMock in case anyone here hasn't used it. It creates...
915
Matt Wilbur
bitbasher
May 27, 2012 1:30 pm
Miro ported lwip to his stuff, but it may have used his pre-emptive engine. I've always liked his system, but can't use it a work because of the GPL (no way...
916
Greg Williams
willi297
May 27, 2012 1:43 pm
Thanks for the shout out for CMock Matt! CMock currently only supports mocks for C. I am currently doing C++ development work, and using GoogleTest and...