Unable to retrieve RunConfiguration during testing since 2025.2

Since 2025.2 (including 253) our tests (BasePlatformTestCase) which may create or elsewise use our custom RunConfiguration have started failing at this stage.

This throws an assertion failure

ConfigurationTypeUtil.findConfigurationType(CoverConfigurationType.class)

Declared in the xml

<configurationType implementation="the.correct.path.i.checked.CoverConfigurationType"/>

Any idea why this might be the case? I can’t see any sort of migration requirements for running tests that use run configs on these newer platforms.

Thanks

Hi, would it be possible to share a small repro so we could debug it?

So I solved it through reimplementing and going back through the tutorial on this, the code was super old.

Key things I changed:

  • Moved MyType from extending ConfigurationType to extending ConfigurationTypeBase
  • Replaced the static method which we used to get an instance (we mainly do this so we can mock the behaviour in our tests), which used to called the utility, with a static method which returns a new MyType.

I am not sure if the utility is working now, but I dont think we need it, maybe we never did, this part of our code base is very old.