-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Labels
dev: data-modelgood first issueAn issue intended for project-newcomers. Varies in difficulty.An issue intended for project-newcomers. Varies in difficulty.📌 Pinned📍 AssignedAssigned by assign-issue-action (or manually assigned)Assigned by assign-issue-action (or manually assigned)
Description
As user, one can run
biber --validate_datamodel xyz.bib
Then, the log is filled with entries such as
WARN - Datamodel: report entry 'Iron2009' (oliver-kopp.bib): Missing mandatory field 'type'
A pattern for this needs to be added to
org.jabref.logic.biblog.BibtexLogParser
One can develop test driven, to first add a test to
org.jabref.logic.biblog.BibtexLogParserTest
Steps
- Create a new
@ParameterizedTest
atBibtexLogParserTest
for error strings and expectedBibWarning
. I assume@MethodSource
will be needed. Add the above test string and result - Adapt
BibtexLogParser
No need to create a new .blg
file for testing; this is too much effort.
Metadata
Metadata
Assignees
Labels
dev: data-modelgood first issueAn issue intended for project-newcomers. Varies in difficulty.An issue intended for project-newcomers. Varies in difficulty.📌 Pinned📍 AssignedAssigned by assign-issue-action (or manually assigned)Assigned by assign-issue-action (or manually assigned)
Type
Projects
Status
In Progress