Skip to main content

Unit Testing in Global Software Development Environment

  • Conference paper
  • First Online:
Data Science and Analytics (REDSET 2017)

Abstract

Global software development has many challenges. Amongst them maintaining quality in the code developed in distributed sites is also a challenge. One of effective way to control the quality of the code is the unit testing. It removes defects at the early stage of development and further reduces the testing and maintenance efforts at the later phase of the development lifecycle. In this paper, a class complexity metric for testing the class, which is normally treated as a unit in object-oriented programming is proposed. The applicability of class complexity metrics for unit testing is demonstrated through a project in JAVA.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight 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

Institutional subscriptions

References

  1. Cammarano, B.: Geographically distributed development with the IBM software development platform: a unified life cycle approach. In: Global Communication, Global Development, Global Success, Rational Software IBM, pp. 1–19 (2004)

    Google Scholar 

  2. Anschuetz, L.: Managing geographically distributed team. In: Proceedings of the IEEE IPCC 1998, pp. 1–10 (1998)

    Google Scholar 

  3. Ambler, S.W.: Agile strategies for geographically distributed quality management. Agile J. 1–4 (2007)

    Google Scholar 

  4. Richardson, I., Casey, V., Zage, D., Zage, W.: Global Software development – the challenges (2004). www.serc.net/report/tr278.pdf

  5. Wade, K.: Successfully managing geographically distributed development. In: Rational Software IBM, pp. 1–12, August 2004

    Google Scholar 

  6. Boehm, B.: Software Engineering Economics. Prentice Hall, Englewood Cliffs (1981)

    MATH  Google Scholar 

  7. Misra, S., Akman, I.: Weighted class complexity: a measure of complexity for object-oriented system. J. Inf. Sci. Eng. 24, 1689–1708 (2008)

    Google Scholar 

  8. Costagliola, G., Tortora, G.: Class points: an approach for the size estimation of object-oriented systems. IEEE Trans. Soft. Eng. 31, 52–74 (2005)

    Article  Google Scholar 

  9. Chidamber, S.R., Kermer, C.F.: A metric suite for object oriented design. IEEE Trans. Softw. Eng. 20(6), 476–493 (1994)

    Article  Google Scholar 

  10. Kim, K., Shin, Y., Wu, C.: Complexity measures for object-oriented program based on the entropy. In: Proceedings of APSEC, pp. 127–136 (1995)

    Google Scholar 

  11. Binder, R.V.: Object-oriented software testing. CACM 37(9), 29 (1994)

    Google Scholar 

  12. Basily, V.R., Briand, L.C., Melo, W.L.: A validation of object oriented design metrics as quality indicators. IEEE Trans. Softw. Eng. 22(1), 751–761 (1996)

    Article  Google Scholar 

  13. Misra, S.: A metric for global software development environments. Proc. Indian Nat. Sci. Acad. 75(4), 145–158 (2009)

    Google Scholar 

  14. Wang, Y., Shao, J.: A new measure of software complexity based on cognitive weights. Can. J. Electr. Comput. Eng. 28(2), 69–74 (2003)

    Article  Google Scholar 

  15. http://cspeople.bu.edu/dgs/courses/cs111/lectures/inheritance/vehicles/

  16. Weyuker, E.: Evaluating software complexity measures. IEEE Trans. Softw. Eng. 14, 1357–1365 (1988)

    Article  MathSciNet  Google Scholar 

  17. Briand, L.C., Morasca, S., Basily, V.R.: Property based software engineering measurement. IEEE Trans. Softw. Eng. 22, 68–86 (1996)

    Article  Google Scholar 

  18. Kaner, C.: Software engineering metrics: what do they measure and how do we know? In: Proceedings of 10th International Software Metrics Symposium, Metrics (2004)

    Google Scholar 

  19. McCabe, T.J.: A complexity measure. IEEE Trans. Softw. Eng. 2(6), 308–320 (1976)

    Article  MathSciNet  Google Scholar 

  20. Halstead, M.H.: Elements of Software Science. Elsevier North-Holland, New York (1997)

    MATH  Google Scholar 

  21. Mackinnon, T., Freeman, S., Craig, P.: Endo-testing: unit testing with mock objects. In: Succi, G., Marchesi, M. (eds.) Extreme Programming Examined, pp. 287–302. Addison Wesley Longman, Reading (2001). chapter 17

    Google Scholar 

  22. Cheon, Y., Leavens, Gary T.: A simple and practical approach to unit testing: the JML and JUnit way. In: Magnusson, B. (ed.) ECOOP 2002. LNCS, vol. 2374, pp. 231–255. Springer, Heidelberg (2002). https://doi.org/10.1007/3-540-47993-7_10

    Chapter  Google Scholar 

  23. Link, J., Fröhlich, P.: Unit testing in Java: how tests drive the code. Morgan Kaufmann, Los Altos (2003)

    Chapter  Google Scholar 

  24. Fiedler, S.P.: Object-oriented unit testing-HP’s Waltham div-technical, pp. 69–74. Hewlett-Packard J. (1989)

    Google Scholar 

  25. Hunt, A., Thomos, D, Hargett, M.: Pragematic unit test in C# with NUnit. The PragmaticBookself, USA. ISBN-13 978-0-9776166-7-4

    Google Scholar 

Download references

Acknowledgements

We acknowledge the support and sponsorship provided by Covenant University through the Centre for Research, Innovation and Discovery (CUCRID).

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Sanjay Misra .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2018 Springer Nature Singapore Pte Ltd.

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Misra, S., Adewumi, A., Maskeliūnas, R., Damaševičius, R., Cafer, F. (2018). Unit Testing in Global Software Development Environment. In: Panda, B., Sharma, S., Roy, N. (eds) Data Science and Analytics. REDSET 2017. Communications in Computer and Information Science, vol 799. Springer, Singapore. https://doi.org/10.1007/978-981-10-8527-7_25

Download citation

  • DOI: https://doi.org/10.1007/978-981-10-8527-7_25

  • Published:

  • Publisher Name: Springer, Singapore

  • Print ISBN: 978-981-10-8526-0

  • Online ISBN: 978-981-10-8527-7

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics