-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add unit tests #4
Labels
enhancement
New feature or request
Comments
lupino3
added a commit
that referenced
this issue
Nov 15, 2018
This addresses partially #4, but I don't consider it sufficient for closing it. The test coverage is 71%, and the printing feature is not covered at all.
lupino3
added a commit
that referenced
this issue
Nov 28, 2018
Some small progress on #4, still not sufficient.
lupino3
added a commit
that referenced
this issue
Dec 4, 2018
Split the large BuildCallGraph method into separate methods to 1) parse the source and create nodes from blocks of code; 2) annotate nodes with information coming from within the node; 3) annotate nodes with information coming from the relationship between nodes. As part of this, also add more unit tests (helps with #4).
Unit tests have been added over time. Code coverage is above 90%:
I think this is satisfactory, therefore I am closing this issue. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The script was published "as-is", but for any further change, and to validate existing behavior, we really need to add some basic tests.
The text was updated successfully, but these errors were encountered: