Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TASK] Integrate the dkg-testing-harness with the runtime directly #616

Open
3 tasks
drewstone opened this issue May 22, 2023 · 0 comments
Open
3 tasks

Comments

@drewstone
Copy link
Contributor

drewstone commented May 22, 2023

Overview

The test harness doesn't touch a mocked runtime. We want to have the ability to test the entire harness in a mocked environment so we can continue to push our simulations into as real a world as possible (changing the state of the chain, etc.)

The harness should be able to execute a simulation (or a simulation should be able to execute the harness). This would allow us to write unit tests for the entire system.

new_test_ext(|| {
	// Run harness
	harness.start().run_for(30 sessions);
	// State tests
	DKGMetadata::get(...)
})

Checklist

  • Investigate and spec a potential integration path
  • Break down into an implementation
  • Write test cases that show utility of such a tool.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Not Started 🕧
Development

No branches or pull requests

2 participants