quarkus-qe / quarkus-test-framework

Write your test once and run it everywhere!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Exclude DEV mode tests from native runs

michalvavrik opened this issue · comments

We shouldn't build native tests with DevModeQuarkusService (RemoteDevModeQuarkusApplication, DevModeQuarkusApplication respectively) as native executable we so expensively build is ignored and application is launched in DEV mode instead. We usually use @DisabledOnNative, but it's easy to miss - #714. In Quarkus Test Suite, we exclude DEV mode from native tests https://github.com/quarkus-qe/quarkus-test-suite/blob/main/pom.xml#L54, https://github.com/quarkus-qe/quarkus-test-suite/blob/main/pom.xml#L668.

We should either validate all DEV mode tests in FW are disabled and add similar exclusion to native Maven profile.