No, not imperative types. Tests run specific data through one or more functions for a variety of reasons. Each run will have some successful or flawed effect. Different values of the same type of data can have different results. So, generating test values from specs and types automatically is different from merely typing the data or functions.
And, again, I'm talking traditional types like in Java or C++ rather than dependent types and other esoteric stuff.