Geri Dön

Black-box test case selection by relating code changes with previously fixed defects

Değişen kaynak dosyalarını daha önce çözülen hatalar ile ilişkilendirerek test senaryosu seçimi

  1. Tez No: 758870
  2. Yazar: TUTKU ÇINGIL
  3. Danışmanlar: DOÇ. DR. HASAN SÖZER
  4. Tez Türü: Yüksek Lisans
  5. Konular: Bilgisayar Mühendisliği Bilimleri-Bilgisayar ve Kontrol, Computer Engineering and Computer Science and Control
  6. Anahtar Kelimeler: Belirtilmemiş.
  7. Yıl: 2022
  8. Dil: İngilizce
  9. Üniversite: Özyeğin Üniversitesi
  10. Enstitü: Fen Bilimleri Enstitüsü
  11. Ana Bilim Dalı: Bilgisayar Bilimleri Ana Bilim Dalı
  12. Bilim Dalı: Bilgisayar Bilimleri Bilim Dalı
  13. Sayfa Sayısı: 49

Özet

Yazılım, yeni gereksinimleri karşılamak ve kusurları gidermek için sürekli olarak değişmektedir. Regresyon testleri, uygulanan değişikliklerin mevcut işlevselliği olumsuz etkilemediğinden emin olmak için yapılmaktadır. Artan test senaryoları, regresyon testlerinin tamamının yapılmasını elverişsiz hale getirmektedir. Test senaryosu seçimi ile, yazılımın değişen parçaları ile ilişkili olan test senaryolarının seçilmesi benimsenmektedir. Bu tezde, regresyon testlerinde kara kutu test yaklaşımı ile gömülü sistemler üzerinde test senaryo seçimi için bir yaklaşım sunulmaktadır. Bu kapsamda, yazılımdaki değişen kaynak kodları ile test senaryoları arasında bir ilişki olduğunu ve bu değişen kaynak kodları ile test senaryoları seçmenin mümkün olduğu iddia edilmektedir. Hataları tespit eden test senaryoları, bunları düzeltmek için önceden değiştirilmiş kaynak dosyaları ile ilişkilendirilmektedir. Ardından, bir sonraki yazılımda değiştirilen kaynak kod dosyaları ile ilgili test senaryoları seçilmektedir. Ayrıca, değişen dosya birden fazla hata ile ilgili olabileceği için, değişen kod ve test senaryosu arasındaki ilişki her bir test senaryosu için farklı olarak tanımlanmaktadır. Bu tezde tüketici elektroniği alanında faaliyet gösteren 3 gerçek proje üzerinde çalışılmaktadır. Sonuçlar, test senaryolarının %30'u ile %70'i arasında seçim yaparak tüm test senaryoları tarafından tespit edilen hataların %65'inden %85'ine kadar tespit edilmesinin mümkün olduğunu göstermektedir.

Özet (Çeviri)

Software continuously changes to address new requirements and to fix defects. Regression testing is performed to ensure that the applied changes do not adversely affect existing functionality. The increasing number of test cases makes it infeasible to execute the whole regression test suite. Test case selection is adopted to select a subset of the test suite, which is associated with the changed parts of the software. These parts are assumed to be error-prone. We present and evaluate a test case selection approach in the context of black-box regression testing of embedded systems. In this context, it is challenging to relate test cases with a set of distinct source code elements to be able to select those test cases associated with the modified parts of the source code. We analyze previously fixed defects for this purpose. We relate test cases that detect these defects with the source files that are previously modified for fixing them. Then, we select test cases related with source code files that are modified in the subsequent revision. The strength of this relation is determined as the number of changes associated with fixed defects previously detected by the same test cases. We conduct a case study on 3 real projects from the consumer electronics domain. Results show that it is possible to detect from 65% up to 85% of the defects detected by the whole test suite by selecting from 30% up to 70% of the test cases.

Benzer Tezler

  1. A feedback-based testing methodology for network security software

    Ağ güvenliği yazılımları için geri besleme temelli bir test yöntemi

    GÜRCAN GERÇEK

    Yüksek Lisans

    İngilizce

    İngilizce

    2013

    Bilgisayar Mühendisliği Bilimleri-Bilgisayar ve Kontrolİzmir Yüksek Teknoloji Enstitüsü

    Bilgisayar Mühendisliği Ana Bilim Dalı

    YRD. DOÇ. DR. SELMA TEKİR

  2. Design of stiffened plates using soft computing techniques

    Esnek hesaplama teknikleri kullanarak takviyeli plakların tasarımı

    MEHMET TOLGA GÖĞÜŞ

    Doktora

    İngilizce

    İngilizce

    2010

    İnşaat MühendisliğiGaziantep Üniversitesi

    Mekanik Ana Bilim Dalı

    DOÇ. DR. ABDÜLKADİR ÇEVİK

    PROF. DR. MUSTAFA ÖZAKÇA

  3. Bir binek araç için çift aksonlu Macpherson tipi ön süspansiyon sisteminde kullanılacak bilyalı kutu tipi ve kremayer tipi direksiyon sistemlerinin geliştirilmesi

    Development of recirculating ball and nut and rack and pinion type steering systems to be used with double axis Macpherson front suspension for a passenger car

    MEHMET CİHAT GÖNÜLTAŞ

    Yüksek Lisans

    Türkçe

    Türkçe

    2018

    Makine Mühendisliğiİstanbul Teknik Üniversitesi

    Makine Mühendisliği Ana Bilim Dalı

    PROF. DR. İSMAİL MURAT EREKE

  4. Akarsu askı maddesi debisi tahmini için nonlineer bir sistem modeli

    A nonlinear system model for prediction of suspended load of rivers

    VEYSEL GÜLDAL

    Doktora

    Türkçe

    Türkçe

    1997

    İnşaat Mühendisliğiİstanbul Teknik Üniversitesi

    Su Bilimleri Ana Bilim Dalı

    PROF. DR. R. FERRUH MÜFTÜOĞLU

  5. Kaynak kısıtlı proje çizelgeleme probleminde tekrarsız kromozom destekli paralel genetik algoritma uygulaması

    A parallel genetic algorithm application with nonrepetitive chromosome improvement for resource constrained project scheduling problem

    ŞAFAK EBESEK

    Doktora

    Türkçe

    Türkçe

    2019

    Mimarlıkİstanbul Teknik Üniversitesi

    Mimarlık Ana Bilim Dalı

    PROF. DR. HAKAN YAMAN