In the paper deterministic and random approaches to testing are analyzed. The advantages and disadvantages of both approaches are given. The use of pseudorandom test sequences as a combination of the advantages of deterministic and random approaches is considered. The connection between deterministic and random approaches to testing is shown