near / nearcore

Reference client for NEAR Protocol
https://near.org
GNU General Public License v3.0
2.31k stars 618 forks source link

Figure out long-term plan for testing Client #6912

Open matklad opened 2 years ago

matklad commented 2 years ago

Today, our testing story for the client is inconsistent.

On the one hand, client is isolated from the runtime via RuntimeAdapter trait and has a simple KeyValue runtime specifically for tests.

On the other hand, due to https://github.com/near/nearcore/issues/6910, many tests can't be run with KeyValue runtime, and require full runtime.

We should move to either:

matklad commented 2 years ago

Discussed this a bit, current thinking: