Is UI Testing with JUnit Possible?

Good day everybody!

Is it generally possible to use JUnit together with Moe to test UI?
What configurations do I need to make?

I want to use JUnit4 or JUnit5 for my tests.

I’d be really thankful for any advice given! :slight_smile:

If you use libgdx you can write your tests with JUnit.

Here’s a guide on how to use it: http://manabreak.eu/java/2016/10/21/unittesting-libgdx.html

I don’t know how to do it with actual iOS ui components. What you could do is use Mockito to mock the ios specific moe classes and test your logic around it.