juxt / clip

Light structure and support for dependency injection
MIT License
228 stars 15 forks source link

Add support for starting/stopping selected components #19

Closed eerohele closed 3 years ago

eerohele commented 3 years ago

For integration tests that target a single component (e.g. the database), it would be useful to be able to start and stop only that component instead of the entire system.

jwhitlark commented 3 years ago

Wouldn't you need to stop anything that depends on that component also? It sounds like a useful feature, though, if that condition is met.