You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to @xdevroey Botsing behavioral model generation conducts an static and dynamic analysis of the SUT test suites. Therefore, the dynamic analysis actually executes the SUT test cases. However, when I run Botsing behavioral model generation it seems that only static analysis is executed, because: i) I don't see test execution logs, ii) the overall behavioral model generatation takes less than a minute, while the SUT test execution takes several minutes.
Is this correct? Should dynamic model generation be executed by default or is it disabled?
Steps to reproduce
I am executing Botsing and behavioral model generation within a Docker container that hosts the Botsing libraries and some scripts I've created, plus the SUT (Supersede IF) libraries, source code and compiled sources.
First I compute the classpath using this command:
#Compile IF with Maven
mvn clean package -DskipTests
#Copy dependencies
mvn org.apache.maven.plugins:maven-dependency-plugin:copy-dependencies
#Compute IF classpath
for i in ./dependency/*.jar; do echo -n $i":"; done >> results/classpath.txt
Then, I generate the behavioral model with this script: java -d64 -Xmx10000m -jar supersede-if-botsing/botsing-model-generation-1.0.7.jar -project_cp "$(cat results/classpath.txt)" -project_prefix "eu.supersede.integration" -out_dir "results/models"
Total model generation execution takes less than a minute.
Generate models can be browse in IF GitHub repository: Botsing behavioral model
@jesus-gorronogoitia,
Yes, dynamic analysis is enabled by default. In your case, you can see here that there is one carved test suite (eu.supersede.integration.api.pubsub.test.EvolutionAlertMessageListenerTest). However, it seems that the carver could not execute the other test suites. Can you please attach the execution log of the model generator?
The carving process (in EvoSuite) was not successful in executing some test cases. But, there is no error message from EvoSuite. In my opinion, it does not execute because of either security issues or execution timeout. For the latter reason, you can increase the carving timeout by -Dcarving_timeout=<time_in_seconds>. For security issues, we need to debug it.
Additionally, I see from the log that it is generating some models. You can also see if the existing model can help the search process or not.
Characteristics
Description
According to @xdevroey Botsing behavioral model generation conducts an static and dynamic analysis of the SUT test suites. Therefore, the dynamic analysis actually executes the SUT test cases. However, when I run Botsing behavioral model generation it seems that only static analysis is executed, because: i) I don't see test execution logs, ii) the overall behavioral model generatation takes less than a minute, while the SUT test execution takes several minutes.
Is this correct? Should dynamic model generation be executed by default or is it disabled?
Steps to reproduce
I am executing Botsing and behavioral model generation within a Docker container that hosts the Botsing libraries and some scripts I've created, plus the SUT (Supersede IF) libraries, source code and compiled sources.
First I compute the classpath using this command:
Then, I generate the behavioral model with this script:
java -d64 -Xmx10000m -jar supersede-if-botsing/botsing-model-generation-1.0.7.jar -project_cp "$(cat results/classpath.txt)" -project_prefix "eu.supersede.integration" -out_dir "results/models"
Total model generation execution takes less than a minute.
Generate models can be browse in IF GitHub repository: Botsing behavioral model
Other files and URLs
Relationships
Help on issue template
Preview to follow the link or open file .github/ISSUE_DOC.md
The text was updated successfully, but these errors were encountered: