This project is maintained by iankurgarg
Devops 2 Milestone Testing
Debosmita Das(ddas5)
Abhishek Bandarupalle(abandar)
Ankur Garg(agarg12)
Abhimanyu Jataria(ajatari)
Atit Shetty(akshetty)
All relevant ansible playbooks are present in (./playbooks)[./playbooks] folder. It contains roles for each task.
fuzzer scripts are present in ./fuzzer folder. It takes a directory path and randomly selects a sample list, and modifies them.
runFuzzerJob.js will clone the itrust module, call fuzzer.js and commit the changes.
After commiting changes, trigger a jenkins build.
https://github.ncsu.edu/akshetty/iTrust-v23
branch : fuzzer
Takes input directory contains the the build logs of each itrust build and generates a report of useless test cases for each of those builds. It uses all previous builds to analyze the test cases which did not fail till that build to find useless test cases.
The report generated for 100th build will contain the useless test cases as required by the milestone requirements.
The script has been written in Python.
The final report of useless test detector after running for 100+ commits+builds is present here
Total number of useless tests detected = 245.
The code is ./analysis folder. The script main.js is the analysis script. It takes input the directory containing the server-side code of checkbox.io. It runs analysis on each .js file recursively found in this given directory.
For each of these files, it runs analysis on each function. It checks the four criteria mentioned in Milestone 2 question.
The report is generated in xml format. One such report has also been generated in txt format.
Both reports are present at links: in txt format and here in xml format
https://www.youtube.com/watch?v=nRk9pbon4hc
https://www.youtube.com/watch?v=tHE7xmkeWMA
Atit Shetty:
Debosmita Das:
Abhimanyu Jataria
Abhishek Bandarupalle
Ankur Garg (agarg12):