Replies: 5 comments 6 replies
-
I think the main thing that needs to happen with load and soak testing is its application to individual units as opposed to just the e2e which currently include several services. |
Beta Was this translation helpful? Give feedback.
-
Are there starting points for a methodology you want to suggest? @musitdev 's framework already encodes a fairly opinionated one. Are we considering implementing tests that explore a test space--i.e., evolutionary testing or randomized testing? |
Beta Was this translation helpful? Give feedback.
-
I think a good small task we could split out immediately is reporting some coverage. Let's open up another discussion for this. |
Beta Was this translation helpful? Give feedback.
-
I would say we throw anything that requires setup (beyond the development environment provided by the nix shell), should be throw behind an e2e flag. The distinction between integration and unit should mainly be conceptual. The separation of e2e and unit tests in code is another more discrete task we can immediately split out. It's also something we've put off or half-baked several times. I say we open up another discussion and try to get parts of this assigned and down to issues ASAP (EOD). |
Beta Was this translation helpful? Give feedback.
-
I do think we should lead with data domain fuzzing. I've worked on fuzzing setups before, so I can help here. But, this is a long term project and definitely another discussion. |
Beta Was this translation helpful? Give feedback.
-
Discuss our approach to testing.
Short term: essential coverage
Tests described in this section must be implemented to consider our implementation initially workable.
End-to-end testing
Test scenarios
Load and soak testing
Define the methodology used here.
submit_transaction
vs.get_transaction_by_hash
.Unit testing
Written to support development, mainly in protocol units and utility crates.
May include integration-style tests, requiring local/remote setup to run, but mocking should be preferred.
Medium-term plans
Test coverage
Coverage can be used as KPI.
Decide what we want to collect coverage on: e2e only or including the unit tests? There are tradeoffs.
Coverage of E2E only:
Coverage of unit tests:
Long shot
Fuzzing
What kinds of fuzzing?
Beta Was this translation helpful? Give feedback.
All reactions