2
Directus Extension (Integration) Testing Mocked Services
Source: directus/directus#24692 · opened by @NilsBaumgartner1994
Describe the Request
So as developing extension is easy nice and fun, testing is coming into focus. With TypeScript and Jest Unit Test are good. But testing hooks with the services and a mocked database would be nice.
Mia there any chance to create such integration tests with minimum work like
Maintenance Strategy
Whenever services or hook extensions are changing the integration test interface would need to update too
So as developing extension is easy nice and fun, testing is coming into focus. With TypeScript and Jest Unit Test are good. But testing hooks with the services and a mocked database would be nice.
Mia there any chance to create such integration tests with minimum work like
Maintenance Strategy
Whenever services or hook extensions are changing the integration test interface would need to update too
No pledges yet. Be the first to back this.
Comments
Similar requests
API Testing UI (Swagger-like) with Role-Based Simulation
5 votes · 0 comments
Webdav storage adapter
1 vote · 0 comments
Get all related collections/items for m2o,m2m without reverse fields
2 votes · 0 comments
Puppeteer Support? PDF Generation
2 votes · 0 comments
Directus Extensions: Provide Settings-Option
6 votes · 0 comments
No comments yet.