Add a test module for a lightweight end-to-end test. The cirrus-task-example repo probably provides a good model. Tests will probably assume STAC in-STAC out and maybe include bare bones Items for testing with. STAC tasks can get complex with API calls, S3 uploads, etc. (and would require mocking to suit) so a generic stac-task test may not be what is needed -- some kind of testing assistance (e.g. something like assert_stac_items_equal(actual, expected) with helpful output) might be a good compromise. The docs should have a testing section with the specifics, definition, and best practices.
Add a test module for a lightweight end-to-end test. The
cirrus-task-examplerepo probably provides a good model. Tests will probably assume STAC in-STAC out and maybe include bare bones Items for testing with. STAC tasks can get complex with API calls, S3 uploads, etc. (and would require mocking to suit) so a generic stac-task test may not be what is needed -- some kind of testing assistance (e.g. something likeassert_stac_items_equal(actual, expected)with helpful output) might be a good compromise. The docs should have a testing section with the specifics, definition, and best practices.