View previous topic :: View next topic |
Author |
Message |
John-Silver
Joined: 30 Jul 2013 Posts: 1520 Location: Aerospace Valley
|
Posted: Wed Oct 26, 2016 3:43 am Post subject: |
|
|
I'm sure a lot of pčeople are wondering what you actually mean by 'unit test' ? |
|
Back to top |
|
|
JohnCampbell
Joined: 16 Feb 2006 Posts: 2554 Location: Sydney
|
Posted: Wed Oct 26, 2016 8:24 am Post subject: |
|
|
You say you have some experience with unit tests in C# and C++, so you should have some understanding of what you are asking.
I am really puzzled as to what sort of answers to this question you were expecting, given you describe the program as a huge piece of code developed in Fortran 77, presumably quite old.
If you intend to break up the code into smaller units and define some performance requirement for each part, devise sufficient input tests (in isolation?) and then validate the output, the most plausible insight may not be appreciated ! |
|
Back to top |
|
|
JohnCampbell
Joined: 16 Feb 2006 Posts: 2554 Location: Sydney
|
Posted: Wed Oct 26, 2016 8:59 am Post subject: |
|
|
I would find it difficult to believe the task is as simple as you propose.
I would expect that the development of the "huge piece of code developed in fortran 77" would have involved considerable testing and adaptation over the years to get to where it is now.
To approach any realistic form of sign-off would involve replicating the testing process that occurred during that development.
If you have a legal requirement for this, it sounds like a huge task, especially for defining the range of testing that would be required..
Without knowing the field of analysis, a more likely alternative, is to treat the whole package as a unit and the testing may be via a (previously) developed set of sample data sets and published answers.
Given the changes to numerical precision (eg "old hardware or PC 80 bit vs 64 bit" or "serial vs vector or parallel") there will be noticeable differences in results, which will need to be assessed as reasonable difference vs unacceptable.
Acceptance testing for this might be very different to your past experience, given the way you have framed the question. |
|
Back to top |
|
|
|