Skip to content

Consume Cassandra Heuristics and Generate CQL Data - #1795

Open
gonzalotguerrero wants to merge 8 commits into
masterfrom
feature/cassandra-heuristics-consumption-data-generation
Open

gonzalotguerrero wants to merge 8 commits into
masterfrom
feature/cassandra-heuristics-consumption-data-generation

Conversation

@gonzalotguerrero

Copy link
Copy Markdown
Collaborator

No description provided.

Comment thread core/src/main/kotlin/org/evomaster/core/search/FitnessValue.kt
@jgaleotti

Copy link
Copy Markdown
Collaborator

@gonzalotguerrero please fix the merge conflicts

@jgaleotti
jgaleotti requested a review from arcuri82 September 25, 2026 10:47
return
}

val oldCassandraDbActions = mutableListOf<EnvironmentAction>().plus(ind.seeInitializingActions())

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

isn't this name confusing? as you are loading all initializing actions, not just for Cassandra

@Experimental
@Cfg("Tracking of Cassandra commands to improve test generation")
@DependsOnFalseFor("blackBox")
var heuristicsForCassandra = false

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shouldn't have a @DependsOnTrueFor for extractSqlExecutionInfo ?

@Experimental
@Cfg("Enable EvoMaster to generate Cassandra data with direct accesses to the database")
@DependsOnFalseFor("blackBox")
var generateCassandraData = false

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shouldn't have a @DependsOnTrueFor for extractSqlExecutionInfo ?

@gonzalotguerrero

Copy link
Copy Markdown
Collaborator Author

Hi @arcuri82! I have a few questions regarding your comments:

isn't this name confusing? as you are loading all initializing actions, not just for Cassandra

I understand it might be confusing, but I'd written it like that because it's the way it's written for the other DBs. Would you still like me to change it to a more generic name?

shouldn't have a @DependsOnTrueFor for extractSqlExecutionInfo ?

I'm having some trouble understanding this question. I don't see the other databases' attributes having this @DependsOnTrueFor, could you please provide more clarification as to why it would be necessary for the ones regarding Cassandra?

Thanks!

@gonzalotguerrero
gonzalotguerrero added this pull request to stack #1804 September 29, 2026 04:55
@jgaleotti

Copy link
Copy Markdown
Collaborator

Hi @gonzalotguerrero , I think that what @arcuri82 probably meant was extractCassandraExecutionInfo

@gonzalotguerrero

Copy link
Copy Markdown
Collaborator Author

Hi @gonzalotguerrero , I think that what @arcuri82 probably meant was extractCassandraExecutionInfo

Hi @jgaleotti! I think so too, my question was more aimed at the fact that this @DependsOnTrueFor was not present for the other DBs (with their respective extractXXExecutionInfo attribute), but I just saw that Andrés recently added it for Neo4j. I'll get to adding it for Cassandra as well.

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.

3 participants