uyar / calico

GNU General Public License v3.0
8 stars 4 forks source link

Generate test specification from a reference program's runs #13

Open sahinakkaya opened 4 years ago

sahinakkaya commented 4 years ago

I tried to implement #9. It works without any problem and benefits from the base classes of calico. It will work with Python 3.6+ because it has f-strings but I didn't want to format them with % because f-strings are not the only problem. textwrap.indent and str.splitlines(keepends=True), which are needed for my implementation, are not available for Python 2. So I decided to not support Python 2 for this feature.