I'm wondering is there any way I can generate custom ranged random testcases to check my code?

I heard of spoj generator but I’m not able to utilize it.