robgonnella / ardi

Ardi is a command-line tool that helps you manage arduino projects!
GNU General Public License v3.0
12 stars 1 forks source link

Improvements to tests and mock injection #80

Closed robgonnella closed 3 years ago

robgonnella commented 3 years ago

This approach uses the "WithOption" approach to injecting mock libraries into ardi for testing. Moving the injection to the main execution allows us to inject our mocks with much more control