Hi Dhyaa,
Firstly, in the case of a 'new' well; pressure testing can be done up to a reasonable percentage of the working pressure, given considerations to (i) WP's of both joint type and pipe body, (ii) the type and maximum pressures to which the pipe will be subjected to in it's lifetime, and (iii) surface equipment. eg, is it an injector, a producer, oil and/or gas, on pump or exposed to reservoir pressures, HP or LP, will it be fractured, and so on. Provided pressures don't exceed a prescribed % of the yield strength of pipe or joint, should be fine, ie, no theoretical damage to pipe.
The qualifier to this however: applying pressure to the string will of course tend to expand slightly, hence potentially causing a micro-annulus, or worsening an existing one, with associated problems later.
In the case of an existing well, the entire workover program should include all of the above, but additionally add considerations to several ore things, such as…
(i) the production (or injection) history of the well, including such factors as corrosion, pressure & thermal cycling.
(ii) if the well is being "re-purposed" (for example, conversion from producer to injector, or re-completed in a new zone), consider all the factors for a new well along with those for re-entry, use those which apply most conservatively.
(iii) the age of the well, including any issues noted during production/injection, leaks, pressure anomalies, presence of scales or asphaltenes that may affect P-test results, and so on.
(iv) if any corrosion is suspected, consider de-rating the string – hence also lowering the pressure test to something less than 70%, that will avoid irreparable damage to the string. This of course assumes no need for this much pressure under the wells 'new' condition.
As noted by others, there are means to evaluate the casing condition if it's at all questionable.
This may not answer your question directly but will hopefully provide some food for thought in arriving at a path forward.
Good luck….
------------------------------
Scott Myers
------------------------------