Account History vs Condenser unit tests - part 4
This is a follow-up to !862 (merged)
The current rough working plan on #428 (closed):
-
Separate scenario from testing parts using lambdas for each existing test. -
Split each existing test into three (one for get_ops_in_block
/get_transaction
/get_account_history
), renaming the tests accordingly. -
Create separate suite for each of the three tested functions. -
Speed up the tests using configuration.data
to get the operations in as few blocks as possible. -
Improve test_get_transaction
by adding patterns (as implemented fortest_get_ops_in_block
&test_get_account_history
). -
Improve test_get_account_history
by adding more variations of call arguments (e.g. reversible blocks, filter low/high etc). -
Add get_account_history
tests for each scenario (seeget_account_history_convert_and_limit_order
). -
Continue conversion of account_history_by_condenser_test
into new scenarios, adding triple tests for each one. -
Create scenarios for missing virtual operations, adding triple tests for each one.
Edited by Łukasz Bujak