Feature | JDK | Android | |||||
---|---|---|---|---|---|---|---|
6 | 8 | 9 | 10 | 11 | Unit | AIT ≥P | |
Additional answers | ✓ 0.09 | ✓ 0.06 | ✓ 0.10 | ✓ 0.05 | ✓ 0.07 | ✓ 0.08 | |
Annotations | ✓ 0.16 | ✓ 0.15 | ✓ 0.15 | ✓ 0.17 | ✓ 0.20 | ✓ 0.15 | |
Answers | ✓ 0.15 | ✓ 0.09 | ✓ 0.08 | ✓ 0.08 | ✓ 0.09 | ✓ 0.08 | |
Arrays | ✓ 0.35 | ✓ 0.15 | ✓ 0.13 | ✓ 0.16 | ✓ 0.17 | ✓ 0.15 | |
Backing field | ✓ 0.03 | ✓ 0.03 | ✓ 0.04 | ✓ 0.03 | ✓ 0.08 | ✓ 0.03 | |
Chainied calls | ✓ 0.34 | ✓ 0.19 | ✓ 0.15 | ✓ 0.13 | ✓ 0.18 | ✓ 0.17 | |
Clearing mocks | ✓ 0.07 | ✓ 0.03 | ✓ 0.03 | ✓ 0.03 | ✓ 0.03 | ✓ 0.03 | |
Coroutines | ✓ 0.11 | ✓ 0.08 | ✓ 0.08 | ✓ 0.07 | ✓ 0.07 | ✓ 0.08 | |
Enums | ✓ 0.17 | ✓ 0.25 | ✓ 0.27 | ✓ 0.30 | ✓ 0.22 | ✓ 0.23 | |
Extension functions | ✓ 0.11 | ✓ 0.24 | ✓ 0.25 | ✓ 0.26 | ✓ 0.22 | ✓ 0.21 | |
Initialization block | ✓ 0.05 | ✓ 0.09 | ✓ 0.09 | ✓ 0.09 | ✓ 0.13 | ✓ 0.09 | |
Matchers | ✓ 0.49 | ✓ 0.27 | ✓ 0.27 | ✓ 0.25 | ✓ 0.27 | ✓ 0.26 | |
Nulls | ✓ 0.09 | ✓ 0.11 | ✓ 0.14 | ✓ 0.15 | ✓ 0.12 | ✓ 0.11 | |
Object mocks | ✓ 0.09 | ✓ 0.07 | ✓ 0.08 | ✓ 0.10 | ✓ 0.08 | ✓ 0.10 | |
Partial argument matching | ✓ 1.18 | ✓ 0.59 | ✓ 0.61 | ✓ 0.33 | ✓ 0.46 | ✓ 0.58 | |
Private functions | ✓ 0.20 | ✓ 0.32 | ✓ 0.36 | ✓ 0.36 | ✓ 0.36 | ✓ 0.32 | |
Spies | ✓ 0.11 | ✓ 0.14 | ✓ 0.14 | ✓ 0.17 | ✓ 0.14 | ✓ 0.14 | |
Varargs | ✓ 0.08 | ✓ 0.03 | ✓ 0.04 | ✓ 0.03 | ✓ 0.03 | ✓ 0.04 | |
Verification errors | ✓ 0.23 | ✓ 0.12 | ✓ 0.13 | ✓ 0.14 | ✓ 0.13 | ✓ 0.11 | |
Verification counts | ✓ 0.41 | ✓ 0.22 | ✓ 0.20 | ✓ 0.20 | ✓ 0.17 | ✓ 0.19 | |
Verify test | ✓ 0.18 | ✓ 0.13 | ✓ 0.09 | ✓ 0.14 | ✓ 0.14 | ✓ 0.12 | |
Many answers | ✓ 0.07 | ✓ 0.12 | ✓ 0.09 | ✓ 0.09 | ✓ 0.09 | ✓ 0.09 | |
Constructor mocking | ✓ 0.25 | ✓ 0.29 | ✓ 0.28 | ✓ 0.32 | ✓ 0.27 | ✓ 0.30 | |
#25 | ✓ 0.04 | ✓ 0.03 | ✓ 0.04 | ✓ 0.04 | ✓ 0.05 | ✓ 0.03 | |
#31 | ✓ 0.02 | ✓ 0.02 | ✓ 0.02 | ✓ 0.02 | ✓ 0.02 | ✓ 0.01 | |
#35 | ✓ 1.59 | ✓ 1.55 | ✓ 1.66 | ✓ 1.82 | ✓ 1.56 | ✓ 1.58 | |
#36 | ✓ 5.95 | ✓ 3.15 | ✓ 3.65 | ✓ 4.02 | ✓ 8.18 | ✓ 3.56 | |
#47 | ✓ 0.14 | ✓ 0.15 | ✓ 0.15 | ✓ 0.18 | ✓ 0.15 | ✓ 0.14 | |
#48 | ✓ 0.20 | ✓ 0.16 | ✓ 0.16 | ✓ 0.15 | ✓ 0.31 | ✓ 0.14 | |
#51 | ✓ 0.19 | ✓ 0.19 | ✓ 0.22 | ✓ 0.23 | ✓ 0.31 | ✓ 0.20 | |
#70 | ✓ 0.11 | ✓ 0.10 | ✓ 0.09 | ✓ 0.10 | ✓ 0.20 | ✓ 0.13 | |
(other tests) | ✓ 6.88 | ✓ 8.70 | ✓ 8.33 | ✓ 8.41 | ✓ 7.90 | ✓ 9.24 | |
All tests | ✓ 20.12 | ✓ 17.82 | ✓ 18.10 | ✓ 18.62 | ✓ 22.39 | ✓ 18.70 |