Skip to content

Tests/s3 lambda tests#13

Open
AMartishyn-testlum wants to merge 2 commits intomainfrom
tests/s3-lambda_tests
Open

Tests/s3 lambda tests#13
AMartishyn-testlum wants to merge 2 commits intomainfrom
tests/s3-lambda_tests

Conversation

@AMartishyn-testlum
Copy link
Copy Markdown
Collaborator

No description provided.

… tests with variation file, tests with conditions for bucket/file.
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.







{{result}} 6

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

<var comment="Create variable with constant value"
     name="result">
    <constant value="0"/>
</var>

<repeat comment="Using repeat tag to perform a repetitive task"
        variations="variation_example.csv">
    <var comment="Create variable with constant value"
         name="result">
        <expression value="{{result}} + {{a}}"/>
    </var>
</repeat>

<assert comment="check value of result after repeat">
    <equal comment="Check equality of result variable to sum of all digits in variations">
        <content>{{result}}</content>
        <content>6</content>
    </equal>
</assert>

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. create bucket
  2. repeat
  3. inside repeat upload files
  4. outside repeat check files

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no condition for file command

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no condition for bucket command

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. s3 comment inject
  2. s3 alias inject
  3. expected inject
  4. upload inject

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

change tag to end2end

<tags>lambda</tags>
</settings>

<repeat comment="Invoke lambda function with repeat command N times" times="5">
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

repeat with variations

</settings>

<lambda comment="Use variations and invoke student-scores-python with different failing student scores - average {{average}}"
alias="LAMBDA"
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

inject here


<lambda comment="Use variations and invoke student-scores-python with different failing student scores - average {{average}}"
alias="LAMBDA"
functionName="student-scores-python">
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

inject here

@@ -0,0 +1,8 @@
{
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

inject here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants