Skip to content

Repeated execution of tests for different language versions #3493

@bjornhellander

Description

@bjornhellander

A question about the test class inheritance that goes on between the version specific test projects:
I might be missing something, but it looks like most earlier tests are executed for later language versions as well, but without any change in the test setup. (I see that some tests actually change language version in test sub classes, but it does not seem to be very common.)

Two strategies seem reasonable two me:

  1. Executing tests only for the minimum required language version, i.e. the version where the the tested feature was introduced.
  2. Executing all tests for all possible language versions.

What I think is happening now is that tests are re-executed in test projects for higher language versions, but still configured with the same language version as in the test project it was inherited from. So they are executed multiple times with exactly the same setup.

Is this intentional?
Or am I just dead wrong? 😁

Asking since its starting to take quite a while to run the tests.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions