UTBotCpp icon indicating copy to clipboard operation
UTBotCpp copied to clipboard

Tool that generates unit test by C/C++ source code, trying to reach all branches and maximize code coverage

Results 108 UTBotCpp issues
Sort by recently updated
recently updated
newest added

**To Reproduce** Run and execute tests for following code: ```c #include void *memset(void *s, int c, size_t count) { char *xs = s; while (count--) *xs++ = c; return s;...

bug

**Description** When you generate tests with stubs, stubs are generated but the initializations of stubs arrays are missing. **To Reproduce** Steps to reproduce the behavior: 1. Open the c-example project...

bug

**Description** In case code reads user input with `scanf` UTBot generates wrong regression tests which fails during execution **To Reproduce** Generate tests for following function ```c int read_with_scanf() { int...

enhancement

**Description** It seems that some C++ keywords cannot be used as parameter names in C functions, because generated tests cannot be run. For instance `and`, `and_eq` or `bitand` and probably...

bug
wrong generation

- CMake file is generated, it assembles tests similar to makefiles generated by UTBot but simpler - Wrappers are sent to client in the same way as stubs - CMake...

**Description** Now UTBot create variable on stack and make this memory symbolic. But in this case, it doesn't generate tests that pass nullptr. For function ```cpp int longptr_cmp(long *a, long...

enhancement

**Description** There are no instructions for installing UTBot on Windows or MacOS for ordinary users. Only Wiki contains some pages about it. **Expected behavior** Instructions must be in README.md

documentation
enhancement

**Description** If user code writes to the file it would be great if UTBot "predicts" what should be a result of test execution during test generation and then verify file...

enhancement

**Description** In case function opens the file and then closes it UTBot generates only one trivial test case comparing to situation when function only opens file. **To Reproduce** * Generate...

bug

**Description** Test Regression_Test.Pointers_Alignment doesn't work on main branch. **To Reproduce** Steps to reproduce the behavior: 1. Write code like this ```c typedef struct my_Node { int value; struct my_Node *next;...

bug