Hello world
- 0 replies
- 0 recasts
- 0 reactions
Anyone still remembers Jenkins? #GithubActions are the future
- 0 replies
- 0 recasts
- 0 reactions
I remember my first time using Python’s `@patch` decorator. I was dealing with slow, unreliable API calls in my tests. My mentor suggested mocking the API responses. Skeptical but desperate, I tried it. Suddenly, my tests were fast and stable. However, I once mocked the wrong method, causing my tests to return the same response every time. It took an hour to realize my mistake. Lesson learned: always double-check your mocks! Now, `@patch` is a go-to tool for making testing smoother and more reliable. #PythonTesting #MockingMagic
- 0 replies
- 0 recasts
- 0 reactions