Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
@plusgut well it's basically like having all the specs for the code, but in unit test form (as a good unit test site should be). In true TDD style.
-
burnaut1758yActually to some extend this is possible. In my seminar I study various techniques to achieve this ;)
-
burnaut1758yWell you could create a grammar of the input your program takes and then use this grammar to generate fuzzing inputs and check, whether your program is able to handle those. Clearly there are more advanced approaches and improvements, but this one is basic. If you do not want to create the grammar by hand you could also generate this too. However you would then need to check by hand for inputs on which your program crashes, whether those are valid or not, as the generated grammar could also be wrong.
This would only result in test input sets, but obviously you can create/generate unit tests out of this.
Related Rants
Automatically generate unit tests for all the code I write.
undefined
wk54