Skip to content
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

Adding new test method: testCopyAsSimpleStrategy #162

Open
wants to merge 1 commit into
base: development
Choose a base branch
from

Conversation

mabdi
Copy link

@mabdi mabdi commented Aug 1, 2020

I submit this pull request to suggest a new test method TLNodeCreationStrategyTest>>#testCopyAsSimpleStrategy.

We noticed that #copyAsSimpleStrategy is never executed by any of the tests in TLCompositeNodeTest. Since this method contains technical debt it is best to guard against future evolutions which may break assumptions made by clients.

Note that these suggestions are adapted from a test amplification tool called SmallAmp (https://github.com/mabdi/small-amp). SmallAmp executes existing tests, sees which parts of the class under test are not covered and then suggests improvements on the test methods.

I hope you will accept this pull request. It would illustrate that SmallAmp makes relevant suggestions.

Mehrdad Abdi.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant