Skip to main content
Top
Published in: Arabian Journal for Science and Engineering 2/2022

30-09-2021 | Research Article-Computer Engineering and Computer Science

A Two-stage Method of Synchronization Prediction Framework in TDD

Authors: Chao-Hsien Hsieh, Ziyi Wang

Published in: Arabian Journal for Science and Engineering | Issue 2/2022

Log in

Activate our intelligent search to find suitable subject content or patents.

search-config
loading …

Abstract

Test-driven development (TDD) is an agile development technology that involves the running of many test cases. The software is likely to be more robust when more test cases are executed in a certain time. For this, it is important to find the combination of number of threads and test cases which can lead to the lowest average running time of a single test case aiming at different computers. It can improve the performance of TDD. Therefore, this paper proposed a method for this problem. First, it tests the three-dimensional raw data in computers with different cores. Second, these data are changed into two-dimensional data after dimensionality reduction. This facilitates the generation of fitting functions. Also, the fitting function of new data waiting for prediction is generated after dimensionality reduction. At last, similarity calculations between the fitting functions of raw and new data are carried out by using Euclidean distance similarity algorithms. Experimental results show that data based on dual-core computer have higher similarities with four new data, such as 81.25%, 100%, 81.25%, and 100%. Thus, the data of dual-core computer have higher reference credibility in predicting the average running time of a single test case of the new data for different computers. In summary, the performance of TDD can be improved after applying the proposed method.

Dont have a licence yet? Then find out more about our products and how to get one now:

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Springer Professional "Technik"

Online-Abonnement

Mit Springer Professional "Technik" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 390 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Maschinenbau + Werkstoffe




 

Jetzt Wissensvorsprung sichern!

