-
**Affects PMD Version:**
7.0.0-rc4
**Rule:**
[JUnitTestsShouldIncludeAssert](https://docs.pmd-code.org/latest/pmd_rules_java_bestpractices.html#junittestsshouldincludeassert)
**Description:**…
-
When Dotty generates an implementation for a field defined in a trait, it loses annotation target information when the trait itself is compiled with Scala 2.13.
## Source code
This is a minimize…
-
See : https://github.com/stefanbirkner/system-rules/issues/55
Sample changes :
Remove
```java
import org.junit.Rule;
import org.junit.contrib.java.lang.system.EnvironmentVariables;
@Ru…
-
Since the migration to JUnit 5, the warnings generated for JUnit by PMD do not make any sense anymore. Besides the default JUnit rules provided by PMD ([1](https://github.com/SERG-Delft/jpacman-templa…
-
Hi !
I recenlty updated to `2.25.0` to make use of `clearInlineMocks` but I end up with `NotAMockException` when I use it in combination with `MockitoJUnit.rule()`.
Eg
```
class ExampleUnitT…
-
```
Created android hello world project and Android test project
I was exploring powermockrule with robolectric.
looking to use powermock methods to test , so i added below
@Rule
public PowerMockR…
-
```
Created android hello world project and Android test project
I was exploring powermockrule with robolectric.
looking to use powermock methods to test , so i added below
@Rule
public PowerMockR…
-
**Describe the bug**
JUnit XML comes empty, even tough the console did show that tests were executed.
**To Reproduce**
0. Have an app.
1. Run:
```
docker run --rm -v $$(pwd)/src:/opt/src retur…
-
> Just be aware about usual MockK support pattern.
> Tickets are checked from time to time, replied, discussed, labeled, e.t.c.
> But real fixes are applied in a month-two month period in a bunch.
…
-
Got this error on tests 38 -42 from week 2 of the java part 1 course.
When I send the code to the server all tests have passed.
Error body:
```
java.lang.reflect.InvocationTargetException
or…