nfdi4plants / arc-validate

Home of all the tools and libraries to create and run validation of ARCs
https://nfdi4plants.github.io/arc-validate/
MIT License
3 stars 2 forks source link

Make tests more modular #14

Closed Freymaurer closed 1 year ago

Freymaurer commented 1 year ago

Currently person is tested as one module either returning success or a general error for the complete person.

In this case we loose the information, which field of person is faulty.

We should change this behaviour to test all fields individually. Such as person.validateName and person.validateEmail.