EcoCov: Economic Analysis for Problem Resolution in Structural Test Generation
This is a prototype implementation for the EcoCov framework. EcoCov prioritzie problems encountered by test generation tools (specifically Pex in this implementation) to obtain the max return-on-investment in testing. Below is our project website, https://sites.google.com/site/ecocov4testgeneration/
Instructions on how to use EcoCov
- Install VS2010 and Pex.
- Add EcoCov project into your project reference.
- Add the following 7 properties in the AssemblyInfo.cs of your test project: [assembly: IssueTrack] [assembly: ProblemObserver] [assembly: IssueObserver] [assembly: AssemblyCoverageObserver] [assembly: ResultTrackingObserver] [assembly: PUTObserver] [assembly: PUTCoverageObserver]
- Right click the method or class under test and select "Create Parameterized Unit Tests".
- Right click the generated PUT and then select "Run Pex Explorations".
- Set EcoCov project as the startup project and Run EcoCov (sample usage in the code comments).