5
5
* Upload the release zip into an s3 bucket and copy the link for the file.
6
6
* Create a new Lambda Function in AWS with the following name
7
7
8
- Note: for the tests to execute this name is required
9
8
``` shell
10
9
lambda-selenium-function
11
10
```
11
+ _ Note: for the tests to execute this name is required_
12
12
13
- * Change the settings of the Lambda Function
13
+ ** _ Change the settings of the Lambda Function _ **
14
14
1 . Set the Runtime to Java 8
15
15
2 . Set the Handler to com.blackboard.testing.lambda.LambdaTestHandler::handleRequest
16
16
3 . Set the Memory to 1536 MB
@@ -23,25 +23,25 @@ Note: S3 is required because of the size of the package.
23
23
24
24
Now the function is ready to be invoked.
25
25
26
- * Clone the repository and cd into the java example
26
+ ** _ Use shell commands to clone the repository and change the working directory to the Java example _ **
27
27
``` shell
28
28
git clone
[email protected] :blackboard/lambda-selenium.git
29
29
cd lambda-selenium/lambda-selenium-java/
30
30
```
31
31
32
- * Run the parameterized test suite ExampleTestSuite using an IDE or from the command line with:
32
+ ** _ Next, run the test suite ' ExampleTestSuite' inside the same shell : _ **
33
33
``` shell
34
34
gradle clean test
35
35
```
36
36
37
37
When the tests are ran, they will be executed in parallel by invoking the Lambda function that was created.
38
- Once the tests are complete, open up the build/screenshots folder to view screenshots taken inside the running tests.
39
- If a test fails, the exception will be thrown for the parameterized test case and logged to the console.
38
+ Once the tests are complete, open folder './ build/screenshots' to view screenshots taken inside the running tests.
39
+ If a test fails, the exception will be thrown for the test case and logged to the console.
40
40
41
41
42
42
#### Packaging A New Function
43
43
44
- To package the jar, run the following command inside the lambda-selenium-java directory
44
+ ** _ To package the jar, run the following command inside the lambda-selenium-java directory _ **
45
45
``` shell
46
46
gradle clean unzipLibs shadowJar
47
47
```
0 commit comments