I don't think there are any requirements listed for a pre installation test, but normally the idea is that you've tested the pipe to at least the same pressure it well see in a hydrotest. How long? A mill test is sometimes a short as 10 seconds so anything longer than that would be better.....
Yourr question is a bit vague so that's the best I can offer at the moment.
Remember - More details = better answers
Also: If you get a response it's polite to respond to it.