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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
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)
Anschuetz, L.: Managing geographically distributed team. In: Proceedings of the IEEE IPCC 1998, pp. 1–10 (1998)
Ambler, S.W.: Agile strategies for geographically distributed quality management. Agile J. 1–4 (2007)
Richardson, I., Casey, V., Zage, D., Zage, W.: Global Software development – the challenges (2004). www.serc.net/report/tr278.pdf
Wade, K.: Successfully managing geographically distributed development. In: Rational Software IBM, pp. 1–12, August 2004
Boehm, B.: Software Engineering Economics. Prentice Hall, Englewood Cliffs (1981)
Misra, S., Akman, I.: Weighted class complexity: a measure of complexity for object-oriented system. J. Inf. Sci. Eng. 24, 1689–1708 (2008)
Costagliola, G., Tortora, G.: Class points: an approach for the size estimation of object-oriented systems. IEEE Trans. Soft. Eng. 31, 52–74 (2005)
Chidamber, S.R., Kermer, C.F.: A metric suite for object oriented design. IEEE Trans. Softw. Eng. 20(6), 476–493 (1994)
Kim, K., Shin, Y., Wu, C.: Complexity measures for object-oriented program based on the entropy. In: Proceedings of APSEC, pp. 127–136 (1995)
Binder, R.V.: Object-oriented software testing. CACM 37(9), 29 (1994)
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)
Misra, S.: A metric for global software development environments. Proc. Indian Nat. Sci. Acad. 75(4), 145–158 (2009)
Wang, Y., Shao, J.: A new measure of software complexity based on cognitive weights. Can. J. Electr. Comput. Eng. 28(2), 69–74 (2003)
http://cspeople.bu.edu/dgs/courses/cs111/lectures/inheritance/vehicles/
Weyuker, E.: Evaluating software complexity measures. IEEE Trans. Softw. Eng. 14, 1357–1365 (1988)
Briand, L.C., Morasca, S., Basily, V.R.: Property based software engineering measurement. IEEE Trans. Softw. Eng. 22, 68–86 (1996)
Kaner, C.: Software engineering metrics: what do they measure and how do we know? In: Proceedings of 10th International Software Metrics Symposium, Metrics (2004)
McCabe, T.J.: A complexity measure. IEEE Trans. Softw. Eng. 2(6), 308–320 (1976)
Halstead, M.H.: Elements of Software Science. Elsevier North-Holland, New York (1997)
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
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
Link, J., Fröhlich, P.: Unit testing in Java: how tests drive the code. Morgan Kaufmann, Los Altos (2003)
Fiedler, S.P.: Object-oriented unit testing-HP’s Waltham div-technical, pp. 69–74. Hewlett-Packard J. (1989)
Hunt, A., Thomos, D, Hargett, M.: Pragematic unit test in C# with NUnit. The PragmaticBookself, USA. ISBN-13 978-0-9776166-7-4
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
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2018 Springer Nature Singapore Pte Ltd.
About this paper
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)