摘要
本文以ADO为模型,运用COM技术、多种模式方法及测试驱动,建立了SQL语言解释器。采用测试驱动开发的方法,设计测试用例,对客户端输入的命令判断加以区分,同时将测试结果的预测与实际结果的测试进行对比。
Taking ADO as a model, this paper established SQL language interpreter with COM technology, many model methods and test test - driven. With the method of test driven development, the test cases were designed to judge and distinguish the input order from client. The prediction of test results and the test of actual results were compared at the same time.