samedi 3 novembre 2018

Test in parallell on independent data in Python

I wrote some python code (say, a tokenizer for C) and want to test it on a bunch of files (say, C sources). Since my tokenizer is quite slow and there are quite an amount of files to test on, the test takes a lot of time. I want to run these tests in parallel. Is there any testing framework in Python supporting this feature? It sounds like a combination of yield test and concurrent test.

Aucun commentaire:

Enregistrer un commentaire