Ir al contenido

Documat


Implementation patterns to extend the search-based reduction Model of MTest.search

  • Autores: Alejandro Miguel Güemes-Esperón, Martha Dunia Delgado Dapena Árbol académico, Mailyn Moreno Espino, José Miguel Loor Intriago
  • Localización: Revista Cubana de Ciencias Informáticas, ISSN-e 2227-1899, Vol. 16, Nº. 2, 2022
  • Idioma: inglés
  • Títulos paralelos:
    • Patrones de implementación para extender el Modelo de reducción basado en búsquedas de MTest.search
  • Enlaces
  • Resumen
    • español

      El proceso de generación de casos de pruebas contribuye a la calidad de los productos de software, detectando la mayor cantidad de errores posibles. La etapa de diseño de los casos de pruebas a partir de valores de prueba, constituye una tarea desafiante, por lo que es necesaria su automatización para elevar la efectividad para detectar errores y disminuir el costo. Algoritmos metaheurísticos como algoritmos genéticos, recocido simulado y búsqueda tabú se han aplicado con éxito para resolver la explosión combinatoria de la generación automática de la suite de prueba. El modelo MTest.search para la generación automática de pruebas unitarias tiene definidos mecanismos de extensión del modelo de dominio, de prueba y de ejecución. En este trabajo se presentan patrones de implementación para extender el modelo de reducción basado en búsquedas. Esta propuesta permite incorporar nuevas configuraciones del problema de optimización para generar combinaciones de valores de pruebas obteniendo suites de pruebas reducidas. Para validar la solución propuesta se definieron casos de estudios a partir del análisis de extensiones implementadas siguiendo los patrones definidos en este trabajo y de los casos de pruebas resultantes. En las extensiones implementadas se introdujo el criterio de significación de los valores de prueba y de los caminos/escenarios para obtener suites de pruebas reducidas con mayor potencialidad para detectar errores.

    • English

      The process of generating test cases contributes to the quality of software products, detecting as many errors as possible. The design stage of test cases from test values is a challenging task, so its automation is necessary to increase the effectiveness to detect errors and reduce cost. Metaheuristic algorithms such as genetic algorithms, simulated annealing, and tabu search have been successfully applied to solve the combinatorial explosion of automatic test suite generation. The MTest.search model for automatic unit test generation has domain model extension, test, and execution mechanisms defined. In this work, implementation patterns are presented to extend the search-based reduction model. This proposal allows incorporating new configurations of the optimization problem to generate combinations of test values obtaining reduced test suites. To validate the proposed solution, case studies were defined based on the analysis of extensions implemented following the patterns defined in this work and the resulting test cases. In the implemented extensions, the significance criterion of the test values and of the paths/scenarios was introduced to obtain reduced test suites with greater potential to detect errors.

  • Referencias bibliográficas
    • Al-Sammarraie, Hn,Jawawi, Dn. (2020). Multiple Black Hole Inspired Meta-Heuristic Searching Optimization For Combinatorial Testing. Ieee Access....
    • Ashritha, S,Padmashree, T. (2020). Machine Learning For Automation Software Testing Challenges, Use Cases Advantages & Disadvantages....
    • Balera, Jm,Va, Junior. (2019). A Systematic Mapping Addressing Hyper-Heuristics Within Search-Based Software Testing. Information And Software...
    • Blé, C. (2020). Agile Design With Tdd. Creative Commons.
    • Delgado, Md,Macías, A,Larrosa, D,Verona, S,Fernández, Pb. (2017). Model For Automatic Generation Of Search-Based Early Tests. Computación...
    • Felbinger, H,Wotawa, F,Nica, M. (2018). Adapting Unit Test By Generating Combinatorial Test Data. Ieee International Conference On Software...
    • Fernández, Pb,Cantillo, W,Delgado, Md,Rosete, A,Yáñez, C. (2016). Generation Of Test Value Combinations Using Metaheuristics. Revista De Ingeniería...
    • Güemes, Am,Delgado, Md,Larrosa, D. (2018). Implementation Of Grammatical Structures In The Antlr Tool (Another Tool For Language Recognition)...
    • Güemes, Am. (2020). Components For The Genera-Tion Of Junit Test Code From Java Source Code. Technological University Of Havana "José...
    • Güemes, Am,Delgado, Md,Larrosa, D. (2021). Implementation Patterns To Extend Test Code Generation To New Languages In Gecodp. Revista Cubana...
    • Harikarthik, Sk,Palanisamy, V,Ra-Manathan, P. (2019). Optimal Test Suite Selection In Regression Testing With Test Case Prioritization Using...
    • Henry, H. (2021). Extension Component Of The Search-Based Reduction Model Of Mtest.Search. Technological University Of Havana "José Antonio...
    • (2021). Junit. Official Junit Site.
    • Khari, M,Sinha, A,Herrera, E,Cre-Spo, Rg. (2021). On The Use Of Meta-Heuristic Algorithms For Automated Test Suite Generation In Software...
    • Larrosa, D,Delgado, Md,Güemes, Am. (2019). Gecodp: Tool For Generating Test Code Integrated Into Production Environments. 22nd Ibero-American...
    • Larrosa, D,Fernández, Pb,Delgado, Md. (2018). Gecap: Unit Testing Case Generation From Java Source Code. Polibits. 57. 67-73
    • Larrosa, D. (2016). Component For The Automatic Generation Of Unit Test Cases. Tech-Nological University Of Havana "José Antonio Eche-Verría",...
    • Larrosa, D. (2019). Extensions To Mtest.Search For The Automatic Generation Of Unit Tests In Different Languages. Technological University...
    • Loor, Jm. (2019). Prioritization Of Test Cases In Agile Development Environments. Technological University Of Havana "José Antonio Echeverría",...
    • Macías, A,Delgado, Md,Fajardo, J,Larrosa, D. (2016). Functional Test Case Value Generator. Lámpsakos. 15. 51
    • Mishra, Db,Mishra, R,Das, Kn,Acharya, Aa. (2019). Test Case Generation And Optimization For Critical Path Testing Using Genetic Algorithm....
    • Musa, Ja,Romli, R,Yusoff, N. (2019). An Analysis On The Applicability Of Meta-Heuristic Searching Techniques For Automated Test Data Gen-Eration...
    • Myers, Gj,Badgett, T,Thomas, Tm,Sandler, C. (2012). The Art Of Software Testing. John Wiley & Sons. United States Of America.
    • (2021). Nunit. Official Site Of Nunit.
    • Oliinyk, B,Oleksiuk, V. (2019). Automation In Software Testing, Can We Automate Anything We Want. Proceedings Of The 2nd Student Workshop...
    • Pandey, A,Banerjee, S. (2021). Test Suite Optimization Using Chaotic Firefly Algorithm In Software Testing. Research Anthology Recent Trends,...
    • Polo, M,Ruiz, F,Rodríguez, R,García, I. (2017). Test Case Generation With Regular Expressions And Combinatorial Techniques. 10th Ieee International...
    • Pressman, R,Maxim, B. (2015). Software Engineering. A Practitioner's Approach. Mcgrawhill Education. New York.
    • Rojas, Dm,Pérez, Z. (2016). Component For The Automatic Generation Of Interesting Unit Test Values Using Loop And Condition Techniques. “José...
    • Serna, E,Martínez, R,Tamayo, Pa. (2017). “A Model To Determine The Maturity Of Software Test Automation As An Area Of Research And Development”....
    • Serna, E,Martínez, R,Tamayo, P,De Envigado, Iu. (2019). A Review Of The Reality Of Software Test Automation. Computación Y Sistemas. 23. 169
    • Sharma, R,Saha, A. (2018). Optimal Test Sequence Generation In State Based Testing Using Month Flame Optimization Algorithm. Journal Of Intelligent...
    • Verona, S. (2018). Automatic Generation Of Functional Test Cases From User Stories. Technological University Of Havana "José Antonio Echeverría",...
    • Zhang, Jm,Harman, M,Ma, L,Liu, Y. (2020). Machine Learning Testing: Survey, Landscapes And Horizons. Ieee Transactions On Software Engi-Neering....
    • Zhu, Z,Jiao, L. (2019). Improving Search-Based Software Testing By Constraint-Based Genetic Operators. Genetic And Evolutionary Computation...
Los metadatos del artículo han sido obtenidos de SciELO Cuba

Fundación Dialnet

Mi Documat

Opciones de artículo

Opciones de compartir

Opciones de entorno