Literature
1.
go back to reference Fucci, D.; Erdogmus, H.; Turhan, B.; Oivo, M.; Juristo, N.: A dissection of the test-driven development process: does it really matter to test-first or to test-last. IEEE Trans. Softw. Eng. 43(7), 1–18 (2018) Fucci, D.; Erdogmus, H.; Turhan, B.; Oivo, M.; Juristo, N.: A dissection of the test-driven development process: does it really matter to test-first or to test-last. IEEE Trans. Softw. Eng. 43(7), 1–18 (2018)
2.
go back to reference Amrit, C.; Meijberg, Y.: Effectiveness of test driven development and continuous integration – a case study. IT Prof. 20(1), 27–35 (2018)CrossRef Amrit, C.; Meijberg, Y.: Effectiveness of test driven development and continuous integration – a case study. IT Prof. 20(1), 27–35 (2018)CrossRef
3.
go back to reference Romano, S.; Fucci, D.; Scanniello, G.; Turhan, B.; Juristo, N.: Findings from a multi-method study on test-driven development. Inf. Softw. Technol. 89, 64–77 (2017)CrossRef Romano, S.; Fucci, D.; Scanniello, G.; Turhan, B.; Juristo, N.: Findings from a multi-method study on test-driven development. Inf. Softw. Technol. 89, 64–77 (2017)CrossRef
4.
go back to reference Bissi, W.; Neto, A.G.S.S.; Emer, M.C.F.P.: The effects of test driven development on internal quality, external quality and productivity: a systematic review. Inf. Softw. Technol. 74, 45–54 (2016)CrossRef Bissi, W.; Neto, A.G.S.S.; Emer, M.C.F.P.: The effects of test driven development on internal quality, external quality and productivity: a systematic review. Inf. Softw. Technol. 74, 45–54 (2016)CrossRef
5.
go back to reference Fucci, D.; Turhan, B.; Juristo, N.; Dieste, O.; Misirli, A.; Oivo, M.: Towards an operationalization of test-driven development skills: an industrial empirical study. Inf. Softw. Technol. 68, 82–97 (2015)CrossRef Fucci, D.; Turhan, B.; Juristo, N.; Dieste, O.; Misirli, A.; Oivo, M.: Towards an operationalization of test-driven development skills: an industrial empirical study. Inf. Softw. Technol. 68, 82–97 (2015)CrossRef
6.
go back to reference Karac, I.; Turhan, B.; Juristo, N.: A controlled experiment with novice developers on the impact of task description granularity on software quality in test-driven development. IEEE Trans. Softw. Eng. 14(8), 1–16 (2019) Karac, I.; Turhan, B.; Juristo, N.: A controlled experiment with novice developers on the impact of task description granularity on software quality in test-driven development. IEEE Trans. Softw. Eng. 14(8), 1–16 (2019)
8.
go back to reference Borle, N.; Feghhi, M.; Stroulia, E.; Greiner, R.; Hindle, A.: Analyzing the effects of test driven development in github. In: Proceedings of the 40th International Conference on Software Engineering, pp. 1–28 (2018) Borle, N.; Feghhi, M.; Stroulia, E.; Greiner, R.; Hindle, A.: Analyzing the effects of test driven development in github. In: Proceedings of the 40th International Conference on Software Engineering, pp. 1–28 (2018)
9.
go back to reference Maria, B.; Danilo, C.; Davide, F.; Natalia, J.; Simone, R.; Giuseppe, S.; Burak, T.: Studying test-driven development and its retainment over a six-month time span. J. Syst. Softw. 176, 110937 (2021)CrossRef Maria, B.; Danilo, C.; Davide, F.; Natalia, J.; Simone, R.; Giuseppe, S.; Burak, T.: Studying test-driven development and its retainment over a six-month time span. J. Syst. Softw. 176, 110937 (2021)CrossRef
10.
go back to reference Nanthaamornphong, A.; Carver, J.: Test-driven development in scientific software: a survey. Softw. Qual. J. 25, 343–372 (2017)CrossRef Nanthaamornphong, A.; Carver, J.: Test-driven development in scientific software: a survey. Softw. Qual. J. 25, 343–372 (2017)CrossRef
13.
go back to reference Maier, P.; Kleeberger, V.; Mueller-Gritschneder, D.; Schlichtmann, U.: Fault injection for test-driven development of robust SoC firmware. ACM Trans. Embed. Comput. Syst. 17, 1–26 (2018)CrossRef Maier, P.; Kleeberger, V.; Mueller-Gritschneder, D.; Schlichtmann, U.: Fault injection for test-driven development of robust SoC firmware. ACM Trans. Embed. Comput. Syst. 17, 1–26 (2018)CrossRef
14.
go back to reference Bhadauria, V.; Mahapatra, R.; Nerur, S.: Performance outcomes of test-driven development: an experimental investigation. J. Assoc. Inf. Syst. 21, 1045–1071 (2020) Bhadauria, V.; Mahapatra, R.; Nerur, S.: Performance outcomes of test-driven development: an experimental investigation. J. Assoc. Inf. Syst. 21, 1045–1071 (2020)
16.
go back to reference Onggo, B.; Karatas, M.: Test-driven simulation modelling: a case study using agent-based maritime search-operation simulation. Eur. J. Oper. Res. 254(2), 517–531 (2016)CrossRef Onggo, B.; Karatas, M.: Test-driven simulation modelling: a case study using agent-based maritime search-operation simulation. Eur. J. Oper. Res. 254(2), 517–531 (2016)CrossRef
17.
go back to reference Roman, A.; Mnich, M.: Test-driven development with mutation testing–an experimental study. Softw. Qual. J. 29, 1–38 (2020)CrossRef Roman, A.; Mnich, M.: Test-driven development with mutation testing–an experimental study. Softw. Qual. J. 29, 1–38 (2020)CrossRef
18.
go back to reference Lee, J.; Kim, D.; Hee, K.: Suggestion of RE and TDD-based V&V development process for scientific software implementation. J. Inst. Internet, Broadcast. Commun. 21, 79–88 (2021) Lee, J.; Kim, D.; Hee, K.: Suggestion of RE and TDD-based V&V development process for scientific software implementation. J. Inst. Internet, Broadcast. Commun. 21, 79–88 (2021)
19.
go back to reference Cardarilli, G.; Nunzio, L.; Fazzolari, R.; Nannarelli, A.; Re, M.; Spanò, S.: N-Dimensional approximation of euclidean distance. IEEE Trans. Circuits Syst. II Express Briefs 67(3), 565–569 (2019)CrossRef Cardarilli, G.; Nunzio, L.; Fazzolari, R.; Nannarelli, A.; Re, M.; Spanò, S.: N-Dimensional approximation of euclidean distance. IEEE Trans. Circuits Syst. II Express Briefs 67(3), 565–569 (2019)CrossRef
20.
go back to reference Yang, J.; Ruan, C.: Hesitant fuzzy correlation measures considering the credibility. In: Proceedings of International Conference on Oriental Thinking and Fuzzy Logic, pp. 77–87 (2016) Yang, J.; Ruan, C.: Hesitant fuzzy correlation measures considering the credibility. In: Proceedings of International Conference on Oriental Thinking and Fuzzy Logic, pp. 77–87 (2016)
21.
go back to reference Bernerth, J.; Aguinis, H.: A critical review and best-practice recommendations for control variable usage. Pers. Psychol. 69, 229–283 (2016)CrossRef Bernerth, J.; Aguinis, H.: A critical review and best-practice recommendations for control variable usage. Pers. Psychol. 69, 229–283 (2016)CrossRef
Metadata
Title
A Two-stage Method of Synchronization Prediction Framework in TDD
Authors
Chao-Hsien Hsieh
Ziyi Wang
Publication date
30-09-2021
Publisher
Springer Berlin Heidelberg
Published in
Arabian Journal for Science and Engineering / Issue 2/2022
Print ISSN: 2193-567X
Electronic ISSN: 2191-4281
DOI
https://doi.org/10.1007/s13369-021-06207-0

Other articles of this Issue 2/2022

Arabian Journal for Science and Engineering 2/2022 Go to the issue

Research Article-Computer Engineering and Computer Science

Detection of Turkish Fake News in Twitter with Machine Learning Algorithms

Research Article-Computer Engineering and Computer Science

Bipolar Mating Tendency: Harmony Between the Best and the Worst Individuals

Premium Partners