5

I've found that when I upload my JUnit 5 tests to AWS fails because it expects to find a dependency in the format junit-<ver>.jar. However, JUnit 5 has changed the package names to org.junit.jupiter.ap and org.junit.platform.commons.

Does this mean that AWS Device Farm doesn't support JUnit 5? Are there any plans to support it soon?

Jansky
  • 1,455
  • 1
  • 17
  • 33
  • I can confirm that switching to JUnit 4 fixes the issue. Can't seem to find any information about when AWS DF will start supporting JUnit 5 (but it's an awkward one to search for, most results concern JUnit 4) – Jansky Feb 14 '18 at 14:18

1 Answers1

4

Currently Device Farm doesn't support JUnit 5. I will create a feature request for you.

Thanks!

jzthinkgeek
  • 169
  • 3
  • Cheers, I appreciate it – Jansky Feb 16 '18 at 16:08
  • any news regarding support? its really weird it does not support it still – Stormy Dec 02 '18 at 22:20
  • 2
    Device Farm has a new feature called custom environment which enables you to use any test framework you like. For more information: https://docs.aws.amazon.com/devicefarm/latest/developerguide/custom-test-environments.html – jzthinkgeek Dec 03 '18 at 01:20