Refactor content instrumentation test to use JUnit4 Parameterized test |
||
Issue descriptionCurrently, each content/ java instrumentation test runs twice with two configurations (latter replaces the containerView), The current implementation makes it hard to distinguish two runs or when a test fails which configuration is it under. This should refactored using parameterized test once it is landed. Code: https://cs.chromium.org/chromium/src/content/shell/android/javatests/src/org/chromium/content_shell_apk/ContentShellTestBase.java
,
Mar 21 2017
I don't think it's worth the effort yet. JUnit5 is not currently support for Android instrumentation and probably won't be for a long while (consider the first official junit5 release was last year). If we want to write test using JUnit5, we would have to add support on interaction with activities which might differ from what Android. Also robolectric/junit tests are completely implemented on top of JUnit4, that is probably not gonna change anytime soon.
,
Aug 1
|
||
►
Sign in to add a comment |
||
Comment 1 by dgn@chromium.org
, Mar 21 2017