Skip to main content

Platform Independent Unit Tests Generator

  • Conference paper
  • First Online:
  • 2362 Accesses

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

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   169.00
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   219.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD   219.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

References

  1. 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.

    Google Scholar 

  2. 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.

    Google Scholar 

  3. 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.

    Article  Google Scholar 

  4. 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.

    Google Scholar 

  5. Louridas, P., JUnit: unit testing and coding in tandem. Software, IEEE, 2005. 22(4): p. 12-15.

    Article  Google Scholar 

  6. 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.

    Google Scholar 

  7. Packevičius Š., A. Ušaniov, and E. Bareiša, Using Models Constraints as Imprecise Software Test Oracles. Information Technology and Control, 2007..

    Google Scholar 

  8. Schmidt, D.C., Guest Editor’s Introduction: Model-Driven Engineering. Computer, 2006. 39(2): p. 25-31.

    Google Scholar 

  9. 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.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Šarūnas Packevičius .

Editor information

Editors and Affiliations

Rights and permissions

Reprints 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)

Publish with us

Policies and ethics