Abstract
Unit tests are viewed as a coding result of software developers. These unit tests are usually created by developers and implemented directly using specific language and unit testing framework. The existing unit test generation tools usually do the same thing – generate tests for specific language using a specific unit testing framework. Thus such a generator is suitable for only one programming language and unit testing framework. Another drawback of these generators – they use the software code as a source for generation mainly.
In this paper we present a tests generator model which could be able to generate unit tests for any language using any unit testing framework. It will be able to use not only software under test code, but the other artifacts, too: models, specifications.
This is a preview of subscription content, log in via an institution.
Buying options
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsReferences
Chandrasekhar, B., K. Sarfraz, and M. Darko, Korat: automated testing based on Java predicates, in Proceedings of the 2002 ACM SIGSOFT international symposium on Software testing and analysis. 2002, ACM Press: Roma, Italy.
Kim, S.K., L. Wildman, and R. Duke. A UML approach to the generation of test sequences for Java-based concurrent systems. In 2005 Australian Software Engineering Conference (ASWEC’05) 2005.
Kim, Y.G., H.S. Hong, D.H. Bae, and S.D. Cha, Test cases generation from UML state diagrams. IEE Proceedings on Software Engineering, 1999. 146(4): p. 187-192.
Kraas, A., M. Kruger, P. Aschenbrenner, M. Hudler, and Y. Lei. A Generic toolchain for model-based test generation and selection. In TESTCOM / FATES 2007 2007. Tallinn, Estonia.
Louridas, P., JUnit: unit testing and coding in tandem. Software, IEEE, 2005. 22(4): p. 12-15.
Packevičius Š., A. Ušaniov, and E. Bareiša. Creating unit tests using business rules. In Information Technologies’ 2008: 14th International Conference on Information and Software Technologies. 2008. Kaunas, Lithuania.
Packevičius Š., A. Ušaniov, and E. Bareiša, Using Models Constraints as Imprecise Software Test Oracles. Information Technology and Control, 2007..
Schmidt, D.C., Guest Editor’s Introduction: Model-Driven Engineering. Computer, 2006. 39(2): p. 25-31.
Willem, V., S.P. Corina, S. Reanu, and K. Sarfraz, Test input generation with java PathFinder, in Proceedings of the 2004 ACM SIGSOFT international symposium on Software testing and analysis. 2004, ACM Press: Boston, Massachusetts, USA.
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2010 Springer Science+Business Media B.V.
About this paper
Cite this paper
Packevičius, Š., Ušaniov, A., Bareiša, E. (2010). Platform Independent Unit Tests Generator. In: Elleithy, K. (eds) Advanced Techniques in Computing Sciences and Software Engineering. Springer, Dordrecht. https://doi.org/10.1007/978-90-481-3660-5_30
Download citation
DOI: https://doi.org/10.1007/978-90-481-3660-5_30
Published:
Publisher Name: Springer, Dordrecht
Print ISBN: 978-90-481-3659-9
Online ISBN: 978-90-481-3660-5
eBook Packages: Computer ScienceComputer Science (R0)