Skip to content

Is it possible to use spring-kafka-test without AssertJ? #1323

@levelast

Description

@levelast

Is it possible to use spring-kafka-test without AssertJ?
I've project with kotlin and excluded assertj from spring-boot-starter-test, 'cause we use more kotlin-style assert library and code is really messy when you have two strict library at once. Right now after added dependency spring-kafka-test and enable it, I've java.lang.NoClassDefFoundError: org/assertj/core/util/Arrays. The problem's line of code:

.filter(extended -> Arrays.asList(extended.value()).contains(SpringExtension.class))

It's strange to use assertj here, but maybe it's not the one problem.
Is it better to include asstertj to test scope?

Sorry for my English =)

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions