configuration on base class not working anymore
See original GitHub issueUntil version 1.2.9 (including) the configuration worked when having a test class with a base class containing the @DBUnit
annotation. Version 1.2.10 introduced a new class AnnotationUtils
for resolving such annotations. Unfortunately, it contains a bug for this specific case. Thus, the configuration is not used at all.
@DBUnit(caseSensitiveTableNames = true)
public abstract class MyBase {
}
public class MyTest extends MyBase {
@Dataset("mydata.yml")
@Test
public void myTest() {
}
}
I will provide a pull request with the fix shortly.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Tailwind CSS classes is not working in my project?
I think I've found the answer to the problem of Tailwind not building classes. Besides the config of tailwind.config content sources, ...
Read more >Private @Before* methods aren't called when defined in a ...
Actual behavior. Private @Before* methods aren't called when defined in a base class, but work when defined in the same class.
Read more >How to inherit properties from a base class entity using @ ...
If the BaseEntity were not annotated with @MappedSuperclass , the @Id or @Version properties would not be inherited by the classes extending ...
Read more >The Designer could not be shown for this file because ...
App compiles and runs fine, but opening any form in the designer throws a "The base class 'System.Windows.Forms.Form' could not be loaded.
Read more >Chapter 5. Modularizing configurations
Partitioning bean definitions across multiple @Configuration classes ... would be inaccessible (parent contexts have no access to child context beans).
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’ve just tried the 1.5.1-SNAPSHOT and this bug is fixed.
v1.5.1 was just released, thank you for reporting.