code-specialist / fastapi-keycloak

Keycloak integration for Python FastAPI
https://fastapi-keycloak.code-specialist.com/
Apache License 2.0
193 stars 50 forks source link

Initial version proposal #6

Closed code-specialist closed 2 years ago

code-specialist commented 2 years ago

Done

TODO before merging

JonasScholl commented 2 years ago

Btw, let's have a discussion about die the naming / categorization of tests :D I think the naming here doesn't fit to the type of tests. For instance: functional tests are a kind of black box tests where you call a system or a (bigger) system component and expect a specific output. You don't care about what happens inside. The word "funcional" is realated to the specified functional requirements and not meant as a function in the source code. The current tests in the functional-tests folder are clearly unit tests in my opinion 😄

code-specialist commented 2 years ago

Btw, let's have a discussion about die the naming / categorization of tests :D I think the naming here doesn't fit to the type of tests. For instance: functional tests are a kind of black box tests where you call a system or a (bigger) system component and expect a specific output. You don't care about what happens inside. The word "funcional" is realated to the specified functional requirements and not meant as a function in the source code. The current tests in the functional-tests folder are clearly unit tests in my opinion 😄

For me, a unit is a collection of functions, a class so to say, that fully sustains itself. A functional test tests functional behavior. I'm aware this is not common sense and that my personal interpretation of these two terms might irritate any logical thinking human being which is why I will rename them correspondingly