You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Additional information
UTBot always create three file no matter how many is actually needed. In case we implement logic that count number of parameters of FILE type and create only required number of files then it should resolve problem described above and issue with writing more files than actually required.
The text was updated successfully, but these errors were encountered:
Description
Even function under test doesn't perform any operations on files UTBot still adds test input initialization to the tests
To Reproduce
Generate test for something simple like:
Expected behavior
Generated tests does not involve interactions with file system
Actual behavior
Generated tests contain section which initialize file as test input:
Additional information
UTBot always create three file no matter how many is actually needed. In case we implement logic that count number of parameters of FILE type and create only required number of files then it should resolve problem described above and issue with writing more files than actually required.
The text was updated successfully, but these errors were encountered: