juju-solutions / matrix

Automatic testing of big software deployments under various failure conditions
Other
8 stars 9 forks source link

Glitch typing #2

Closed bcsaller closed 8 years ago

bcsaller commented 8 years ago

Before I take this too far I was to see if people like the approach. It attempts to move from an ad-hoc typing system to an officially supported one. Currently it is using runtime type validation but we might want to look at switching the type checking to mypy and hook in its static analysis at the time the plan is formed. That said that is still runtime check, so I am fine with this now.

This also moved the test under the top level test directory. I like to separate the tests from the runtime as they sometimes have different deps and testing deps won't be packaged with the release.