This is the official implemenation of the paper entitled Statement Frequency Coverage. In the example
folder there is a file named cove.py
which tracks
each test case. The cove.py
is based on the unittest
library. To change the implemenation from the unittest
library to other test frameworks such as
pytest
, you need to change the run_tests
function. For example, to track each test case of the pytest framework, you need to change the body of the run_tests
function
to pytest.main()
. After running cove.py
, the tmp
folder is created. Put the content of that folder in the tmp
directory in the root path of the project. Then, by running the SFC
notebook, you are capable of computing the Statement Frequency Coverage.
-
Notifications
You must be signed in to change notification settings - Fork 0
The source code for the paper: Statement frequency coverage: A code coverage criterion for assessing test suite effectiveness
License
aaghamohammadi/SFC
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
The source code for the paper: Statement frequency coverage: A code coverage criterion for assessing test suite effectiveness
Topics
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published