0

Is there a Test Impact Analysis (TIA) framework/tool/extension for Python? E.g. an equivalent to JAVAs Test Impact Analysis Plugin for jQAssistant?

1

There are a few libraries out there you could try. Here are some entrypoints:

Note that TIA is rarely perfect (especially imperfect in dynamic languages), so use with caution.

One pattern to consider is to use a mixed approach. I like to use TIA to exclude some slow tests on branches until they have a merge-request. So master, tags, and merge-requests run full suite. I'm using GitLabCI for this (only: ['merge_requests']) but you can do it with some other tools too.

Lastly here are some reading materials.

  • 1
    python-tia is my own package :) I created it after accepting that there were no suitable alternatives available back when asking... – thinwybk Mar 29 at 9:36
  • @thinwybk Hah! And now I see, it's the same avatar. Did not notice it before. Well, kudos! – hangtwenty Mar 30 at 1:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.