Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7984879
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T11:24:37+00:00 2026-06-04T11:24:37+00:00

I am working on a project where development and target environments are quite different.

  • 0

I am working on a project where development and target environments are quite different. Target environment has different peripherals, IO cards etc and my project makes use of these peripherals very often. Whereas my development environment is lacking these peripherals. Therefore unit testing on my development box is useless most of the time.

I am using Eclipse CDT and remote debugging plugin and I am debugging over the network, I want to make better use of unit testing and based on the above facts I am wondering what my best option is. So far I’ve been writing test programs for every new feature that I add and I test it with remote debugging, it seems like an inefficient way of testing since it takes a lot of time to write tests and perform tests.

Any suggestions?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T11:24:39+00:00Added an answer on June 4, 2026 at 11:24 am

    In this environment it’s quite difficult to do without expensive tools. I think the best solution is to write test programs as you have done, but combine them all into a single program you can launch once and have it run all the tests without manual intervention. I use the Boost Test library for this.

    The real key is figuring out how to write your tests so that they can self-check. You don’t want your test code to do something that requires you to manually verify the result. This may mean having a second program running elsewhere which monitors the output from the target environment’s peripherals and complains if it doesn’t match what the test code is supposed to be sending. Tests are after all meant to verify correctness, not just prove that something doesn’t crash.

    And of course tests need to be written intelligently too. If you are designing a communication protocol and a network driver, you might need remote test code to confirm the correct bytes are being sent out of the network port, but you don’t need this to test your communication protocol. The test code can create a virtual network device and run the protocol tests over that (which could even run in your dev environment), so you should be able to test everything except hardware drivers locally in the development environment.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

When working on an agile development project, how do you incorporate into the estimation
Situation I have been working on a project lately where the UI development seems
Im working on a school project and it's my first time on android development.
I am working on an Android project using C++ for the main development and
I'm working on a very large project with three phases of source code. Development
I'm working on a web development project where i need to take care of
I'm working on a web development project usng PNG transparency, CSS3 and all the
I've got a django project working on a development server(ubuntu) that we have been
All, I have a 20 member dev team working on a development project. To
I am currently working locally (myhostname.local) to begin a development project in CodeIgniter and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.