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

Implement Unit Testing #705

Open
ptomasula opened this issue Mar 1, 2024 · 3 comments
Open

Implement Unit Testing #705

ptomasula opened this issue Mar 1, 2024 · 3 comments

Comments

@ptomasula
Copy link
Member

ptomasula commented Mar 1, 2024

QA for development and releases of the application is largely dependent on manual approaches. While manually testing can have a place in QA procedures, there are downsides such as the higher labor involved and the lack of consistency (which can miss things like #704, #663, #658, etc.). We should strive to implement a repeatable test suite that can be run during develop and prior to releases and then supplement with additional manual QA.

I'll stop short of setting any specific coverage goals, but I think a good first step is just develop a test suite that confirms all endpoints are returning the expected response. From there, we can work on extending to other parts of the code. I'm a big fan of the pytest library, but we should discuss options with the team.

@ptomasula
Copy link
Member Author

Pointing to #707, as another example of where a simple unit test would help catch these types of errors.

@neilh10
Copy link

neilh10 commented Mar 4, 2024

I could do some basics with a python script - looking at grey box testing (somewhere between black box and exercising white box architectural elements)
I guess the concept is really regression test, as was all working. Most challenging part of working code to keep proving its working after each release.

@neilh10
Copy link

neilh10 commented Apr 10, 2024

I've developed some external tests at a system level, as if from an internet user - a broad brush system verification view of processes a ModularSensors user follows.

Seems maybe this is not what is being thought of as a pytest individual module.

Should I put make it a separate issue of a "Soak Test" to track it?.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants