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

Testing strategies #9

Open
xd009642 opened this issue May 8, 2024 · 1 comment
Open

Testing strategies #9

xd009642 opened this issue May 8, 2024 · 1 comment

Comments

@xd009642
Copy link
Owner

xd009642 commented May 8, 2024

Whole API integration tests, mocking the model, injecting things like failures etc. Make something fancier.

@xd009642
Copy link
Owner Author

xd009642 commented Aug 2, 2024

I want to also use this to experiment with finding a middle point between the testing level I applied in safety critical software and the default level I reach for. Efforts to explain test justifications more, things like property testing, unit tests, integration tests and snapshot tests. Breaking down what areas are important etc etc.

A few things that can cause mistakes/friction that should be taken care of:

  1. Testing behaviour with early cancellation/disconnection and making sure it doesn't take up resources unnecessarily
  2. Stubbing in a different model just for testing
  3. Using tests to validate both client and server and mimicking a user flow
  4. Using tests as documentation on how things should be expected to be used as well as how to not use them (and ensuring it fails nicely)
  5. Possibility of using exposed metrics as part of testing - can this validate our choice/usage of metrics
  6. Testing streams

If possible any examples or extra binaries created to aid in development should be utilised in integration tests as well.

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