PriorCadTest

This is online support of the prioritizing test cases approach PriorCadTest. This page includes tools used by our approach and a dataset which produced by seeding defects, extracting features and collecting test coverage in the example project ArtOfIllusion.

Tools

To investigate the ranking of test cases in CAD software, we select the most widely-used open-source CAD software, Project ArtOfIllusion.

The tools uses by our approach include Spoon, CodeZhi, and JaCoCo.

Dataset

Here is the dataset generated during each phase in our approach, and the structure of the dataset can be found as follows.

The dataset includes five directories:

Dataset
├─coverage
│      coverage.xls
│
├─input
│  ├─animation
│  │      testVector.csv
│  │      trainVector.csv
│  │
│  ├─math
│  │      testVector.csv
│  │      trainVector.csv
│  │
│  ├─object
│  │      testVector.csv
│  │      trainVector.csv
│  │
│  └─procedural
│         testVector.csv
│         trainVector.csv
│
├─mutate
│      mutate.txt
│
├─result
│  ├─animation
│  │  ├─decisiontree
│  │  │      prob_matrix.csv
│  │  │      sorted_test_cases.txt
│  │  │      sorted_test_cases_new.txt
│  │  │      test_label1.txt
│  │  │      test_probability1.txt
│  │  │
│  │  ├─MultinomialNB
│  │  │      prob_matrix.csv
│  │  │      sorted_test_cases.txt
│  │  │      sorted_test_cases_new.txt
│  │  │      test_label1.txt
│  │  │      test_probability1.txt
│  │  │
│  │  ├─random
│  │  │      sorted_test_cases_new.txt
│  │  │
│  │  ├─random_forest
│  │  │      prob_matrix.csv
│  │  │      sorted_test_cases.txt
│  │  │      sorted_test_cases_new.txt
│  │  │      test_label1.txt
│  │  │      test_probability1.txt
│  │  │
│  │  └─svm
│  │          prob_matrix.csv
│  │          sorted_test_cases.txt
│  │          sorted_test_cases_new.txt
│  │          test_label1.txt
│  │          test_probability1.txt
│  │
│  ├─math
│  │    same as above...
│  │
│  ├─object
│  │    same as above...
│  │
│  └─procedural
│       same as above...
│
└─vector
        vector.txt