News for hackers. Stuff that matters.
Re:Generating Software Tests: Breaking Software for Fun and ... by lootsauce on Monday November 05, 2018 @01:57PM (#18384879)
Another approach to automated generation of test cases is through a process of turning traces into tests. Valid uses of code already exist. These are in the application itself and for a library you can find published code that makes use of it.

A recent paper [1] covers this subject and demonstrates in R achieving better code coverage than hand written tests and does so for a large portion of published libraries.

I think this is a very interesting direction for automated test case generation. If you look at snapshot testing [2] it reminds me very much of that.

[1] http://janvitek.org/pubs/issta18.pdf [2] https://blog.kentcdodds.com/effective-snapshot-testing-e0d1a...

There are no comments on this comment yet.