---
title: "Aleksei Zagoskin (@azagoskin) | Hashnode"
description: "Software Architect, Staff Engineer. Read the latest articles by Aleksei Zagoskin on Hashnode."
url: "https://hashnode.com/@azagoskin"
---

@azagoskin

# Aleksei Zagoskin

@azagoskin · The Netherlands 🇳🇱 · Joined April 2022

Software Architect, Staff Engineer

[Website](https://zagosk.in/)

## Comments

[Thanks. It really is.](https://hashnode.com/posts/ai-coding-agent-that-rocks/68d3b323d1458a4c4669c598/comment/68d4039708ba7d876c367fb7#reply-68d4da6147a0abd4985a5385)

Reply · Article · Sep 25, 2025 · [AI Coding Agent That Rocks 🚀](https://hashnode.com/posts/ai-coding-agent-that-rocks/68d3b323d1458a4c4669c598)

[Samuel Sunday , indeed, but at the same time exciting 😅](https://hashnode.com/posts/chatgpt-4-outperformed-90-percent-of-developers/644447c439eda0d16e012695/comment/6444e6b0994f853a1efec2af#reply-64453436ea9c083a86dcd5c3)

Reply · Article · Apr 23, 2023 · [ChatGPT-4 outperformed 90% of developers](https://hashnode.com/posts/chatgpt-4-outperformed-90-percent-of-developers/644447c439eda0d16e012695)

[Tanks Samuel. Good question, what is clear at this point (at least for me, but there are different opinions on this) is that the world we’re used to is changing, and we’re in the very beginning of this change.](https://hashnode.com/posts/chatgpt-4-outperformed-90-percent-of-developers/644447c439eda0d16e012695/comment/6444e6b0994f853a1efec2af#reply-6444e9ad994f853a1efec319)

Reply · Article · Apr 23, 2023 · [ChatGPT-4 outperformed 90% of developers](https://hashnode.com/posts/chatgpt-4-outperformed-90-percent-of-developers/644447c439eda0d16e012695)

[But we have to follow the AI ​​progression 😉](https://hashnode.com/posts/chatgpt-4-outperformed-90-percent-of-developers/644447c439eda0d16e012695/comment/6444ac73ea9c083a86dcc60f#reply-6444d8e7994f853a1efec1a2)

Reply · Article · Apr 23, 2023 · [ChatGPT-4 outperformed 90% of developers](https://hashnode.com/posts/chatgpt-4-outperformed-90-percent-of-developers/644447c439eda0d16e012695)

[Ah, it's Rider, it offers this stuff out of the box. I believe Resharper has it as well.](https://hashnode.com/posts/unit-tests-done-right/626ef1d7a2d355d4df441063/comment/62bb2ba9c2f205e7cdb18521#reply-62c86c6155f37390f97ca3d1)

Reply · Article · Jul 8, 2022 · [Unit Tests Done Right](https://hashnode.com/posts/unit-tests-done-right/626ef1d7a2d355d4df441063)

[Good call. Sometimes I don't check the exception message at all, just exception type and properties (for custom exceptions).](https://hashnode.com/posts/unit-tests-done-right/626ef1d7a2d355d4df441063/comment/62bb2b657131dfe7a8b59651#reply-62c86c3655f37390f97ca3cd)

Reply · Article · Jul 8, 2022 · [Unit Tests Done Right](https://hashnode.com/posts/unit-tests-done-right/626ef1d7a2d355d4df441063)

[We may consider these things for testing: Happy path e.g. return value is correct / expected exception gets thrown / messages get published etc. All if-else-switch branches. Edge cases such as awkward input parameters (int.MaxValue/MinValue/0, long strings, nulls, empty strings etc). The order of method calls (e.g. validation goes before we save data to the database).](https://hashnode.com/posts/unit-tests-done-right/626ef1d7a2d355d4df441063/comment/62bb2af67131dfe7a8b5964b#reply-62c86bfce62bf98e0fb06148)

Reply · Article · Jul 8, 2022 · [Unit Tests Done Right](https://hashnode.com/posts/unit-tests-done-right/626ef1d7a2d355d4df441063)

[Good point! Your assumption is absolutely correct, cancellation tokens come from controllers and do the cancellation, for instance, if/when a connection between the client and the server is interrupted. In these cases we may want to cancel "get" queries while let others finish.](https://hashnode.com/posts/unit-tests-done-right/626ef1d7a2d355d4df441063/comment/62bb2a697131dfe7a8b5963b#reply-62c86ad555f37390f97ca391)

Reply · Article · Jul 8, 2022 · [Unit Tests Done Right](https://hashnode.com/posts/unit-tests-done-right/626ef1d7a2d355d4df441063)

[This article is supposed to be the last one in this short series. At the moment I’m working on an open source project which I’m going to blog about later on. The amount of work is rather decent so I’m afraid I don’t have ETA at that point. As for DI, routing and security, I prefer to cover these with integration tests. Nevertheless, the first two could be nicely covered by unit tests.](https://hashnode.com/posts/unit-tests-done-right-part-2/62790151ffdd2d96c766f2a6/comment/62bb357e7131dfe7a8b5982c#reply-62bb4448c2f205e7cdb188a3)

Reply · Article · Jun 28, 2022 · [Unit Tests Done Right (Part 2)](https://hashnode.com/posts/unit-tests-done-right-part-2/62790151ffdd2d96c766f2a6)

[Good question, Roman Izosimov. Usually I prefer to declare simple things explicitly in the "arrange" section, while more complex setup may deserve reusable methods or extension methods for Fixture e.g. F.CreateCustomerWithOrders().](https://hashnode.com/posts/unit-tests-done-right-part-2/62790151ffdd2d96c766f2a6/comment/62bb334ec2f205e7cdb18670#reply-62bb42dec2f205e7cdb1887e)

Reply · Article · Jun 28, 2022 · [Unit Tests Done Right (Part 2)](https://hashnode.com/posts/unit-tests-done-right-part-2/62790151ffdd2d96c766f2a6)
