pankti icon indicating copy to clipboard operation
pankti copied to clipboard

Generating tests from production workloads http://arxiv.org/pdf/2012.01198

Results 8 pankti issues
Sort by recently updated
recently updated
newest added

today they are called `receivingObject`, they can be better named, after the type, for example ``` Line -> line OrderImpl -> order ```

Hey, I am Yashraj Jain from Cv Raman Global University pursuing B.tech in Computer Science. I am a Competitive Java Programmer and a web developer too. I have also contributed...

If the name of a method is very long, there might be `java.io.FileNotFoundException` exceptions in the instrumentation plugin: For example: ``` java.io.FileNotFoundException: /tmp/pankti-object-data/org.broadleafcommerce.core.pricing.service.fulfillment.provider.FixedPriceFulfillmentPricingProvider.canCalculateCostForFulfillmentGroup_org.broadleafcommerce.core.order.domain.FulfillmentGroup,org.broadleafcommerce.core.order.domain.FulfillmentOption-count.txt (File name too long) at java.base/java.io.FileOutputStream.open0(Native Method)...

A hard question is to design a system to automatically find the most appropriate test class where to put a given generated test method.

For better readability, we can generate generate tests following the Arrange-Act-Assert pattern, together with comments in the generated tests (easy to add with Spoon). We may even have several formatting...

improve assertion generation by asserting on the receiver object. * this would make a potentially stronger assertion on all tests * this would enable to generate tests for void methods...

We may generate a submodule that contains all the pankti-generated test cases. The benefits of doing so include: - A good separation between original test cases and pankti-generated - Only...

enhancement