LWN.net Logo

Tried Monkey Testing?

Tried Monkey Testing?

Posted Dec 29, 2010 16:26 UTC (Wed) by gmatht (guest, #58961)
In reply to: Thank you LWN by boudewijn
Parent article: Behind the KOffice split

I was just wondering if you had tried monkey testing. Dumb monkey tests only find crash/abort type bugs, but that is certainly good start. I wrote a script to perform Monkey tests and related tasks: spamming millions of keypresses, detecting crashes, finding minimal recipes to reproduce the crash, automatically finding the changeset that introduced the crash and so on. At the moment I've mostly used it on LyX (on which is has found about 60 bugs), but I am making it more general, and it has found a bug in abiword.

http://blogs.tucs.org.au/frsi/programme/#mccabe
http://dansted.co.cc/Mon-Keytest.html
https://github.com/gmatht/Jankey

My goal is to get it so that you can just point it at any project and press go. It is still rather finicky at the moment however.


(Log in to post comments)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds