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/EMResearch/EvoMaster/blob/master/docs/write_driver.md
| Constructor and Description |
|---|
EmbeddedSutController() |
| Modifier and Type | Method and Description |
|---|---|
List<AdditionalInfo> |
getAdditionalInfoList() |
String |
getExecutableFullPath() |
List<TargetInfo> |
getTargetInfos(Collection<Integer> ids) |
UnitsInfoDto |
getUnitsInfoDto() |
boolean |
isInstrumentationActivated()
Check if bytecode instrumentation is on.
|
void |
newActionSpecificHandler(ActionDto 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 |
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.
|
categorizeBasedOnResponse, computeExtraHeuristics, enableComputeSqlHeuristicsOrExtractExecution, execInsertionsIntoDatabase, executeAction, executeHandleLocalAuthenticationSetup, executeRPCEndpoint, extractRPCSchema, getActionIndex, getConnection, getControllerHost, getControllerPort, getControllerServerPort, getCustomizedValueInRequests, getDatabaseDriverName, getExtraHeuristics, getInfoForAuthentication, getLocalAuthSetupSchemaMap, getPackagePrefixesToCover, getPreferredOutputFormat, getProblemInfo, getRPCClient, getRPCSchema, getSqlDatabaseSchema, getUnitsInfoDto, handleSql, initSqlHandler, isSutRunning, newAction, newTest, resetExtraHeuristics, setControllerHost, setControllerPort, startTheControllerServer, stopTheControllerServer, verifySqlConnectionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithandleLocalAuthenticationSetup, 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)
getTargetInfos in class SutControllerpublic final List<AdditionalInfo> getAdditionalInfoList()
getAdditionalInfoList in class SutControllerpublic final void newActionSpecificHandler(ActionDto dto)
newActionSpecificHandler 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 String getExecutableFullPath()
getExecutableFullPath in class SutControllerCopyright © 2016–2022. All rights reserved.