ucldc / rikolti

calisphere harvester 2.0
BSD 3-Clause "New" or "Revised" License
7 stars 3 forks source link

Mapper unit testing: write documentation #708

Open barbarahui opened 8 months ago

barbarahui commented 8 months ago

Tim's mapper unit testing framework needs documentation, especially because it uses pytest in an unconventional way. See Barbara's scratch notes below on what to document.

barbarahui commented 8 months ago

Scratch notes on what to include in documentation:

how to write tests

how to run tests

We're using pytest, and these are the options you can supply (e.g. pytest metadata_mapper/test/ to run test for all mappers; `pytest metadata_mapper/test/ --mapper=contentdm