Methods for conducting unit tests in the C++14 standard using the GMOCK library
Article Sidebar
Open full text
Published:
Jun 30, 2019
Issue Vol. 11 (2019)
Articles
-
Efficiency of databases in Django-based applications
Bartosz Nejman, Beata Pańczyk82-85
-
Comparative analysis of web applications development using JEE and PHP
Sebastian Jędrych, Bartłomiej Jędruszak, Beata Pańczyk86-90
-
Study on applying the Cucumber tool in testing applications
Illia Herman, Małgorzata Plechawska-Wójcik91-95
-
Implementation of web applications supporting business management basing on companies in chosen geographic area
Mateusz Poniatowski, Elżbieta Miłosz96-100
-
Comparison of encryption algorithms performance on iOS platform
Jakub Tudruj, Piotr Kopniak101-105
-
The use of an electronic heart rate monitor and surround sound to interact with a user in VR
Patryk Plewa, Tomasz Szymczyk106-113
-
Using Kinect controller for interacting with user in VR
Przemysław Samoń, Tomasz Szymczyk114-118
-
Analysis of the differences between frameworks of native applications and cross-platform
Kinga Łobejko119-124
-
Comparison of PHP applications development using the Yii2 and Laravel examples
Olena Sydorchuk125-130
-
Methods for conducting unit tests in the C++14 standard using the GMOCK library
Kamil Strózik131-136
-
Comparison of the performance of scripting and compiled languages based on the operation of the genetic algorithm
Filip Dzikowski137-144
-
Comparison of single-page application development using Ember and React example
Jacek Wróbel145-148
-
Comparative analysis of selected programming issues requiring inter-process and inter-thread communication
Kamil Wróbel149-154
-
Analysis of the possibilities of cooperation of mobile applications with network services of the type REST and Web Service
Mateusz Daraż, Piotr Kopniak155-162
-
Analysis and evaluation of the implementation of information security policy in selected Polish and Ukrainian IT companies
Andriy Andriychuk163-166
Main Article Content
DOI
Authors
Kamil Strózik
Lublin University of Technology, Poland
Abstract
The article presents one of the problems encountered when using the C ++ 14 standard along with the Google Mock library. Based on
the introduced problem, possible solutions were discussed, as well as an improved scheme for the TDD approach was presented.
Keywords:
Unit tests; C 14; Google Mock; TDD;
References
[1] Stanisław Pietrow, https://pl.wikipedia.org/wiki/Stanis%C5%82aw_Pietrow . [10.01.2019]
[2] Northeast blackout of 2003, https://en.wikipedia.org/wiki/ Northeast_blackout_of_2003 [11.01.2019]
[3] Ganesan D., Lindvall M.: An analysis of unit tests of a flight software product line. Science of Computer Programming, Volume 78, 2013.
[4] żarousi Yusifoğlu V., Amannejad Y., Betin Can A.: Software test-code engineering: A systematic mapping. Information and Software Technology, Volume 58, 2015.
[5] Martin R. C.: The Clean Coder: a code of conduct for professional programmers. Pearson Education, 2011.
[6] Langr J.: Modern C++ Programming with Test-Driven Development. The Pragmatic Programmers, 2013.
[7] Beck K., Test Driven Development: By Example. AddisonWesley Professional, 2003.
[8] Latore R.: Effects of Developer Experience on Learning and Applying Unit Test-Driven Development. IEEE Transactions on Software Engineering, Volume 40, 2014.
[9] Runeson P.: A Survey of Unit Testing Practices. IEEE Software, volume 23, 2006.
[10] Shin Y., Choi Y., Lee W. J.: Integration testing through reusing representative unit test cases for high-confidence medical software. Computers in Biology and Medicine, Volume 43, 2013.
[11] Osherove R.: The art of Unit Testing Second Edition. Manning Publications Co., 2014.
[12] C++11 - the new ISO C++ standard, http://www.stroustrup.com/C++11FAQ.html, [11.01.2019]
[13] Josuttis N.: C++. Biblioteka standardowa. Podręcznik programisty. Wydanie II. Helion, 2014.
[14] Langr J.: Modern C++ Programming with Test-Driven Development. The Pragmatic Programmers, 2013.
[15] ISO/IEC JTC1 SC22 WG21 N4660. Programming Languages - C++.
[16] Langr J.: Modern C++ Programming with Test-Driven Development. The Pragmatic Programmers, 2013.
[17] Dokumentacja dla biblioteki Google Mock, https://github.com/google/googletest/blob/master/googlemock/docs/CookBook.md [19.01.2019]
[18] Dokumentacja dla skryptu gmock_gen.py, https://github.com/google/googletest/tree/master/googlemock/scripts/generator
[13.01.2019]
[19] Freeman E, Freeman E.: Head First Design Patterns. O’Reilly, 2004.
[2] Northeast blackout of 2003, https://en.wikipedia.org/wiki/ Northeast_blackout_of_2003 [11.01.2019]
[3] Ganesan D., Lindvall M.: An analysis of unit tests of a flight software product line. Science of Computer Programming, Volume 78, 2013.
[4] żarousi Yusifoğlu V., Amannejad Y., Betin Can A.: Software test-code engineering: A systematic mapping. Information and Software Technology, Volume 58, 2015.
[5] Martin R. C.: The Clean Coder: a code of conduct for professional programmers. Pearson Education, 2011.
[6] Langr J.: Modern C++ Programming with Test-Driven Development. The Pragmatic Programmers, 2013.
[7] Beck K., Test Driven Development: By Example. AddisonWesley Professional, 2003.
[8] Latore R.: Effects of Developer Experience on Learning and Applying Unit Test-Driven Development. IEEE Transactions on Software Engineering, Volume 40, 2014.
[9] Runeson P.: A Survey of Unit Testing Practices. IEEE Software, volume 23, 2006.
[10] Shin Y., Choi Y., Lee W. J.: Integration testing through reusing representative unit test cases for high-confidence medical software. Computers in Biology and Medicine, Volume 43, 2013.
[11] Osherove R.: The art of Unit Testing Second Edition. Manning Publications Co., 2014.
[12] C++11 - the new ISO C++ standard, http://www.stroustrup.com/C++11FAQ.html, [11.01.2019]
[13] Josuttis N.: C++. Biblioteka standardowa. Podręcznik programisty. Wydanie II. Helion, 2014.
[14] Langr J.: Modern C++ Programming with Test-Driven Development. The Pragmatic Programmers, 2013.
[15] ISO/IEC JTC1 SC22 WG21 N4660. Programming Languages - C++.
[16] Langr J.: Modern C++ Programming with Test-Driven Development. The Pragmatic Programmers, 2013.
[17] Dokumentacja dla biblioteki Google Mock, https://github.com/google/googletest/blob/master/googlemock/docs/CookBook.md [19.01.2019]
[18] Dokumentacja dla skryptu gmock_gen.py, https://github.com/google/googletest/tree/master/googlemock/scripts/generator
[13.01.2019]
[19] Freeman E, Freeman E.: Head First Design Patterns. O’Reilly, 2004.
Article Details
Abstract views: 237
License

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
