Skip to content

Commit

Permalink
Update docs/concepts/transactions: «Tests A, B» instead of «Tx A, B» (#…
Browse files Browse the repository at this point in the history
…2537)

Update concepts/transactions.md: «Tests A and B» instead of «Transactions A and B»
  • Loading branch information
olange committed May 22, 2023
1 parent 607e502 commit 3fd41a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/docs/concepts/transactions.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ When a test is executed within a transaction, if it generates any outputs, its o

> :information_source: Outputs generated by steps don't modify the selected [environment](./environments). It only modifies the transaction run context object.
Consider you have 3 tests within a transaction: A, B, and C. Transactions A and B generate outputs called A_OUTPUT and B_OUTPUT, respectively. When running the transaction, we provide an environment which contains a `HOST` environment variable. The execution of test A would only be able to reference `env:HOST`. B would be able to reference `env:HOST`, and `env:A_OUTPUT`. While C would be able to reference all three environment variables: `env:HOST`, `env:A_OUTPUT`, `env:B_OUTPUT`.
Consider you have 3 tests within a transaction: A, B, and C. Tests A and B generate outputs called A_OUTPUT and B_OUTPUT, respectively. When running the transaction, we provide an environment which contains a `HOST` environment variable. The execution of test A would only be able to reference `env:HOST`. B would be able to reference `env:HOST`, and `env:A_OUTPUT`. While C would be able to reference all three environment variables: `env:HOST`, `env:A_OUTPUT`, `env:B_OUTPUT`.

> :information_source: A single test can contain as many outputs as you like.
Expand Down

0 comments on commit 3fd41a6

Please sign in to comment.