Open Konard opened 8 years ago
It is possible to create universal test function, that can explore how test function behaves (by checking extreme values).
If we limit a time to execute the test, we can map (using binary search) input values ranges that are possible to execute within this time. Also it is possible to map regions of input values space that can be computed using limited amout of memory.
But be fully universal this function should check semantic dependencies between input values and parts of algorithm that are involved in transformation (path to result values). May be such semantic knowledge can impove efficiency of tests.
Autogenerate test for every function for closed and open software or API services to get metrics, check for bugs, and validate documentation consistency.
Requires to understand human language, to understand and generate code on programing languages.
It can work lazily (only test functions, that are going to be used by system in generated software) or produce test results for everything (it can be available as an website with search engine for developers to reference).