public abstract class EmbeddedSutController extends SutController
Main class used to implement an EvoMaster Driver. A user that wants to use EvoMaster for white-box testing will need to implement this abstract class.
For full details on how to implement this class, look at the documentation for Write an EvoMaster Driver for White-Box Testing, currently at https://github.com/WebFuzzing/EvoMaster/blob/master/docs/write_driver.md
| Constructor and Description |
|---|
EmbeddedSutController() |
| Modifier and Type | Method and Description |
|---|---|
void |
bootingSut(boolean bootingSut)
specify whether the SUT is booting (ie starting up), or not.
|
List<AdditionalInfo> |
getAdditionalInfoList() |
BootTimeInfoDto |
getBootTimeInfoDto() |
String |
getExecutableFullPath() |
void |
getJvmDtoSchema(List<String> dtoNames) |
List<TargetInfo> |
getTargetInfos(Collection<Integer> ids,
boolean fullyCovered,
boolean descriptiveIds) |
UnitsInfoDto |
getUnitsInfoDto() |
boolean |
isInstrumentationActivated()
Check if bytecode instrumentation is on.
|
void |
newActionSpecificHandler(ActionDto dto) |
void |
newScheduleActionSpecificHandler(ScheduleTaskInvocationDto dto) |
void |
newSearch()
Re-initialize all internal data to enable a completely new search phase
which should be independent from previous ones
|
void |
newTestSpecificHandler() |
void |
setExecutingAction(boolean executingAction) |
void |
setExecutingInitMongo(boolean executingInitMongo) |
void |
setExecutingInitSql(boolean executingInitSql) |
void |
setKillSwitch(boolean b) |
void |
setupForGeneratedTest()
There might be different settings based on when the SUT is run during the
search of EvoMaster, and when it is later started in the generated tests.
|
addSuccessfulInitSqlInsertion, addTableToInserted, categorizeBasedOnResponse, cleanAccessedTables, computeExtraHeuristics, computeMongoHeuristics, customizeMockingDatabase, customizeMockingRPCExternalService, customizeRPCTestOutput, customizeScheduleTaskInvocation, deriveObjectParameterData, doEmploySmartDbClean, enableComputeSqlHeuristicsOrExtractExecution, execInsertionsIntoDatabase, execInsertionsIntoMongoDatabase, executeAction, executeHandleLocalAuthenticationSetup, executeRPCEndpoint, extractRPCProblemDto, extractRPCSchema, extractSqlDbSchemaAndConstraints, getActionIndex, getBootTimeInfoDto, getConnection, getConnectionIfExist, getControllerHost, getControllerPort, getControllerServerPort, getCustomizedValueInRequests, getDatabaseDriverName, getExceptionImportanceLevels, getExtraHeuristics, getInfoForAuthentication, getLocalAuthSetupSchemaMap, getPackagePrefixesToCover, getPreferredOutputFormat, getProblemInfo, getRPCClient, getRPCSchema, getSqlDatabaseSchema, getUnitsInfoDto, handleSeededTests, initMongoHandler, initSqlHandler, invokeScheduleTasks, invokeScheduleTaskWithCustomizedHandling, isScheduleTaskCompleted, isSutRunning, mockDatabasesWithCustomizedHandling, mockRPCExternalServicesWithCustomizedHandling, newAction, newScheduleAction, newTest, packagesToSkipInstrumentation, postSearchAction, readFileAsStringFromTestResource, registerOrExecuteInitSqlCommandsIfNeeded, registerOrExecuteInitSqlCommandsIfNeeded, resetCustomizedMethodForMockObject, resetDatabase, resetExtraHeuristics, seedRPCTests, setControllerHost, setControllerPort, specifyCustomizedNotNullAnnotation, startTheControllerServer, stopTheControllerServer, verifySqlConnectionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDbSpecifications, getMongoConnection, handleLocalAuthenticationSetup, resetStateOfSUT, startSut, stopSutpublic final void setupForGeneratedTest()
SutHandlerpublic final boolean isInstrumentationActivated()
SutControllerisInstrumentationActivated in class SutControllerpublic final void newSearch()
SutControllernewSearch in class SutControllerpublic final void newTestSpecificHandler()
newTestSpecificHandler in class SutControllerpublic final List<TargetInfo> getTargetInfos(Collection<Integer> ids, boolean fullyCovered, boolean descriptiveIds)
getTargetInfos in class SutControllerpublic final List<AdditionalInfo> getAdditionalInfoList()
getAdditionalInfoList in class SutControllerpublic final void newActionSpecificHandler(ActionDto dto)
newActionSpecificHandler in class SutControllerpublic final void newScheduleActionSpecificHandler(ScheduleTaskInvocationDto dto)
newScheduleActionSpecificHandler in class SutControllerpublic final UnitsInfoDto getUnitsInfoDto()
getUnitsInfoDto in class SutControllerpublic final void setKillSwitch(boolean b)
setKillSwitch in class SutControllerpublic final void setExecutingInitSql(boolean executingInitSql)
setExecutingInitSql in class SutControllerpublic final void setExecutingInitMongo(boolean executingInitMongo)
setExecutingInitMongo in class SutControllerpublic final void setExecutingAction(boolean executingAction)
setExecutingAction in class SutControllerpublic BootTimeInfoDto getBootTimeInfoDto()
getBootTimeInfoDto in class SutControllerpublic final String getExecutableFullPath()
getExecutableFullPath in class SutControllerpublic final void getJvmDtoSchema(List<String> dtoNames)
getJvmDtoSchema in class SutControllerpublic final void bootingSut(boolean bootingSut)
SutControllerbootingSut in class SutControllerCopyright © 2016–2025. All rights reserved.