This paper focuses on the process of generating test suites for conformance testing. It aims to formalize the stages that go from a formal specification, through test purpose definition, into a test suite. We shall provide a language to formalize test purposes, and an algorithm that permits to merge the reference specification, plus the test purposes, to yield a test suite, that is classified according to purposes and is guaranteed to be correct and complete with respect to the reference specification, for the desired test purposes. The automation of these stages by means of tools will permit an easier maintenance of the test suite throughout product life cycle, keeping the test consistent to the evolution of the specification, and still classified according to purposes. Human work is limited to the identification of test purposes, and there is no room for errors in the test suite.