Services ▼
Training
Coaching and Consulting
Workshops
Contact ▼
Contact
Join our mailing list
About
Resources ▼
Blog
Papers and Presentation
-- Titles
-- Titles & Synopsis
Stories From the Field
What Developers Like about TDD
Join our mailing list
CppUTest
Testimonials
Attendee Feedback - Training
Attendee Feedback - Workshop
Attendee Preparation Replies
Attendee 1st impressions of TDD
Sign in
Editing contact
Show
|
All Contacts
Please provide your contact information
Your name *
Email address *
Company name
Company location
Company website
Office phone
Mobile phone
How did you find us? *
- Please choose -
Web search
Referred by a colleague
Referred by another company
Attended training by James Grenning
James Grenning's book on TDD
Read a paper or presentation by James
Saw James speak at a conference
Linked In
X.com
Link from James Blog
Link from another website
Other
What is your interest? *
- Please choose -
Test-Driven Development Training - Self-paced
Test-Driven Development Training - Self-paced - with Review Sessions
Test-Driven Development Training - Live on-site for my team
Test-Driven Development Training - Live on-line for my team
Test-Driven Development Training - Live on-line for me
Remote Delivered Legacy Code Workshop
Publicly offered Test-Driven Development Training
To talk to James to better understand why TDD is important
I want to get started with Agile for embedded
To invite you to speak at a company event
I want to submit a TDD experience story
I'm an alumni and would like access to video refresher materials
To report a problem with your website
I'm skilled at agile and TDD embedded and interested in teaching and coaching others
Other
What is your time frame? *
- Please choose -
Immediate
1-2 Months
3-6 months
Next year
Other
You can leave a detailed message here:
Hi James, Glen here, I attended your TDD training course in Eindhoven last year. I just have a query regarding testing static callback functions. My apologies if this is an incorrect form to contact you by. I am currently applying TDD to a new project which started this year. Our software is designed around timer callback functions. The class I am currently developing passes the address of a static callback function to the timer, then programs the timer. When the timer interrupts, the callback function is called. I have currently mocked out the timer. This is working fine. Where I am stuck is how to test the static callback function. 1) Since I am mocking out the timer, the callback wont occur. 2) Since the callback is static in the class under test, I cannot call it from my test file. Also the static callback function calls further static functions within the class under test. 3) I cannot stub out the callback with CMock because I cannot reference the static function in my test file. Any help with this problem would be much appreciated. I am currently using Unity and CMock tools with IAR Embedded Workbench. I am not developing on hardware. If you require more information please let me know Thanks James. Regards Glen
Remote delivery timezones
Number of people
Initial contact date
Next follow up date
Notes
Show
|
All Contacts