-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add AGORA invariants #497
base: master
Are you sure you want to change the base?
Add AGORA invariants #497
Conversation
Add 22 new invariants designed for the context of REST API testing. These invariants are based on an analysis of a systematically collected dataset of 40 realistic APIs from the RapidAPI platform. All the new invariants are disabled by default. Modify computeConfidence function of certain invariants that always returned CONFIDENCE_JUSTIFIED (Range.java.jpp, Member.java.jpp, Reverse.java.jpp, SubSequence.java.jpp, SubSet.java.jpp), now these functions return CONFIDENCE_JUSTIFIED if there is at least one occurrence of the invariant during the program execution.
java/daikon/inv/unary/string/dates/IsTimestampYYYYMMHHThhmmssmm.java
Outdated
Show resolved
Hide resolved
…e-are-serializable
…lenzuela into agora-passing-tests
I have added all the merge methods for the AGORA invariants causing the new exception that you mentioned in your previous comment (missing merge method). |
@mernst It is worth mentioning that I did not run into these issues when installing a Daikon release (available at: https://plse.cs.washington.edu/daikon/download/). The steps that I followed in a Ubuntu VM with Java 17are the following:
Of course, I did not commit these changes without testing them first. I tested them with my computer using Java 8 and the declaration and data traces generated by Beet, but I still had to remove the I have sent you an email containing an Ubuntu VM with the results of the aforementioned steps, the subject of the email is “Daikon VM”. Let me know if you need more details about this issue. |
Make tests pass
Add 22 new invariants designed for the context of REST API testing. These invariants are based on an analysis of a systematically collected dataset of 40 realistic APIs from the RapidAPI platform and were used in the paper entitled “AGORA: Automated Generation of test oracles for REST APIs”, accepted for publication at ISSTA 2023. All the new invariants are disabled by default. A complete description of these invariants can be found in the header of each invariant class and here: https://github.com/isa-group/Beet/wiki/Modified-version-of-Daikon#added-invariants
Modify computeConfidence function of certain invariants that always returned CONFIDENCE_JUSTIFIED (Range.java.jpp, Member.java.jpp, Reverse.java.jpp, SubSequence.java.jpp, SubSet.java.jpp), now these functions return CONFIDENCE_JUSTIFIED if there is at least one occurrence of the invariant during the program execution.