mercredi 26 août 2020

Finding a seed that doesn't pass tests

My code is based on some random operations. I found a bug in it, but I didn't save the seed. Now I try to find any seed that also generates this bug using unittest module. Can I automate it in any way?

I'm looking for some method that iterates over seeds and perform unittests on them until it finds a seed that don't pass it.

Aucun commentaire:

Enregistrer un commentaire