Skip to main content
Log in

Soft computing-based semi-automated test case selection using gradient-based techniques

  • Methodologies and Application
  • Published:
Soft Computing Aims and scope Submit manuscript

Abstract

Software testing has been one very time-consuming and expensive phases in the process of software development. It needs plenty of effort in the development of tools for the process to reduce both cost and time in the development of software. The test cases were the input parameters along with expected results and conditions of execution that are used for testing. The test case selection (TCS) is approaches that aim at the selection of subsets for the test cases in a particular domain based on the criterion of interest. The primary aim is the elimination of unwanted and redundant test data aside from maximizing fault detection. Optimization techniques are applied for TCS to efficient testing. A local method of search is very popular among algorithms for the performance of optimization which is known as the gradient descent. This makes use of structural information from the nonlinear model. Simulated annealing (SA), on the other hand, is one which is global heuristic that minimizes the cost function. This work has proposed a high level of gradient descent and simulated annealing for the selection of software test case. Experiments showed that the modified SA has a lower number of print tokens by 3.82% for the 10,000 cost, by about 2.5% for the 30,000 cost, by about 1.17% for the 50,000 cost and finally by about 1.14% for the 70,000 cost.

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

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2

Similar content being viewed by others

References

  • Agrawal AP, Kaur A (2018) A comprehensive comparison of ant colony and hybrid particle swarm optimization algorithms through test case selection. In: Satapathy S, Bhateja V, Raju K, Janakiramaiah B (eds) Data engineering and intelligent computing. Springer, Singapore, pp 397–405

    Chapter  Google Scholar 

  • Chen Y, Hoffman MW, Colmenarejo SG, Denil M, Lillicrap TP, Botvinick M, de Freitas N (2017) Learning to learn without gradient descent by gradient descent. In: Proceedings of the 34th international conference on machine learning, vol 70. JMLR.org, pp 748–756

  • Dalal S, Hooda S (2018) Aspect-oriented software testing techniques: a review. Int J Adv Res Comput Sci 9(2):211

    Article  Google Scholar 

  • Hardt M, Ma T, Recht B (2018) Gradient descent learns linear dynamical systems. J Mach Learn Res 19(1):1025–1068

    MathSciNet  MATH  Google Scholar 

  • Karambir K, Kaur K (2013) Survey of software test case generation techniques. Int J Adv Res Comput Sci Softw Eng 3(6):937–942

    Google Scholar 

  • Lachmann R (2018) 12.4-machine learning-driven test case prioritization approaches for black-box software testing. In: Proceeding-ettc2018, pp 300–309

  • Ma A, Needell D (2018) A gradient descent approach for incomplete linear systems. In: 2018 52nd Asilomar conference on signals, systems, and computers. IEEE, pp 764–768

  • Maheswari RU, Mala DJ (2015) Combined genetic and simulated annealing approach for test case prioritization. Indian J Sci Technol 8(35):1

    Google Scholar 

  • Narciso EN, Delamaro ME, Nunes FDLDS (2014) Test case selection: a systematic literature review. Int J Software Eng Knowl Eng 24(04):653–676

    Article  Google Scholar 

  • Narula S (2016) Review paper on test case selection. Int J Sci Eng Comput Technol 6(4):126

    Google Scholar 

  • Nasser AB, Zamli KZ, Alsewari AA, Ahmed BS (2018) Hybrid flower pollination algorithm strategies for t-way test suite generation. PLoS ONE 13(5):e0195187

    Article  Google Scholar 

  • Nogueira S, Araujo H, Araujo R, Iyoda J, Sampaio A (2019) Test case generation, selection and coverage from natural language. Sci Comput Program 181:84–110

    Article  Google Scholar 

  • Pargas RP, Harrold MJ, Peck RR (1999) Test-data generation using genetic algorithms. Softw Test Verif Reliab 9(4):263–282

    Article  Google Scholar 

  • Raj MVP, Panda S (2019) Simulated annealing: an experimental application on pairwise testing. Int J Innov Technol Explor Eng 8(6):377–381

    Google Scholar 

  • Ruder S (2016) An overview of gradient descent optimization algorithms. arXiv:1609.04747

  • Thakur PB, Verma T (2015) A survey on test case selection using optimization techniques in software testing. Int J Innov Sci Eng Technol 2(4):593–596

    Google Scholar 

  • Tuncali CE, Yaghoubi S, Pavlic TP, Fainekos G (2017) Functional gradient descent optimization for automatic test case generation for vehicle controllers. In: 2017 13th IEEE conference on automation science and engineering (CASE). IEEE, pp 1059–1064

  • Wang K, Wang Y, Zhang L (2014) Software testing method based on improved simulated annealing algorithm. In: 2014 10th international conference on reliability, maintainability and safety (ICRMS). IEEE, pp 418–421

  • Yadav AK, Singh A, Azeem A, Rahi OP (2011) Application of simulated annealing and genetic algorithm in engineering application. Int J Adv Eng Technol 1(2):81

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to T. M. Nithya.

Ethics declarations

Conflict of interest

The authors declare that there is no conflict of interest.

Additional information

Communicated by V. Loia.

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Nithya, T.M., Chitra, S. Soft computing-based semi-automated test case selection using gradient-based techniques. Soft Comput 24, 12981–12987 (2020). https://doi.org/10.1007/s00500-020-04719-9

Download citation

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s00500-020-04719-9

Keywords

Navigation