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

Mock classes/threads for backend #1878

Open
3 tasks
PeterSurda opened this issue Nov 11, 2021 · 0 comments
Open
3 tasks

Mock classes/threads for backend #1878

PeterSurda opened this issue Nov 11, 2021 · 0 comments
Assignees

Comments

@PeterSurda
Copy link
Member

PeterSurda commented Nov 11, 2021

Create the following mock threads that can be used for UI tests

  • worker (pretend to do PoW and mark message as sent after a while, or pretend the key doesn't exist)
  • Object Processor (pretend objects are arriving from network and insert records into inbox or pubkey tables)
  • Network thread (just return fake connections, bandwidth)

These will then be used for tests so that we have a more lightweight UI testing capability (Qt, kivy, ...)
Make them compatible with Python 2 and Python 3

@Bitmessage Bitmessage deleted a comment from kdcis Nov 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants