TycheTyche, named after the Greek goddess of chance, aims to provide a comprehensive integrated development environment (IDE) for property-based testing libraries like Hypothesis, Bolero and more. It is implemented as an extension for Visual Studio Code. The Tyche extension is currently in early alpha; we have a prototype implementation, appearing as a demo at UIST 2023. MotivationCurrent property-based testing frameworks give insufficient feedback about the specific values that were used to test a given program and about the distributional trends in those values. In the worst case, this lack of visibility process may give users false confidence, encouraging them to believe their testing was thorough when, in fact, it had critical gaps. Tyche provides an interactive interface for understanding testing effectiveness, surfacing both "pre-testing" information about test inputs and their distributions and "post-testing" information like code coverage. Current ProgressCurrently Tyche has one implemented integration with Python's Hypothesis framework. The library can be found here. This integration allows Tyche to run and analyze Hypothesis properties, displaying statistics about test data if the property passes. DevelopingProject StructureThis project is two nested NPM projects. The outer project is the source for the whole extension.
The inner project, in the Running in Debug ModeWhen working on the webview itself, run:
This will allow you to connect to the webview itself via a browser and iterate quickly. When working on the extension as a whole, run:
Then press |