... | ... | @@ -14,10 +14,10 @@ |
|
|
- Data is imported incrementally: Data is not duplicated / stored twice when the plugin imports data multiple times.
|
|
|
|
|
|
## Tests
|
|
|
- most importantly, the plugin contains a test that runs it end-to-end using `run_plugin(from_pod=True)` on a small sample of data
|
|
|
- A test account for the corresponding service, which holds example data of all the imported data types, with enough variation to catch most edge cases
|
|
|
- Mocking for the tests dependent on the external service
|
|
|
- CI runs tests to see whether all data types are downloaded, stored and connected in the Pod
|
|
|
- A test that runs your plugin end-to-end on a small sample of data.
|
|
|
- There are unit tests where possible: for instance for parsing, inference, etc..
|
|
|
- If you are creating a plugin as a regular python project, use pytest for testing.
|
|
|
- If you are using nbdev, you can use nbdev_test_nbs.
|
... | ... | |