algorand / algorand/algorand-sdk-testing

Cleanup Updated Response Tests

Offen
#84 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
FDE
Vorherrschende Sprache
Gherkin
Sterne
21
Forks
35
Ø Merge
15 Min.
Gemergte PRs (30 T.)
1

Beschreibung

We had to create a couple new steps to add parameters to existing steps without breaking old stuff:
```
@unit.indexer.rekey
Scenario Outline: LookupAssetTransactions path for rekey
When we make a Lookup Asset Transactions call against asset index with NotePrefix "" TxType "" SigType "" txid "" round minRound maxRound limit beforeTime "" afterTime "" currencyGreaterThan currencyLessThan address "

" addressRole "" ExcluseCloseTo "" RekeyTo ""
```

`When we make a Lookup Asset Transactions...` now has an implementation with/without `RekeyTo ""`.

We could migrate the original `LookupAssetTransactions path for rekey` to the new implementation, and tag the old one with `@deprecated`. In the future once all of our SDKs have implemented the new step we can delete the old one and remove ` @unit.indexer.rekey`

Repeat this for all of the new "call endpoint with parameters" steps.

When we make a Lookup Asset Transactions call against asset index with NotePrefix "" TxType "" SigType "" txid "" round minRound maxRound limit beforeTime "" afterTime "" currencyGreaterThan currencyLessThan address "

" addressRole "" ExcluseCloseTo "" RekeyTo ""

When we make a Lookup Account Transactions call against account "" with NotePrefix "" TxType "" SigType "" txid "" round minRound maxRound limit beforeTime "" afterTime "" currencyGreaterThan currencyLessThan assetIndex rekeyTo ""

When we make a Search Accounts call with assetID limit currencyGreaterThan currencyLessThan round and authenticating address ""

When we make a Search For Transactions call with account "" NotePrefix "" TxType "" SigType "" txid "" round minRound maxRound limit beforeTime "" afterTime "" currencyGreaterThan currencyLessThan assetIndex addressRole "" ExcluseCloseTo "" rekeyTo ""

```

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.