-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Pouria Derakhshanfar
authored and
Pouria Derakhshanfar
committed
Feb 20, 2021
1 parent
337c70d
commit c99fd2e
Showing
41 changed files
with
7,290 additions
and
161 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Collect analyze the covered lines in each case for each given tool | ||
# Output: 1- a csv file containing the line coverages for each tool | ||
# 2- a CSV file containing: Tool, Caller, Callee, line number, Covered (boolean value that 1 indicates the successful coverage) | ||
|
||
python scripts/python/line-coverage/collect-line-coverages.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,28 @@ | ||
|
||
LIMIT=$1 | ||
toolTyoe=$2 | ||
|
||
echo "Set class separator to false" | ||
. scripts/test/prepare_tests.sh | ||
|
||
# compile the generated tests | ||
echo "compiling the generated tests" | ||
. scripts/test/compile_tests.sh | ||
# if [[ "$toolTyoe" != "randoop" ]]; then | ||
# echo "Set class separator to false" | ||
# . scripts/test/prepare_tests.sh | ||
# # compile the generated tests | ||
# echo "compiling the generated tests" | ||
# . scripts/test/compile_tests.sh | ||
# fi | ||
|
||
# detect and remove flaky tests from the generated test suites | ||
echo "Detecting the flaky tests" | ||
. scripts/test/detect_flaky_tests.sh | ||
# echo "Detecting the flaky tests" | ||
# . scripts/test/detect_flaky_tests.sh | ||
|
||
|
||
# if [[ "$toolTyoe" != "randoop" ]]; then | ||
# echo "Re-compile the tests" | ||
# . scripts/test/compile_tests.sh | ||
# else | ||
# echo "Re-compile the modified tests" | ||
# . scripts/test/compile_modified_randoop_tests.sh | ||
# fi | ||
|
||
echo "Re-compile the modified tests" | ||
. scripts/test/compile_tests.sh | ||
|
||
echo "Running pitest" | ||
. scripts/mutation/mutation-score-calculator.sh $LIMIT |
Oops, something went wrong.