Sjoerd, I am having trouble reproducing your problem.
Here is what I did: I went into Toad and opened up the following edit windows:
- Definition of betwnstr function
- Test package spec and body
I ran 1, then 2. In the Test Dashboard, the test definition for BETWNSTR is now marked “out of date”.
I then ran this block of code to run my test:
qu_test.run_test_for2 (owner_in => USER
, NAME_IN => ‘BETWNSTR’
, result_out => l_result
, results_out => my_results
, unit_test_guid_list_in => NULL
, test_case_guid_list_in => NULL
, delimiter_in => NULL
DBMS_OUTPUT.put_line ('Overall result of test: ’ || l_result);
EXIT WHEN my_results%NOTFOUND;
DBMS_OUTPUT.put_line ( RPAD (' ', l_result_row.h_level * 2)
|| ' '
|| '-Status: '
|| '-Description: '
And it ran the test. I can see the results. So in my installation (1.5), the fact that the test def is marked as out of date does NOT stop the test from running. I think that maybe something else is going on.
Do any thoughts come to mind or could you explain in more (sorry, boring!) detail exactly what steps you take?