Skip to content

Add replacements for MongoCollection methods in instrumentation - #1865

Open
jgaleotti wants to merge 7 commits into
mongo_findOneAndReplacefrom
mongo_count_legacy
Open

jgaleotti wants to merge 7 commits into
mongo_findOneAndReplacefrom
mongo_count_legacy

Conversation

@jgaleotti

Copy link
Copy Markdown
Collaborator

We organize method replacements following the different method availabilities according to MongoDB Java library versions (e.g. count() was replaced by countDocuments())

@jgaleotti
jgaleotti requested a review from arcuri82 October 9, 2026 02:57
@jgaleotti
jgaleotti added this pull request to stack #1863 October 13, 2026 20:50
# Conflicts:
#	client-java/instrumentation/src/main/java/org/evomaster/client/java/instrumentation/coverage/methodreplacement/ReplacementList.java
#	client-java/instrumentation/src/main/java/org/evomaster/client/java/instrumentation/coverage/methodreplacement/thirdpartyclasses/MongoCollectionClassReplacement.java
#	client-java/instrumentation/src/main/java/org/evomaster/client/java/instrumentation/coverage/methodreplacement/thirdpartyclasses/MongoCollectionPipelineUpdateClassReplacement.java
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant