P
P
prizrak392017-08-30 20:01:43
Java
prizrak39, 2017-08-30 20:01:43

Is it possible to write unit tests in kotlin for an existing java application?

Hello.
Tell me if it is possible for java applications to write unit tests, but in kotlin?
Or for a java application, unit tests can only be written in java?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
O
Oleg Gamega, 2017-08-30
@gadfi

of course you can - they are compatible at the byte code level

P
prizrak39, 2017-08-30
@prizrak39

And junit is suitable for these purposes?

F
Frozen Coder, 2017-08-31
@frozen_coder

Can. We write. All OK.
https://mvnrepository.com/artifact/org.jetbrains.k...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question