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 597967
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T16:20:17+00:00 2026-05-13T16:20:17+00:00

I’m developing cross-platform project that would support : Four C++ compilers – GCC, MSVC,

  • 0

I’m developing cross-platform project that would support :

  • Four C++ compilers – GCC, MSVC, SunStudio, Intel,
  • Five Operating Systems: Linux, OpenSolaris, FreeBSD, Windows, Mac OS X.

I totally understand that without proper unit testing there is no chance to perform proper QA on all these platforms.

However, as you all know writing unit tests is extremely boring and slow down development process (because it is boring and development of FOSS software shouldn’t be such)

How do you manage to write good unit-testing code and not stop writing code.

If you at least get salary for this, you can say – at least I get something for this, but if you don’t, this is much harder!

Clarification:

I understand that TDD should be the key, but TDD has following very strict restrictions:

  1. You have exact specifications.
  2. You have fully defined API.

This is true for project that is developed in customer-provider style, but it can’t be done for project that evolves.

Sometimes to decide what feature do I need, I have to create something and understand if it works well, if API is suitable and helps me or it is ugly and does not satisfy me.

I see the development process more like evolution, less development according to specifications. Because when I begin implementing some feature, sometimes I do not know if
it would work well and what model would it use.

This is quite different style of development that contradicts TDD.

On the other hand, support of wide range of systems requires unit tests to make sure that
existing code works on various platform and if I want to support new one I only need to
compile the code and run tests.

  • 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-05-13T16:20:18+00:00Added an answer on May 13, 2026 at 4:20 pm

    Personally, I don’t find testing boring. It’s the first time I get to see my code actually run and find out whether it works or not!

    Without some form of test program to run the new code directly, I wouldn’t get to see it run until after I’ve built a user interface and wired it all together to make the new bits available through the UI and then, when it doesn’t work the first time, I have to try to debug the new code, plus the UI, plus the glue that holds them together and dear god, I don’t even know what layer the bug is in, never mind trying to identify the actual offending code. And even that much is assuming I still remember what I was working on before I went off on an excursion into UI-land.

    A proper test harness bypasses all that and lets me just call the new code, localize any bugs to the tested section of code so they can be found quickly and fixed easily, see that it produces the right results, get my “it works!” rush, and move on to the next bit of code and my next rush of reward as quickly as possible.

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

Sidebar

Ask A Question

Stats

  • Questions 311k
  • Answers 311k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer You should store the layout that the user has chosen… May 13, 2026 at 10:17 pm
  • Editorial Team
    Editorial Team added an answer Either the SMTP server "smtp" is available from your second… May 13, 2026 at 10:17 pm
  • Editorial Team
    Editorial Team added an answer See this code: <?php echo "1"; echo chr(8); echo "2";… May 13, 2026 at 10:17 pm

Related Questions

I'm trying to decode HTML entries from here NYTimes.com and I cannot figure out
I want use html5's new tag to play a wav file (currently only supported
I ran into a problem. Wrote the following code snippet: teksti = teksti.Trim() teksti
I've got a string that has curly quotes in it. I'd like to replace
In order to apply a triggered animation to all ToolTip s in my app,

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.