Acceptance Criteria
Unit tests perform the following checks on motion.json:
Single-character words must be connected to the next ones with non-breaking spaces,
None of the fields can be empty,
Quotation marks must match the language (i.e. " for English, „” for Polish),
No nested quotation marks of the same type,
Motion and infoslides end with a period (.), sources and types don't,
No missing closing quotes and brackets,
No lines starting with lowercase,
Optionally: dates in sources have to be in a correct format (i.e. no comma separating the tournament/place and the date. The date should be either dd.mm.yyyy or month_name yyyy.
Acceptance Criteria Unit tests perform the following checks on
motion.json
:"
for English,„”
for Polish),.
), sources and types don't,dd.mm.yyyy
ormonth_name yyyy
.