This is the module with automation tests for dlab integration testing.
Automation tests could be ran from UNIX and Windows machines. The prerequisites are:
The Java parameters are key value pairs prefixed with “-D” passed to Java Required Java parameters are: “jenkins.buildNumber”, “cluster.username”, “cluster.os.family”
Example:
“config.properties” file example could be found in the module root “example” directory.
Scenario files example can be found in module root “scenario_jupyter” directory.
Amazon instances configuration json files examples can be found in module root “ec2_templates” directory.
There are 3 modes: server and dev and dev local. Base on these modes the configuration files should be placed in different locations.
Server does not require any specific parameters. The configuration files locations is following for server mode:
Dev mode has 2 choices run against service deployed in Amazon or against local mocked services.
To be able to run tests against locally deployed service, it is required to pass following parameters:
Also you should describe following parameters into config.properties file or to pass it to JVM:
To be able to run tests against services deployed in Amazon, it is required to pass following parameters:
The “execution.threads” property with value 1 limits threads for notebooks testing to 1. So all tests would be executed synchronously.
To run automation tests in dev mode it is required to pass a few more Java parameters:
Example:
In this case the application configuration is following: