vitalseeds / vs-data-api

Fast API endpoints to expose vs-data actions for to run from Filemaker
MIT License
0 stars 0 forks source link

Pytest factories #75

Closed tombola closed 4 months ago

tombola commented 5 months ago

Clean up acquisitions, stock, batch etc creation by using factories.

Also can then use sub factories to create required records in other tables.

Also allows parameterisation of tests with different details for eg batch.

https://pytest-factoryboy.readthedocs.io/en/stable/