continuous integration - Unit Tests on a 32bit/64bit Application -


We have an application that now has a 64 bit goal, as well as the old 32 bit target. My question relates to our unit test. Should we compile and run our unit test in both of them? Is there any chance that we will find fault in this way? If the difference between 32-bit language has been highlighted, then do I have to be very crazy?

  1. and 64-bit mode, of course you two-unit testing needed. This will take less than twice the time compared to human resources compared to testing only one platform, so this is a deal :)

  2. If your language is 32- and 64-bit (say, you only have an unlimited integer in that language), you can still test both platform units. You will find bugs in the platform-dependent implementation of your platform-independent language, or make sure there is no one who influences your code, and in this case the additional cost of the second set of tests is zero, the same things Are the same for the first.

Edit: Think of the matter again 1, you should write your code so that it will give the same result on both platforms even if your language is 32 - And the difference between 64-bit is highlighted. In this case again, there are similar things for the series of both tests.


Comments

Popular posts from this blog

oracle - The fastest way to check if some records in a database table? -

php - multilevel menu with multilevel array -

jQuery UI: Datepicker month format -