Here is a few simply test you can do even if you have no mechanical knowledge about automobiles.The same priciple applys for strut suspension.
1}Push your weight down on the front or rear fender and release .The vehicle should bounce up and settle down.If it continues to bounce the shocks are worn out.
2)Drive over a small bump at speed(@20 mph) and the wheel should lift to it and settle down without a thud.(the thud is the rubber snubber)
3)At 60 mph the vehicle should rise and fall quickly over a dip,then stabilize itself after 2 rebounds.If it does not the vehicle will feel like it is floating and this makes the steering very unstable.
4)On rough roads does your vehicle shake and vibrate after you go a short distance?Well if it does,it is because the oil in the shock is overheating and starting to foam.That problem can be corrected with a nitrogen gas shock.
5)The last is to look at the shock or strut and see if it is leaking oil,if so it has no compression or rebound.
If your vehicle failed any of these tests either the shocks are worn out