oasisprotocol / nexus

Official indexer for the Oasis Network.
Apache License 2.0
15 stars 4 forks source link

analyzer/api: Improve e2e testing #77

Open aefhm opened 2 years ago

aefhm commented 2 years ago
SUMMARY

Add e2e tests for the staking/commission/validator endpoints.

ISSUE TYPE
COMPONENT NAME
ADDITIONAL INFORMATION
mitjat commented 2 years ago

The infra for e2e testing is now built in #142 , but these tests need to be written still.

mitjat commented 2 years ago

https://app.clickup.com/t/3r2m45u

pro-wh commented 1 month ago

Comment from Mitja Trampus

e2e regression tests are a higher priority right now, e.g. e2e regression test: Support non-block analyzers ; they give us most of the bang for a lot less buck.

But for corner cases, synthetic e2e tests would still be useful. Example of a recent bug that we cannot easily verify via regression tests because it occurs so rarely: https://github.com/oasisprotocol/nexus/pull/517