Skip to content

Simplify compilation of :core tests with compiler plugin enabled for better E2E testing #1841

@koperagen

Description

@koperagen

In tests we have all sorts of dataframe code. Compiling it with compiler plugin could help us catch bugs earlier. For example, regression causing compiler crash found by user was reproducable in one of the tests.
#1723

Problem:
Simply enabling plugin, we still have a bunch of errors before we could compile:
Image

Goal: I have no intention to enable plugin by default (yet?), but it would be nice to only have to apply a small patch that enables it and simply run "test" task. So need to go over all compilation errors and fix what's possible

Most of them can be fixed by slightly changing the code of a test itself, in some cases i'll adjust compiler plugin to be not so strict/invasive.

Metadata

Metadata

Assignees

No one assigned

    Labels

    testsSomething related to the JUnit tests, integration tests or testing infrastructure

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions