Changing parameters in classes

Hi,
I want to change compile time define parameters using run time testcases i.e i have a compile time define parameters in a separate .sv file which i include in pkg and now i want to change these parameters for every test i am running without recompilation(just like regression). i want to know is there any way to do that.

Thankyou