Inference and Abstraction of the Biometric Passport
Model-based testing is a promising software testing technique for the automation of test generation and test execution. One obstacle to its adoption is the difficulty of developing models. Learning techniques provide tools to automatically derive automata-based models. Automation is obtained at the cost of time and unreadability of the models. We propose an abstraction technique to reduce the alphabet and large data sets. Our idea is to extract a priori knowledge about the teacher and use this knowledge to define equivalence classes. The latter are then used to define a new and reduced alphabet. The a priori knowledge can be obtained from informal documentation or requirements. We formally prove soundness of our approach. We demonstrate the practical feasibility of our technique by learning a model of the new biometric passport. Our automatically learned model is of comparable size and complexity of a previous model manually developed in the context of testing a passport implementation. Our model can be learned within one hour and slightly refines the previous model.
KeywordsLabel Transition System Input Symbol Membership Query Output Symbol Equivalence Query
Unable to display preview. Download preview PDF.
- 1.Aarts, F.: Inference and Abstraction of Communication Protocols. Master’s thesis, Radboud University Nijmegen and Uppsala University (2009)Google Scholar
- 2.Aarts, F., Jonsson, B., Uijen, J.: Generating Models of Infinite-State Communication Protocols using Regular Inference with Abstraction. In: Proceedings ICTSS 2010, 22nd IFIP International Conference on Testing Software and Systems (2010)Google Scholar
- 3.Aarts, F., Vaandrager, F.: Learning I/O Automata. In: Proceedings CONCUR 2010, 21th International Conference on Concurrency Theory, pp. 71–85 (2010)Google Scholar
- 6.BSI. Advanced security mechanisms for machine readable travel documents - extended access control (eac) - version 1.11. Technical Report TR-03110, German Federal Office for Information Security (BSI), Bonn, Germany (2008)Google Scholar
- 9.de Alfaro, L., Henzinger, T.A.: Interface automata. In: Gruhn, V. (ed.) Proceedings of the Joint 8th European Software Engineering Conference and 9th ACM SIGSOFT Symposium on the Foundation of Software Engineering (ESEC/FSE- 2001). Software Engineering Notes, vol. 26, pp. 109–120. ACM Press, New York (September 2001)Google Scholar
- 10.ICAO. Doc 9303 - machine readable travel documents - part 1-2. Technical report, International Civil Aviation Organization, 6th edn. (2006)Google Scholar
- 14.Niese, O.: An integrated approach to testing complex systems. Technical report, Dortmund University, Doctoral thesis (2003)Google Scholar
- 15.Raffelt, H., Steffen, B., Berg, T.: Learnlib: a library for automata learning and experimentation. In: FMICS 2005: Proceedings of the 10th International Workshop on Formal Methods for Industrial Critical Systems, pp. 62–71. ACM Press, New York (2005)Google Scholar
- 18.Tretmans, J., Brinksma, H.: TorX: Automated model-based testing. In: Hartman, A., Dussa-Ziegler, K. (eds.) First European Conference on Model-Driven Software Engineering, pp. 31–43 (December 2003)Google Scholar