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

support tests that involve server-side state changes #2266

Open
cfm opened this issue Oct 25, 2024 · 0 comments
Open

support tests that involve server-side state changes #2266

cfm opened this issue Oct 25, 2024 · 0 comments

Comments

@cfm
Copy link
Member

cfm commented Oct 25, 2024

Description

Orthogonally to #1992, #2252 (review) has demonstrated the value of some test cases that involve server-side changes that can't be initiated from the Client, like the appearance of new source (via the Source Interface) or the deletion of a source on the server (via the Journalist Interface or another Client instance). It would be nice to be able to do one or more of the following, from easiest to hardest:

  1. Have tests run scripts (loaddata.py, sqlite ...) inside the running development server.
  2. Have tests make specialized calls against a development-only API.
  3. "Fuzz" the Client in a duration-based test suite that involves mutating server state accessed by random combinations of valid Client actions.

How will this impact SecureDrop users?

More-obnoxious testing, better automated, means a more-stable Client.

@cfm cfm changed the title support tests that involve server-side changes support tests that involve server-side state changes Oct 28, 2024
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

1 participant