Skip to content

Instantly share code, notes, and snippets.

@eli-halych
eli-halych / gist:49ccf169f34b195f2faed26bde63221a
Last active July 14, 2025 09:49
llm_prompt_python_unit_testing
Let's create some units tests - simple ones to test each method separately, considering only inputs and possible expected outputs. Don't verify log messages. The unit tests should only focus on the content of specific methods only. If anything is outside that method being called - mock/patch it.
Make sure the test function actually tests the code of the function, because I need full coverage.
Add typing to all input and output values of the test function.
Add a doctoring containing only a single message about what the test function is doing.
Don’t add any other comments anywhere.
@eli-halych
eli-halych / Activity_diagram.jpg
Last active December 16, 2019 11:31
MUSIC FESTIVAL TICKETS SALE SYSTEM, CONCERT AND EMPLOYEE MANAGEMENT
Activity_diagram.jpg
@eli-halych
eli-halych / entity_diagram.png
Last active February 6, 2019 15:58
Flask-REST-API images
entity_diagram.png