<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Alex Kondrashov on Medium]]></title>
        <description><![CDATA[Stories by Alex Kondrashov on Medium]]></description>
        <link>https://medium.com/@kondrashov?source=rss-6d71d8df2b3c------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*XRFOfjvkynkJrl8P4uWEwg.jpeg</url>
            <title>Stories by Alex Kondrashov on Medium</title>
            <link>https://medium.com/@kondrashov?source=rss-6d71d8df2b3c------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 03 Dec 2026 08:57:29 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@kondrashov/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[What Do You Actually Do at Work as an Engineering Manager?]]></title>
            <link>https://kondrashov.medium.com/what-do-you-actually-do-at-work-as-an-engineering-manager-7461fd56321a?source=rss-6d71d8df2b3c------2</link>
            <guid isPermaLink="false">https://medium.com/p/7461fd56321a</guid>
            <category><![CDATA[tech-leadership]]></category>
            <category><![CDATA[team-leader]]></category>
            <category><![CDATA[engineering-manager]]></category>
            <category><![CDATA[engineering]]></category>
            <category><![CDATA[engineering-mangement]]></category>
            <dc:creator><![CDATA[Alex Kondrashov]]></dc:creator>
            <pubDate>Tue, 24 Jun 2025 07:37:49 GMT</pubDate>
            <atom:updated>2025-06-24T08:09:11.865Z</atom:updated>
            <content:encoded><![CDATA[<h3>“What Do You Do at Work as an Engineering Manager?”</h3><p>Friends have asked me, ‘What do you actually do at work as an Engineering Manager?’ And honestly — that question left me puzzled and reflecting.</p><p>When I was a software engineer, the answer was simple.</p><blockquote><strong><em>“What do you do?”</em></strong></blockquote><blockquote><strong><em>“I code.”</em></strong></blockquote><p>But when I became an Engineering Manager, I couldn’t give such a direct response when asked by my friends.</p><p>That question got me thinking about my role and what I actually do every day.</p><p>Being an Engineering Manager is a fundamentally different job from being a Software Engineer.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*U2l_kp77EqZqWyArNTUpZg.png" /><figcaption>A career path for a Software Engineer according to Big Tech companies (formerly FAANG)</figcaption></figure><h3>From Senior Engineer to Junior Again</h3><p>The transition from Software Engineer to Engineering Manager often looks like a step up. But in reality, it’s a shift to a new role entirely. After being a Senior Engineer, you essentially start over — this time as a <strong>junior Engineering Manager</strong>.</p><p>You’re no longer judged by your ability to write code.</p><p>You’re judged by your ability to:</p><ul><li><strong>Manage</strong></li></ul><p>and</p><ul><li><strong>Lead</strong></li></ul><h3>So, What Do I Actually Do?</h3><p>Here’s how I would describe my responsibilities. There are some tasks that I consider <strong>technical</strong>:</p><h4>Architecture</h4><p>I review architectural decisions and help align our system design across the web app and CRM.</p><h4>Tooling &amp; Best Practices</h4><p>It’s code reviews and deployments. I rely on tooling to tell us when something’s off in our codebase. Tools like linters, Uptime Robot, PageSpeed Insights, and SEMrush help surface issues before they become problems. My job is to make sure we’re paying attention to these.</p><h4>Unblocking Engineers</h4><p>I often dive into the weeds, helping engineers navigate complex systems and constraints.</p><h4>Occasional Coding</h4><p>It’s been a while <strong>since</strong> I’ve coded, but I like entertaining the idea that I can do it if I have to. I do believe that I still have an impact on deliverables. At some point, I had to admit that people can code much better than me and I need to trust them.</p><h3>My daily Non-Technical tasks</h3><p>As Engineering Manager there are some non-technical tasks that I have to do:</p><h4>Project Planning</h4><p>This is the project management side of the role. I act as the Project Manager on engineering initiatives — owning timelines, outcomes, and delivery. Estimating, planning, and coordinating engineering efforts is now part of my day-to-day.</p><h4>People Management</h4><p>This includes onboarding, off-boarding, arranging access, and organising training — the day-to-day logistics of managing a team.</p><h4>Stakeholder Communication</h4><p>I build trust with other departments so that when we need to make hard calls or shift priorities, there’s already a relationship in place.</p><h4>Prioritisation</h4><p>Critical when resources are limited. I work with the team and stakeholders to ensure we’re solving the right problems. I also reflect those priorities in our backlog.</p><h4>Process &amp; Admin</h4><p>I’m a strong believer in using a ticketing system. It helps us track work, manage capacity, and stay organised. It’s <strong>fair</strong> to say that the work doesn’t need to get done unless there is a ticket with a description and acceptance criteria.</p><p>Another part of this is to police best practices.</p><h4>Delivery Management</h4><p>I’m responsible for planning timelines and communicating milestones. If something’s at risk, it’s my job to flag it early and adjust the plan accordingly.</p><h4>Resourcing</h4><p>Whether it’s removing blockers or adjusting team focus, I work to keep things moving. I look after the team’s capacity — helping balance priorities against available resources.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7461fd56321a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Taking Ownership: My 5-Year Journey to Engineering Management]]></title>
            <link>https://blog.devgenius.io/taking-ownership-my-5-year-journey-to-engineering-management-c427935dc85b?source=rss-6d71d8df2b3c------2</link>
            <guid isPermaLink="false">https://medium.com/p/c427935dc85b</guid>
            <category><![CDATA[engineering-mangement]]></category>
            <category><![CDATA[professional-development]]></category>
            <category><![CDATA[leadership]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[careers]]></category>
            <dc:creator><![CDATA[Alex Kondrashov]]></dc:creator>
            <pubDate>Mon, 09 Jun 2025 09:52:11 GMT</pubDate>
            <atom:updated>2025-06-09T09:52:11.509Z</atom:updated>
            <content:encoded><![CDATA[<h3>How taking ownership led me to a leadership role — without waiting for a formal promotion.</h3><h3>TL;TR</h3><p><strong>The single most impactful thing I did to move into a leadership role? I took ownership. Not just of tasks, but of a broader part of the product and platform. If you’re thinking about transitioning into leadership, I genuinely believe it’s within reach — if you’re ready to step up before you’re officially asked to.</strong></p><h3>The Starting Point</h3><p>I had around eight years of software engineering experience under my belt. I’ve always loved solving tech problems, shipping features, and seeing things work rather than fall apart. But I also found myself gradually drawn to bigger-picture challenges — things that went beyond my assigned tickets.</p><p>Thanks for reading Engineer, Directing! Subscribe for free to receive new posts and support my work.</p><p>In 2018, I joined a new company as the second engineer on what was then a very small team. Over time, that team grew to around 20 people. As we scaled, my manager wanted to create more structure. Instead of checking in with every engineer individually, he needed a go-to person. That person became me.</p><p>That’s when I first heard it:</p><blockquote><strong><em>“Your team will be looking after this project.”</em></strong></blockquote><p>It sounded casual, almost throwaway — but it marked the beginning of a major shift in my career.</p><h3>Individual Contributor → Team Lead</h3><p>There was no formal promotion, no pay rise, no title change in the HR system. But in practice, I had stepped into a role where I owned more of the team’s work — coordinating efforts, reviewing others’ code, unblocking and communicating.</p><p>What helped me grow into that role?</p><ul><li>I knew the codebase inside-out — I’d been there since the beginning.</li><li>I paid close attention to my manager’s decisions, adopting his architectural thinking and style.</li><li>And most importantly, I started thinking beyond my tasks — focusing on outcomes for the whole team.</li></ul><p><strong>And I genuinely believe every project benefits from having a go-to person — someone who leads, who owns it, and who others can rely on to drive it forward.</strong> It doesn’t always need to be a formal role at first, but having that sense of ownership makes a huge difference — for the project and for your own growth.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*J6Z2e7_cwQ4OzYdwdiwqNQ.jpeg" /><figcaption>Team structure before and after introducing a Team Lead or a Manager.</figcaption></figure><h3>Team Lead → Engineering Manager</h3><p>I found myself searching for a new role and came across an Engineering Manager position. The role required commercial experience leading a team — something I had nearly five years of by that point..</p><p>I applied and got invited to interview.</p><p>What surprised me was that the interview wasn’t deeply technical. Instead, it focused on how I think and lead.<br>Questions like:</p><blockquote>“How would you handle a conflict between two team members?”</blockquote><blockquote>“What would you do if your team missed a deadline?”</blockquote><blockquote>“How do you <strong>give</strong> feedback?”</blockquote><blockquote>“How do you <strong>take</strong> feedback?”</blockquote><p>It was all about people, judgement, and perspective.</p><p>I got the job. And just like that, I became an Engineering Manager.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c427935dc85b" width="1" height="1" alt=""><hr><p><a href="https://blog.devgenius.io/taking-ownership-my-5-year-journey-to-engineering-management-c427935dc85b">Taking Ownership: My 5-Year Journey to Engineering Management</a> was originally published in <a href="https://blog.devgenius.io/">Dev Genius</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[To mock, or not to mock, that is the question]]></title>
            <link>https://blog.devgenius.io/to-mock-or-not-to-mock-that-is-the-question-c2b106401840?source=rss-6d71d8df2b3c------2</link>
            <guid isPermaLink="false">https://medium.com/p/c2b106401840</guid>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[dotnet]]></category>
            <category><![CDATA[testing]]></category>
            <dc:creator><![CDATA[Alex Kondrashov]]></dc:creator>
            <pubDate>Wed, 05 Apr 2023 05:50:55 GMT</pubDate>
            <atom:updated>2023-04-08T07:17:57.443Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AyBxDPFwaRXggWMp7QJHYA.jpeg" /><figcaption>Generated by <a href="https://www.bluewillow.ai/">BlueWillow</a></figcaption></figure><h3>TLTR</h3><p>Mocking is often seen as a default choice when writing tests. Yet it might introduce unnecessary complexety to your system. There are other approaches to manage dependencies in tests.</p><h3>More</h3><p>What is mocking?</p><blockquote>Mocking — creating objects that simulate the behaviour of real objects.</blockquote><p>Here is how mocking looks in C# in a nutshell (JustMock library):</p><pre>// Instantiate a new mock<br>var mockContactRepository = Mock.Create&lt;IContactRepository&gt;();<br><br>// Set up the mock and it&#39;s return value <br>Mock.Arrange(() =&gt; mockContactRepository.GetContacts())<br>  .Returns(new List&lt;Contact&gt;<br>  {<br>      new Contact { ContactId = 1 }, new Contact { ContactId = 2 }<br>  });<br><br>// Pass mock as a dependency<br>var contactManager = new ContactManager(mockContactRepository);</pre><p>Although it sounds very useful it has to be taken with a pinch of salt.</p><h3>Shortcomings of mocking</h3><h4>1. Runtime instead of compile-time feedback on changes</h4><p>If we imagine a test that has Setup() but doesn’t have a return value. When we add a return value, mock doesn’t suggest to add a return type. We only find out about it when running the test.</p><p>Here is the example of this shortcoming in C# (Moq library)</p><pre>public class CarsControllerTests<br>{<br>    <br>    [Fact]<br>    public async void testCreateCar()<br>    {<br>        var repositoryMock = new Mock&lt;ICarRepository&gt;();<br><br>        // No return value set<br>        repositoryMock.Setup(r =&gt; r.Create(car));<br><br>        var carsController = new CarsController(repositoryMock.Object);<br>        var car = new Car() { Name = &quot;BMW&quot;, Available = true };<br>        var result = await controller.Create(car);<br>        <br>        // Use return value on result<br>        Assert.Equal(&quot;BMW&quot;, result.Name);<br>    }<br>}</pre><p>The test has built sucessfully but the test will not pass. The reason is no return value set. The controller relies on returned value from the repository.</p><pre>&gt;&gt; dotnet test<br><br>Starting test execution, please wait...<br>A total of 1 test files matched the specified pattern.<br>[xUnit.net 00:00:01.0309627]     Cars.Tests.CarsControllerTests.testCreateCar [FAIL]<br>  Failed Cars.Tests.CarsControllerTests.testCreateCar [94 ms]<br>  Error Message:<br>   System.NullReferenceException : Object reference not set to an instance of an object.<br>  Stack Trace:<br>     at Cars.CarsController.Create(Car car) in /Users/kondrashov/Projects/unit-testing-mocking/src/Cars/Controllers/CarController.cs:line 20<br>   at Cars.Tests.CarsControllerTests.testCreateCar() in /Users/kondrashov/Projects/unit-testing-mocking/test/Cars.Tests/CarsControllerTests.cs:line 20<br>   at System.Threading.Tasks.Task.&lt;&gt;c.&lt;ThrowAsync&gt;b__128_0(Object state)<br>Failed!  - Failed:     1, Passed:     0, Skipped:     0, Total:     1, Duration: &lt; 1 ms - Cars.Tests.dll (net7.0)</pre><p>We get a null reference exception at return car.Id.ToString() To make the test happy we need to use ReturnsAsync() method on our mock:</p><pre>// Set return value<br>repositoryMock.Setup(r =&gt; r.Create(car))<br>    .ReturnsAsync(new Car { Id = &quot;1&quot;, Name = &quot;BMW&quot;, Available = true });</pre><p>It seems easy and straightforward to change the mock above. But more compex methods become less trivial. The value that this test delivers becomes less with all the time that we spent for it’s maintance.</p><p>We would want to know when something broke at the compile-time, instead of runtime.</p><h4>2. Tight coupling to contracts</h4><p>Mocking is coupled with contracts by nature. It makes any refactoring harder, because you have to change all realted mocks.</p><p>Below I have about 6 different services in my mocking. Refactoring contracts of below services will result in breaking all these mocks. Multiply the breakages by number of test files where you set up mocks.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pEXVPDgYWj0oWkYIFex6bQ.png" /><figcaption>Complex mock set up</figcaption></figure><h4>3. Short System Under Test</h4><p><em>System Under Test (SUT)</em> is shorter when we mock a dependency:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*evmvYLDTO41Akj0o2Gjgdg.png" /><figcaption>System Under Test in Unit tests</figcaption></figure><p>A good alternative to such test is an Integration Test with longer <em>SUT</em>:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*U6XknamSymtDVRDXKY-8zw.png" /><figcaption>System Under Test in Integration tests</figcaption></figure><h4>4. Long-winded set up in each test</h4><p>A testing framework usually allows you to group your set up. However it’s not always the case as each test often requires a dedicated set up. Below is an example of how each test requires a code to set up mocking:</p><pre>[TestClass]<br>public class MyTestClass<br>{<br>    private Mock&lt;IMyInterface&gt; _mock;<br><br>    [TestInitialize]<br>    public void Setup()<br>    {<br>        _mock = new Mock&lt;IMyInterface&gt;();<br>    }<br><br>    [TestMethod]<br>    public void Test1()<br>    {<br>        _mock.Setup(m =&gt; m.MyMethod()).Returns(&quot;Hello&quot;);<br>        var result = _mock.Object.MyMethod();<br>        Assert.AreEqual(&quot;Hello&quot;, result);<br>    }<br><br>    [TestMethod]<br>    public void Test2()<br>    {<br>        _mock.Setup(m =&gt; m.MyMethod()).Returns(&quot;World&quot;);<br>        _mock.Setup(m =&gt; m.AnotherMethod()).Returns(42);<br>        var result1 = _mock.Object.MyMethod();<br>        var result2 = _mock.Object.AnotherMethod();<br>        Assert.AreEqual(&quot;World&quot;, result1);<br>        Assert.AreEqual(42, result2);<br>    }<br><br>    [TestMethod]<br>    public void Test3()<br>    {<br>        _mock.Setup(m =&gt; m.MyMethod()).Returns(&quot;Goodbye&quot;);<br>        var result = _mock.Object.MyMethod();<br>        Assert.AreEqual(&quot;Goodbye&quot;, result);<br>    }<br>}</pre><h4>5. You can’t mock just any method</h4><p>We mock methods. And they have to be public to be eligible for mocking.</p><p>Yet certain frameworks allow to you mock private methods using reflection. This is wrong as it break the incapsulation of your design. Example below in Mockito in Java:</p><pre>when(spy, method(CodeWaithPrivateMethod.class, &quot;doTheGamble&quot;, String.class, int.class))<br>    .withArguments(anyString(), anyInt())<br>    .thenReturn(true);</pre><h3>What can I do instead of mocking?</h3><h4>1. Integration tests</h4><p>Write an Integration Test, not a Unit Test. There is more value in writing an integration test instead of a unit test with mocks. We cover more code by writing less tests.</p><h4>2. End-to-end tests</h4><p>Integration test might rely on an external dependency. In this case you can’t rely on that dependency since you don’t control it. Write an end-to-end test where you would hit your system as if you were a customer of this system.</p><h4>3. Stubs</h4><blockquote>A stub is a small piece of code that takes the place of another component during testing. The benefit of using a stub is that it returns consistent results, making the test easier to write.</blockquote><p>If you can’t write an end-to-end test due to dependecies you can’t control — use Stubs. It simialar to mocking, yet it provides a type checking when you introduce changes to your system. Below is an example of a simple stub for a car repository:</p><pre>public class FakeCarRepository : ICarRepository<br>{<br>    public async Task&lt;Car&gt; Create(Car car)<br>    {<br>        // Any logic to accomodate for creating a car<br>        return new Car();<br>    }<br><br>    public async Task&lt;Car&gt; Get(string id)<br>    {<br>        // Any logic to accomodate for getting a car<br>        return new Car();<br>    }<br>}</pre><p>Another advantage the test becomes cleaner. All setup in extracted into a separate file:</p><pre>[Fact]<br>public async void testCreateCar()<br>{<br>   var car = new Car() { Name = &quot;BMW&quot;, Available = true };<br><br>   var controller = new CarsController(new FakeCarRepository());<br>   var createdCar = await controller.Create(car);<br><br>   Assert.NotNull(createdCar);<br>}</pre><h3>Summary</h3><p>The best approach depends on the specific needs of the project. Consider all trade-offs between mocking and non-mocking. There are other alternatives to mocking out there which you might enjoy.</p><h3>Resources</h3><ol><li><a href="https://medium.com/geekculture/write-an-integration-test-not-an-unit-test-a19572f880a8">Advantages of Integration test over a Unit test</a></li><li><a href="https://medium.com/geekculture/is-there-a-better-way-of-writing-integration-tests-in-using-containers-net-233de3a23891">Using TestContainers library when writing an Integration test</a></li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c2b106401840" width="1" height="1" alt=""><hr><p><a href="https://blog.devgenius.io/to-mock-or-not-to-mock-that-is-the-question-c2b106401840">To mock, or not to mock, that is the question</a> was originally published in <a href="https://blog.devgenius.io/">Dev Genius</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Integration Test for Azure Functions and Cosmos DB walkthrough.]]></title>
            <link>https://medium.com/geekculture/integration-test-for-azure-functions-and-cosmos-db-walkthrough-aec0d4198567?source=rss-6d71d8df2b3c------2</link>
            <guid isPermaLink="false">https://medium.com/p/aec0d4198567</guid>
            <category><![CDATA[integration-testing]]></category>
            <category><![CDATA[dotnet]]></category>
            <category><![CDATA[cosmosdb]]></category>
            <category><![CDATA[azure-functions]]></category>
            <category><![CDATA[azure-pipelines]]></category>
            <dc:creator><![CDATA[Alex Kondrashov]]></dc:creator>
            <pubDate>Tue, 27 Dec 2022 17:01:28 GMT</pubDate>
            <atom:updated>2022-12-27T17:01:28.992Z</atom:updated>
            <content:encoded><![CDATA[<h3>Integration Test for Azure Functions and Cosmos DB walkthrough</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UO8k9CTWvwlxpAVsUivtkQ.jpeg" /><figcaption>Photo by <a href="https://pixabay.com/users/%E7%BA%A2%E7%81%AB-2936866/">红火</a> on <a href="https://pixabay.com/?utm_source=medium&amp;utm_medium=referral">Pixabay</a></figcaption></figure><h3>To Long To Read</h3><p>There is a big advantage of running <em>integration</em> tests with a straightforward setup. It hels you finding bugs earlier in the process and it gives you insurance that code works as expected. Follow my guide below to run your integration test for Azure Function and Cosmos DB.</p><h3>More</h3><blockquote><strong>Integration test</strong> — is a type of software testing in which the different units, modules or components of a software application are tested as a combined entity.</blockquote><p>It’s a good pracrice to spin up dependencies locally if possible. You should choose running tests agains local database instead of a remote one. This has couple advantages:</p><ol><li>Tests are faster to run locally rather than against a remote database.</li><li>You run tests independantly from other developers. The test data from other machines will not impact your database.</li></ol><h3>System under test</h3><blockquote><strong>Azure Functions</strong> is a cloud service available on-demand that provides all the continually updated infrastructure and resources needed to run your applications. You focus on the code that matters most to you, in the most productive language for you, and Functions handles the rest.</blockquote><p>To this example I’ve put togther an Azure Function. It exposes an endpoint to <em>Create</em> cars:</p><pre>public class CarFunction<br>{<br>    private readonly ICarRepository _carRepository;<br>    private readonly ILogger&lt;CarFunction&gt; _logger;<br><br>    public CarFunction(ICarRepository carRepository, ILogger&lt;CarFunction&gt; logger)<br>    {<br>        _carRepository = carRepository ?? throw new ArgumentNullException(nameof(carRepository));<br>        _logger = logger ?? throw new ArgumentNullException(nameof(logger));<br>    }<br><br>    [FunctionName(&quot;CreateCar&quot;)]<br>    public async Task&lt;IActionResult&gt; CreateCar([HttpTrigger(AuthorizationLevel.Anonymous, &quot;post&quot;, Route = &quot;cars&quot;)] CarRequest request, HttpRequest req)<br>    {<br>        try<br>        {<br>            if (string.IsNullOrWhiteSpace(request.Name))<br>                return new BadRequestObjectResult(&quot;Name is mandatory.&quot;);<br><br>            var createdCar = await _carService.CreateCar(request);<br><br>            return new CreatedResult(&quot;/cars/&quot; + createdCar.Id, createdCar);<br>        }<br>        catch (Exception ex)<br>        {<br>            return new ObjectResult(ex.Message) { StatusCode = 500 };<br>        }<br>    }<br>}</pre><p>We will be using Cosmos DB to store cars. Here is how the repository looks:</p><pre>public class CarRepository : ICarRepository<br>{<br>    private CosmosClient _cosmosClient;<br>    private Container _container;<br><br>   public CarRepository(IOptions&lt;Configuration&gt; configuration)<br>    {<br>        this._cosmosClient = new CosmosClient(configuration.Value.ConnectionString);<br>        this._container = _cosmosClient.GetContainer(&quot;CarDatabase&quot;, &quot;Cars&quot;);<br>    }<br>    public async Task&lt;Car&gt; Create(Car car)<br>    {<br>        var itemResponse = await _container.CreateItemAsync(car, new PartitionKey(car.Id));<br>        return itemResponse.Resource;<br>    }<br>}</pre><p>Since we use function app we have to have Startup.cs:</p><pre>public class Startup : FunctionsStartup<br>{<br>    private const string configurationSection = &quot;Cars:Database&quot;;<br>    <br>    protected virtual IConfigurationRoot GetConfigurationRoot(IFunctionsHostBuilder functionsHostBuilder)<br>    {<br>        var local = new ConfigurationBuilder()<br>            .AddJsonFile(Path.Combine(Environment.CurrentDirectory, &quot;local.settings.json&quot;), true, true)<br>            .AddEnvironmentVariables()<br>            .Build();<br>        return local;<br>    }<br>    <br>    public override void Configure(IFunctionsHostBuilder builder)<br>    {<br>        var local = GetConfigurationRoot(builder);<br>        var config = new ConfigurationBuilder().AddEnvironmentVariables();<br>        var configurationSection = local.GetSection(configurationSection);<br>        builder.Services.Configure&lt;Configuration&gt;(configurationSection);<br>        var configuration = config.Build();<br>        builder.Services.AddInfrastructure(configuration);<br>    }<br>}</pre><h4>Azure Cosmos DB Emulator</h4><p>We will run our intergation test against local instance of Azure CosmosDB. It’s availalble for download <a href="https://aka.ms/cosmosdb-emulator">here</a>. Here is how it will look once you launch it:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6M0gic4v-DyUyOt2l3v4Xg.png" /><figcaption>Azure Cosmos DB Emulator in browser</figcaption></figure><h3>Dependency Injection</h3><p>The crutual part of integration test setup is to confige <em>dependency injection</em>. You need the following classes for the setup:</p><h4>TestStartup</h4><p>We will derived from Startup class to define <em>dependency injection</em> for our test.</p><pre>public class TestStartup : Startup<br>{<br>    protected override IConfigurationRoot GetConfigurationRoot(IFunctionsHostBuilder functionsHostBuilder)<br>    {<br>        var currentDirectory = AppDomain.CurrentDomain.BaseDirectory;<br>        var configuration = new ConfigurationBuilder()<br>            .SetBasePath(currentDirectory)<br>            .AddJsonFile(&quot;appsettings.json&quot;, true, true)<br>            .AddJsonFile(&quot;local.settings.json&quot;, true, true)<br>            .AddEnvironmentVariables()<br>            .Build();<br><br>        return configuration;<br>      }<br><br>      public override void Configure(IFunctionsHostBuilder builder)<br>      {<br>          base.Configure(builder);<br>          builder.Services.AddTransient&lt;CarsFunction&gt;();<br>      }<br>  }</pre><h3>Configuration</h3><p>It’s not advisable to store keys and secrets in git repository. For local development we can use local.settings.json to store configuration. Yet we can use appsettings.json to manage configuration. For example, we could use <a href="https://learn.microsoft.com/en-us/azure/devops/pipelines/process/variables?view=azure-devops&amp;tabs=yaml%2Cbatch">pipeline variables</a> and <a href="https://learn.microsoft.com/en-us/azure/devops/pipelines/tasks/reference/file-transform-v1?view=azure-pipelines">FileTransform</a> in Azure Pipelines. <a href="https://www.youtube.com/watch?v=_iPfzH3ENAk">Here</a> is the example of how can we achieve it.</p><p>local.settings.json (shouldn’t leave your local machine):</p><pre>{<br>  &quot;Cars&quot;: {<br>    &quot;Database&quot;: {<br>      &quot;ConnectionString&quot;: &quot;AccountEndpoint=https://localhost:8081/;AccountKey=C2y6yDjf5/R+ob0N8A7Cgv30VRDJIWEHLM+4QDU5DE2nQ9nDuVTqobD4b8mGGyPMbIZnqyMsEcaGQy67XIw/Jw==&quot;<br>    }<br>  }<br>}</pre><p>appsettings.json (stays in source control and is enreached by a CI/CD Pipeline)</p><pre>{<br>  &quot;Cars&quot;: {<br>    &quot;Database&quot;: {<br>      &quot;ConnectionString&quot;: &quot;&quot;<br>    }<br>  }<br>}</pre><h4>TestsInitializer</h4><p>We want to use a test host for our <em>integration test</em> using TestStartup.</p><pre>public class TestsInitializer<br>{<br>    public TestsInitializer()<br>    {<br>        var host = new HostBuilder()<br>            .ConfigureWebJobs(builder =&gt; builder.UseWebJobsStartup(typeof(TestStartup), new WebJobsBuilderContext(), NullLoggerFactory.Instance))<br>            .Build();<br><br>        ServiceProvider = host.Services;<br>    }<br><br>    public IServiceProvider ServiceProvider { get; }<br>}</pre><p>We also need to include a <strong>Collection definition </strong>by deriving from ICollectionFixture class.</p><pre>[CollectionDefinition(Name)]<br>public class IntegrationTestsCollection : ICollectionFixture&lt;TestsInitializer&gt;<br>{<br>    public const string Name = nameof(IntegrationTestsCollection);<br>}</pre><h4>Integration Test</h4><p>We can finally implement our <em>integration test</em>:</p><pre>[Collection(IntegrationTestsCollection.Name)]<br>public class CarFunctionTests : IClassFixture&lt;TestStartup&gt;, IAsyncLifetime<br>{<br>    private CarFunction _carFunction;<br>    private readonly TestsInitializer _testsInitializer;<br>    private readonly CosmosClient _cosmosClient;<br>    private Container _container;<br>    private readonly string _carId;<br>    <br>    public CarFunctionTests(TestsInitializer testsInitializer)<br>    {<br>        _testsInitializer = testsInitializer;<br>        <br>        var cosmosDatabaseConfiguration = testsInitializer.ServiceProvider.GetService&lt;IOptions&lt;CarConfiguration&gt;&gt;();<br>        _cosmosClient = new CosmosClient(cosmosDatabaseConfiguration.Value.EndpointUri, cosmosDatabaseConfiguration.Value.PrimaryKey);<br>        _carFunction = _testsInitializer.ServiceProvider.GetService&lt;CarFunction&gt;();<br>    }<br>    [Fact]<br>    public async void TestCreateCar()<br>    {<br>        // Arrange<br>        var carName = $&quot;BMW - {Guid.NewGuid()}&quot;;<br>        var carRequest = new CarRequest { Name = carName };<br>        <br>        // Act<br>        var response = await _carFunction.CreateCar(, new DefaultHttpContext().Request);<br>        var createdResponse = (CreatedResult)_response;<br>        _carId = (createdResponse.Value as Car).Id;<br>        <br>        // Assert<br>        Assert.IsType&lt;CreatedResult&gt;(createdResponse);<br>        Assert.Equal(carName, (createdResponse.Value as Car).Name);<br>    }<br>    public async Task InitializeAsync()<br>    {<br>        var databaseResponse = await _cosmosClient.CreateDatabaseIfNotExistsAsync(&quot;CarDatabase&quot;);<br>        var database = databaseResponse.Database;<br>        <br>        var containerResponse = await database.CreateContainerIfNotExistsAsync(&quot;Cars&quot;, &quot;/id&quot;);<br>        _container = containerResponse.Container;<br>    }<br>    public async Task DisposeAsync()<br>    {<br>        await _container.DeleteItemAsync&lt;Car&gt;(_carId, new PartitionKey(_carId));<br>    }<br>}</pre><h4>Running the test</h4><p>We can run our integration test with dotnet test command.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/802/1*kjcS7pDDhgGBIn2pQ5tSbQ.png" /><figcaption>Result of running dotnet test command</figcaption></figure><h3>Summary</h3><p>We’ve written an <em>integration test</em> for Azure Function and Cosmos DB. We also have used replaceable configuration and configured dependency injection to work for us.</p><h3>Resources</h3><ol><li><a href="https://learn.microsoft.com/en-us/azure/cosmos-db/local-emulator?tabs=ssl-netstd21">Install and develop locally with Azure Cosmos DB Emulator | Microsoft Learn</a>.</li><li><a href="https://www.youtube.com/watch?v=_iPfzH3ENAk">File transformation for application config</a>.</li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=aec0d4198567" width="1" height="1" alt=""><hr><p><a href="https://medium.com/geekculture/integration-test-for-azure-functions-and-cosmos-db-walkthrough-aec0d4198567">Integration Test for Azure Functions and Cosmos DB walkthrough.</a> was originally published in <a href="https://medium.com/geekculture">Geek Culture</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Is there a better way of writing Integration Tests in using containers .NET?]]></title>
            <link>https://medium.com/geekculture/is-there-a-better-way-of-writing-integration-tests-in-using-containers-net-233de3a23891?source=rss-6d71d8df2b3c------2</link>
            <guid isPermaLink="false">https://medium.com/p/233de3a23891</guid>
            <category><![CDATA[docker]]></category>
            <category><![CDATA[dotnet]]></category>
            <category><![CDATA[unittest]]></category>
            <category><![CDATA[integration-testing]]></category>
            <category><![CDATA[testcontainer]]></category>
            <dc:creator><![CDATA[Alex Kondrashov]]></dc:creator>
            <pubDate>Mon, 12 Dec 2022 18:01:42 GMT</pubDate>
            <atom:updated>2022-12-12T18:01:42.683Z</atom:updated>
            <content:encoded><![CDATA[<h3>Is there a better way of writing Integration Tests using containers in .NET?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RxKytVgZZ8pkIdaos7R8EQ.jpeg" /><figcaption>Photo by <a href="https://pixabay.com/users/valdasmiskinis-12049839/">ValdasMiskinis</a> on <a href="https://pixabay.com/?utm_source=medium&amp;utm_medium=referral">Pixabay</a></figcaption></figure><h3>Too Long to Read</h3><p>The cleanest way of writing integration tests is using throwaway containers. <strong>TestContainers</strong> library helps you to easily manage it.</p><h3>More…</h3><p>Managing dependencies for automated tests can be challenging. We could spend hours and manage it manually, or we could automate it and use third party libraries to manage it. In this article I’m searching for a clean and easy way of writing integration test for a modern ASP.NET web application.</p><h4>System under test</h4><p>My example exposes a REST API to <em>Create</em> and <em>Get</em> cars:</p><pre>[HttpPost]<br>public async Task&lt;CarModel&gt; Create(CarModel model)<br>{<br>    using (var connection = await _dbConnectionFactory.CreateConnectionAsync())<br>    {<br>        _logger.LogInformation(&quot;connection string: &quot; + connection.ConnectionString);<br>        _logger.LogInformation(&quot;model: &quot; + model);<br>        _logger.LogInformation(&quot;Checked=&quot; + model.Available + &quot; Text&quot; + model.Name);<br>        var result = await connection.QueryAsync&lt;string&gt;(&quot;INSERT INTO cars (name, available) values (@Name, @Available); SELECT LAST_INSERT_ID();&quot;, model);<br>        var id = result.Single();<br>        return await Get(id);<br>    }<br>}<br><br>[HttpGet(&quot;{id}&quot;)]<br>public async Task&lt;CarModel&gt; Get(string id)<br>{<br>    using (var connection = await _dbConnectionFactory.CreateConnectionAsync())<br>    {<br>        _logger.LogInformation(&quot;Connection: &quot; + connection.ConnectionString);<br>        var result = await connection.QueryAsync&lt;CarModel&gt;(&quot;SELECT id,available,name FROM cars WHERE id=@Id&quot;, new { Id = id });<br>        var model = result.FirstOrDefault();<br>        _logger.LogInformation(&quot;Model with id: &quot; + model.Id);<br>        return model;<br>    }<br>}</pre><p>You can find the full code <a href="https://github.com/alkondrashov/integration-testing-docker">here</a>.</p><h3>Staring with an integration test</h3><p>🟢 ⚪ ⚪</p><blockquote><strong>Integration test</strong> — is a type of software testing in which the different units, modules or components of a software application are tested as a combined entity.</blockquote><p>How do we know that we write an integration test? We should call all layers of our system from top to bottom in our test: <em>REST API</em>, <em>Controller</em>, <em>Service</em>, <em>Repository</em> and <em>Database</em>.</p><pre>[Fact]<br>public async void testCreateCar()<br>{<br>    var client = _factory.CreateClient();<br><br>    var car = new CarModel { Available = false, Name = &quot;Test Text&quot; };<br><br>    var result = await client.PostAsync(_endpoint, new StringContent(JsonConvert.SerializeObject(car), Encoding.UTF8, &quot;application/json&quot;));<br>    var expectedModel = JsonConvert.DeserializeObject&lt;CarModel&gt;(await result.Content.ReadAsStringAsync());<br>    <br>    var response = await client.GetAsync($&quot;{_endpoint}/{expectedModel.Id}&quot;);<br>    var actualModel = JsonConvert.DeserializeObject&lt;CarModel&gt;(await response.Content.ReadAsStringAsync());<br>    <br>    Assert.Equal(expectedModel.Id, actualModel.Id);<br>    Assert.Equal(expectedModel.Name, actualModel.Name);<br>}</pre><p>If we run REST API and the database prior running the test — it would pass. We have a proof that our system works now! Any integration test is better than the absence of it.</p><h3>DIY throwaway container using Docker</h3><p>🟢 🟢 ⚪</p><p>What are the problems of the test above? There is a lot of manual labour involved into running it. <strong>We need to manage the database and the web application manually.</strong></p><p>We would want to spin up dependencies when we start test and tear it down when the execution is over. <strong>Docker</strong> should be able to help with this. We can lay it down using 3 containers: web application, database and integration container that will run the integration test. All integration between containers is coded in docker-compose.yml:</p><pre>version: &#39;3&#39;<br><br>services:<br>  integration:<br>    build: <br>      context: .<br>      dockerfile: Dockerfile.integration<br>    environment:<br>      - API_URL=http://web:5001<br>      - CONNECTION_STRING=Server=db;Database=carsdb;Uid=root;Pwd=password;SslMode=Required;      <br>    entrypoint: bash /app/wait_for_it.sh web:5001 -t 0 -- dotnet test --logger &quot;console;verbosity=detailed&quot;<br>    depends_on:<br>      - web<br>      - db<br>  web:<br>    build: .<br>    ports: <br>      - 5001:5001<br>    environment:<br>      - ASPNETCORE_ENVIRONMENT=Development<br>      - CONNECTION_STRING=Server=db;Database=carsdb;Uid=root;Pwd=password;SslMode=Required;<br>    entrypoint: bash /app/wait_for_it.sh db:3306 -t 0 -- dotnet /app/Cars.dll<br>    depends_on:<br>      - db<br>  db:<br>    platform: linux/x86_64<br>    image: mysql<br>    ports:<br>      - 3307:3306<br>    # Start the container with a carsdb, and password as the root users password<br>    environment: <br>      - MYSQL_DATABASE=carsdb<br>      - MYSQL_ROOT_PASSWORD=password<br>    # Volume the scripts folder over that we setup earlier.<br>    volumes: <br>      - ./Scripts:/docker-entrypoint-initdb.d</pre><p>The full code is <a href="https://github.com/alkondrashov/integration-testing-docker">here</a>.</p><p>We can now run the integration test via docker-compose up -build -abort-on-container-exit.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1006/1*5NOMUznPTTcZ_iPFIZR__g.gif" /><figcaption>Console output when running tests using <strong><em>docker-compose</em></strong></figcaption></figure><p>This is looking much better! We don’t have to manage the database and the web server separately. Everything is handled via Docker. However, the solution is not clean and can be improved. The main issue is that we inherit low level Docker setup. Also, containers are not cleared after test execution.</p><h3>TestContainers to manage throwaway containers</h3><p>🟢 🟢 🟢</p><blockquote><strong>Testcontainers</strong> for .NET is a library to support tests with throwaway instances of Docker containers for all compatible .NET Standard versions. The library is built on top of the .NET Docker remote API and provides a lightweight implementation to support your test environment in all circumstances.</blockquote><p>This library gives a clean way to write Integration Tests if we don’t want to manage Docker containers ourselves.</p><p>We can use a pre-defined MySqlTestcontainer for our web application. The configuration of TestContainer is done via WebApplicationFactory class:</p><pre>public class IntegrationTestFactory : WebApplicationFactory&lt;Program&gt;, IAsyncLifetime<br>{<br>    private readonly TestcontainerDatabase _container;<br><br>    public IntegrationTestFactory()<br>    {<br>        _container = new TestcontainersBuilder&lt;MySqlTestcontainer&gt;()<br>            .WithDatabase(new MySqlTestcontainerConfiguration<br>            {<br>                Password = &quot;localdevpassword#123&quot;,<br>                Database = &quot;carsdb&quot;,<br>            })<br>            .WithImage(&quot;mysql:latest&quot;)<br>            .WithCleanUp(true)<br>            .Build();<br>    }<br>    <br>    protected override void ConfigureWebHost(IWebHostBuilder builder)<br>    {<br>        builder.ConfigureTestServices(services =&gt;<br>        {<br>            services.RemoveAll&lt;IDbConnectionFactory&gt;();<br>            services.AddSingleton&lt;IDbConnectionFactory&gt;(_ =&gt; new MySqlConnectionFactory(_container.ConnectionString));<br>        });<br>    }<br><br>    public async Task InitializeAsync()<br>    {<br>        await _container.StartAsync();<br>        await _container.ExecScriptAsync(&quot;CREATE TABLE IF NOT EXISTS cars (id SERIAL, name VARCHAR(100), available BOOLEAN)&quot;);<br>    }<br><br>    public new async Task DisposeAsync() =&gt; await _container.DisposeAsync();<br>}</pre><p>Thanks to IAsyncLifetime we can initialize and dispose our database using InitializeAsync() and DisposeAsync() methods.</p><p>We now need to use IntegrationTestFactory to get a fake HttpClient:</p><pre>[Fact]<br>public async void testCreateCar()<br>{<br>    var client = _factory.CreateClient();<br><br>    var car = new CarModel { Available = false, Name = &quot;Test Text&quot; };<br><br>    var result = await client.PostAsync(_endpoint, new StringContent(JsonConvert.SerializeObject(car), Encoding.UTF8, &quot;application/json&quot;));<br>    var expectedModel = JsonConvert.DeserializeObject&lt;CarModel&gt;(await result.Content.ReadAsStringAsync());<br>    <br>    var response = await client.GetAsync($&quot;{_endpoint}/{expectedModel.Id}&quot;);<br>    var actualModel = JsonConvert.DeserializeObject&lt;CarModel&gt;(await response.Content.ReadAsStringAsync());<br>    <br>    Assert.Equal(expectedModel.Id, actualModel.Id);<br>    Assert.Equal(expectedModel.Name, actualModel.Name);<br>}</pre><p>This approach allows us to run tests using dotnet test command, which is a plus:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*V9eWsfHwge3v55IFy91trQ.png" /><figcaption>Console output when running tests using TestContainer</figcaption></figure><p>Look at this! We’ve run our integration test in Docker without having to manually manage containers.</p><h3>Summary</h3><p>We have written an integration test and all we need to do to run it is to launch Docker and execute dotnet test command. The web server and the database will be span up for us by TestContainers library. Let me know in the comments below if you see any drawbacks in this.</p><h3>Resources</h3><ol><li><a href="https://github.com/alkondrashov/integration-testing-docker">Repository</a> with the integration test using Docker Compose.</li><li><a href="https://github.com/alkondrashov/integration-testing-testcontainers">Repository</a> with the integration test using TestContainers.</li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=233de3a23891" width="1" height="1" alt=""><hr><p><a href="https://medium.com/geekculture/is-there-a-better-way-of-writing-integration-tests-in-using-containers-net-233de3a23891">Is there a better way of writing Integration Tests in using containers .NET?</a> was originally published in <a href="https://medium.com/geekculture">Geek Culture</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Write an Integration Test not an Unit Test]]></title>
            <link>https://medium.com/geekculture/write-an-integration-test-not-an-unit-test-a19572f880a8?source=rss-6d71d8df2b3c------2</link>
            <guid isPermaLink="false">https://medium.com/p/a19572f880a8</guid>
            <category><![CDATA[api]]></category>
            <category><![CDATA[unit-testing]]></category>
            <category><![CDATA[integration-testing]]></category>
            <category><![CDATA[dotnet]]></category>
            <dc:creator><![CDATA[Alex Kondrashov]]></dc:creator>
            <pubDate>Sat, 30 Apr 2022 09:03:02 GMT</pubDate>
            <atom:updated>2022-04-30T09:03:02.517Z</atom:updated>
            <content:encoded><![CDATA[<h3>Write an Integration test, not a Unit test</h3><h4>As a lazy software engineer I want to write code only when necessary. If I happen to write code I want to utilise it as much as possible. If this sounds like you, then let’s look at how Integration tests can allow your code to be more efficient.</h4><h3>Too Long To Read</h3><p>Write both, <strong>Integration</strong> and <strong>Unit</strong> tests, when you have enough time or it’s a critical piece of your system. Write <strong>Integration</strong> tests first when time is off the essence.</p><h3>More…</h3><blockquote>Integration test — is a type of software testing in which the different units, modules or components of a software application are tested as a combined entity.</blockquote><p>Unit test proves correct work of <strong>one unit </strong>only. Whereas an Integration test proves work of <strong>more</strong> <strong>than one unit</strong>.</p><h4>System Under Test</h4><p>Why is it important to understand what is System Under Test? It will help us define the efficient test.</p><blockquote>System under test (SUT) — system that is being tested for correct operation.</blockquote><p>It’s normal that <strong>Integration</strong> test covers wider SUT than a <strong>Unit</strong> test. Let’s consider the following test:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/2393f4b640ae6c8ea10ec60348f1660e/href">https://medium.com/media/2393f4b640ae6c8ea10ec60348f1660e/href</a></iframe><p>The SUT for the test above is the whole journey of a request in a web service. Depending on our assertions we can catch a potential issue in all layers of this web service.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1uLjNEsrvjhP6JDyQ9YYvA.png" /><figcaption>System Under Test: Controller, Service, Repository and Database</figcaption></figure><p>Here is how a <strong>Unit</strong> test might look for Controller in a web service:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/833cd940c3ff716c2e93bf40ff3018aa/href">https://medium.com/media/833cd940c3ff716c2e93bf40ff3018aa/href</a></iframe><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*z-xYIqa1BqYoCErViHGmnQ.png" /><figcaption>System Under Test: Controller</figcaption></figure><p>As we can see, <strong>Integration</strong> tests cover wider SUT than <strong>Unit</strong> tests with similar amount of code.</p><h3>Bottom Line</h3><p>Writing a proper Integration is challenging as it requires initial set up. Yet it pays off with time. Invest your time at the beginning and get a sense of stability about your code later.</p><p>Here is how you can ensure you’re writing an <strong>integration</strong> test:</p><p>🗄️ Use a test instance of database, a test tenant in an external dependency etc.</p><p>🖥️ Use test servers instead of mocking and stabbing.</p><p>🐳 Use Docker for easier dependency management.</p><h3>Resources</h3><ol><li>My <a href="https://github.com/alkondrashov/cars">example</a> of an <strong>Integration</strong> test. Refer to the README for instructions of how to run it.</li><li><a href="https://mermaid.live/">Mermaid digram editor</a>: Diagram as a Code.</li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a19572f880a8" width="1" height="1" alt=""><hr><p><a href="https://medium.com/geekculture/write-an-integration-test-not-an-unit-test-a19572f880a8">Write an Integration Test not an Unit Test</a> was originally published in <a href="https://medium.com/geekculture">Geek Culture</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[OData for ASP.NET Core 6.0 on Mac via command line]]></title>
            <link>https://blog.devgenius.io/odata-for-asp-net-core-6-0-on-mac-via-command-line-92c45da4fafa?source=rss-6d71d8df2b3c------2</link>
            <guid isPermaLink="false">https://medium.com/p/92c45da4fafa</guid>
            <category><![CDATA[net-core-6]]></category>
            <category><![CDATA[aspnetcore]]></category>
            <category><![CDATA[api]]></category>
            <category><![CDATA[command-line]]></category>
            <category><![CDATA[odata]]></category>
            <dc:creator><![CDATA[Alex Kondrashov]]></dc:creator>
            <pubDate>Sat, 15 Jan 2022 17:39:50 GMT</pubDate>
            <atom:updated>2022-01-15T21:46:23.237Z</atom:updated>
            <content:encoded><![CDATA[<p>.NET 6.0 includes new structure of Program.cs . I would like to document how I added OData support via the command line.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*235r0RxnhqrUFzf2MnBoaA.jpeg" /></figure><p>Here are the steps I followed:</p><h4>1. Create ASP.NET Core Web API 6.0 application</h4><pre>&gt;&gt; dotnet new webapi -o odata</pre><pre>&gt;&gt; cd odata</pre><h4>2. Add Entity Framework Core and OData package references</h4><p>I used EF Core In-Memory Database Provider for simplicity.</p><pre>&gt;&gt; dotnet add package Microsoft.EntityFrameworkCore.InMemory</pre><pre>&gt;&gt; dotnet add package Microsoft.AspNetCore.Odata</pre><h4>3. Update Program.cs</h4><p>The following needs to be added as part of <em>Program.cs:</em></p><ul><li>OData convention model</li><li>OData controller</li><li>Entity Framework Context</li></ul><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/f6a3d69e32da9934dcdfb1e7242caadb/href">https://medium.com/media/f6a3d69e32da9934dcdfb1e7242caadb/href</a></iframe><h4>4. Add support for GET requests</h4><p>I used EnableQuery annotation to enable GET Requests in CarsController.cs . A static class DataSource provides the test data. The code for DataSource.GetCars() can be found <a href="https://github.com/alkondrashov/odata">here</a></p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/33f0cf6d54bea962a72d62eea63f2fc0/href">https://medium.com/media/33f0cf6d54bea962a72d62eea63f2fc0/href</a></iframe><h4>5. Run the application and check the result</h4><p>Good way to prove that OData works is to query all cars where the price is less or equal 50. There is only one car that satisfies that condition.</p><pre>&gt;&gt; dotnet run</pre><pre>&gt;&gt; curl -X &#39;GET&#39; &#39;<a href="https://localhost:7005/odata/Cars?$filter=Price">https://localhost:7005/odata/Cars?$filter=Price</a> le 50&#39; -H &#39;accept: text/plain&#39; -k</pre><p>The response should look like the following:</p><pre>{<br>    &quot;<a href="http://twitter.com/odata">@odata</a>.context&quot;: &quot;<a href="https://localhost:7005/odata/$metadata#Cars">https://localhost:7005/odata/$metadata#Cars</a>&quot;,<br>    &quot;value&quot;: [<br>        {<br>            &quot;Id&quot;: 2,<br>            &quot;Brand&quot;: &quot;BMW&quot;,<br>            &quot;Price&quot;: 49.99,<br>            &quot;Model&quot;: &quot;3 Series&quot;<br>        }<br>    ]<br>}</pre><h3>Summary</h3><p>In this example, we looked at adding support for OData to ASP.NET Core Web API application and performed a simple query to prove that the OData requests are coming through. Hope this helped you run your project.</p><h3>Links</h3><ol><li><a href="https://github.com/alkondrashov/odata">Code from this example</a></li><li><a href="https://docs.microsoft.com/en-us/aspnet/web-api/overview/odata-support-in-aspnet-web-api/odata-v4/create-an-odata-v4-endpoint">Example with OData support for a classic ASP.NET Web application</a></li><li><a href="https://devblogs.microsoft.com/odata/asp-net-core-odata-now-available/">Example with OData support for ASP.NET Core 2.0 Web application</a></li><li><a href="https://devblogs.microsoft.com/odata/asp-net-odata-8-0-preview-for-net-5/">Example with OData support for ASP.NET Core 5.0 Web application</a></li><li><a href="https://referbruv.com/blog/posts/working-with-odata-integrating-an-existing-aspnet-core-3x-api">Another example with OData support for ASP.NET 5.0 Web application</a></li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=92c45da4fafa" width="1" height="1" alt=""><hr><p><a href="https://blog.devgenius.io/odata-for-asp-net-core-6-0-on-mac-via-command-line-92c45da4fafa">OData for ASP.NET Core 6.0 on Mac via command line</a> was originally published in <a href="https://blog.devgenius.io/">Dev Genius</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Make your resume stand out by following this structure]]></title>
            <link>https://blog.devgenius.io/make-your-resume-stand-out-by-following-this-structure-3db58f8189dc?source=rss-6d71d8df2b3c------2</link>
            <guid isPermaLink="false">https://medium.com/p/3db58f8189dc</guid>
            <category><![CDATA[careers]]></category>
            <category><![CDATA[resume]]></category>
            <category><![CDATA[resume-writing-tips]]></category>
            <category><![CDATA[resume-writing]]></category>
            <dc:creator><![CDATA[Alex Kondrashov]]></dc:creator>
            <pubDate>Thu, 10 Jun 2021 09:28:08 GMT</pubDate>
            <atom:updated>2021-06-10T09:28:08.308Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*C6jV6dZwc2iIhuWkZ2jT0g.jpeg" /></figure><p>I’m a software engineer and a Team Lead. I participate in the hiring process of other engineers in the company. Over the last year I helped hire 15 software engineers and conducted around 45 interviews. One of the biggest challenges is to pick a well-structured resume. Only 3 out of 10 would make it to the initial interview. Candidates keep on repeating the same mistakes in the structure of the resume. They don’t talk about their actual skills and include irrelevant information. I want to share some tips and tricks on how to make your resume stand out based on my experience.</p><h3><strong>General </strong>Do’s and Don’ts</h3><p>If you know Front-end and Data science, you can work on both positions. Hence you need two resumes. Each of them should contain the experience that is relevant to a given position. This raises your chances of getting the job.</p><p><strong>DON’T: list every possible work experience that you had</strong></p><p><em>2020 — Front-end developer<br>2019 — Data scientist &amp; Python developer</em><strong><em><br></em></strong><em>2018 — Full-stack developer<br>2017 — Back-end developer</em><strong><em><br></em></strong><em>2016 — Embedded engineer<br>2015 — English teacher</em><strong><em><br></em></strong><em>2014 — Baywatch lifeguard</em></p><p><strong>DO: show relevant experience for the role that you’re applying to</strong></p><p>Work experience relevant to Front-end</p><p><em>2020 — Front-end developer<br>2018 — Full-stack developer</em></p><p>Work experience relevant to Data Science</p><p><em>2019 — Data scientist &amp; Python developer<br>2018 — Full-stack developer</em><strong><em><br></em></strong><em>2017 — Back-end developer</em></p><p><strong>Tip</strong>: The best length is 2–3 pages. In my expirience it’s hard to focus and read when it’s past third page.</p><h3>Structural blocks of a resume</h3><h4>Name and general information</h4><p>Always specify your contact details. It’s hard to believe but 1 out of 2 candidates forget to include this information.</p><p><strong>DO: keep relevant and concise contact details</strong></p><p>Name and surname<em><br></em>Email<em><br></em>Phone number<em><br></em>Website<em><br></em>Linkedin<em><br></em>Your city</p><p><strong>Tip 1</strong>: Photo is not necessary. Instead of your photo in the resume you could attach a link to your LinkedIn with the photo available there. Don’t attach a random selfie with a bad lighting as this will not look professional on your resume.</p><p><strong>Tip 2</strong>: Full address is not necessary. Unless the potential employer is going to post to your address.</p><h4>Summary of qualifications</h4><p>The main goal of Summary of qualifications is to show that you’re qualified for this particular role. It’s useful to highlight your work , skills and achievements throughout your career. Bullet points will help keep the summary concise.</p><p><strong>DONT: have too many summaries in one sentence</strong></p><ul><li><em>4+ years IT experience in development, software architecture, e-commerce and corporate/investment banking</em></li></ul><p><strong>DO: have one summary per sentence</strong></p><ul><li><em>4+ years of experience in software development</em></li><li><em>I was responsible for software architecture on my previous project</em></li><li><em>I worked in different areas of software development: ranging from e-commerce to corporate/investment banking</em></li></ul><h4><strong>Work experience</strong></h4><p>Your recent experience is the most valuable on your resume. Hence sort places of work in descending order starting with the latest. This will help the reader see the most valuable information first.</p><p>It’s useful to have these listed with each workplace you mention:</p><ul><li>Technologies used</li><li>Your responsibilities</li><li>Team size</li><li>What you’ve being working on</li></ul><p><strong>Tip:</strong> The most recent place of work should be described in most detail. In this way the employer would see your latest and relevant experience first. Structure the information in order to better read it. Use bullet points and start with the verbs. In this way it’s easier to show your achievements.</p><p><strong>DO: use bullet-points and verbs:</strong></p><ul><li><em>Solve software errors by running extensive testing processes and analyzing details about the program settings.</em></li><li><em>Review computer software program functionality and adjust capabilities to reflect project objectives, management input, or other feedback.</em></li><li><em>Lead the building process of new program development by managing all tasks and supervising the team of analysts and operators.</em></li></ul><p>Verbs that you can use to describe your experience:</p><ul><li><em>Architect, Deliver, Implement Maintain</em></li><li><em>Help, Coach, Support</em></li><li><em>Work, Had experience with, Design</em></li></ul><h4>Skills</h4><p>For IT — this would be programming languages, for other professions it will be program, online-platforms and techniques.</p><p><strong>DO: group skills by topic</strong></p><ul><li><strong><em>Machine Learning / Artificial Intelligance</em></strong><em>: Pandas, Numpy, Matplotlib, Keras, Sklearn, TensorFlow, OpenCV, Natural Language Processing, Supervised Learning, Unsupervised Learning</em></li><li><strong><em>Data Mining</em></strong><em>: Data Pre-processing, Data VIsualization, Market-Basket algorithm</em></li><li><strong><em>Mathematics</em></strong><em>: Statistics, Bayesian Inference Network</em></li></ul><h4>Education</h4><p>Always specify your degree in your resume. Even if you have a degree in psychology and you apply for an IT job. It makes sense since a degree gives a good base. This will show that you’re capable of learning and are familiar with deadlines.</p><p>Next, mention courses that you’ve passed. Courses are much shorter than a degree. That’s why only specify courses only those related to the field. If you want to be a marketing expert and have recently passed a sewing course — most likely it’s not worth specifying on the resume (only if you’re not applying for a marketing expert of the clothing brand).</p><p>Keep in mind that work experience is most valuable. It will describe you better than any online course. Hence if you have relevant experience, you most likely, don’t need to mention online courses.</p><h4><strong>Additional</strong></h4><p>You should not mention all your hobbies. Potential employers would not be interested in your interests in playing tennis and skiing. Instead you could mention your interests related to work. This could be:</p><ul><li>Speaking at conferences and presentations</li><li>Hackathons</li><li>IT courses</li><li>Articles</li></ul><h4>Is it worth including non-IT experience?</h4><p>If you’re applying for a Junior position and you have no experience you could rework your existing experience and highlight your qualities which could be applied to all areas, including IT. What can be included here?</p><ul><li>Keeping a frinendly atmosphere in the team</li><li>Motivating your colleagues</li><li>Responsibility for substential orders and financial reports</li><li>Process management within the company</li></ul><p><strong>DONT: show experience relevant to only one industry</strong></p><ul><li><em>Was responsible for operating and running a profitable restaurant.</em></li><li><em>Met McDonald’s high customer standards of quality, service, and cleanliness.</em></li><li><em>Hired and developed a team of department and shift managers to ensure a successful franchise.</em></li><li><em>Provided coaching to 10+ employees at grilling, frying, and coffee stations.</em></li></ul><p><strong>DO: show experience relevant to any area, including IT</strong></p><ul><li><em>Maintained a positive atmosphere among employees despite demanding conditions.</em></li><li><em>Supervised a 10+ person team in a fast-paced environment by effectively multitasking.</em></li><li><em>Managed expense reports, as well as the purchasing of supplies and equipment worth more than $25,000.</em></li><li><em>Oversaw the scheduling of crew members, maintaining flexibility despite the sudden changes in schedules.</em></li></ul><h4>What else could you mention?</h4><ul><li>Interships</li><li>Online-courses</li><li>Pet projects with technologies that you’re instrested in</li></ul><p>You could publish your homework for the courses as part of your experience. If the work you have done is related to programming — publish the code into GitHub and paste the link on your resume.</p><h3>Conclusion</h3><ol><li>Specify only the experience relevant to the position you are applying to. Otherwise the employer will skip entire paragraphs which you have carefully written.</li><li>Ideal resume length is 2–3 pages</li><li>Don’t forget to mention your contact details.</li><li>Describe your most recent experience in more detail. Then describe your past experiences with less details to save space and attention of the reader for other important information.</li><li>Mention your degree regardless of which field it’s in. Courses though should only be relevant to the field you are applying to.</li><li>If you don’t have an IT experience, then highlight your qualities which easily transferable to IT from other fields.</li></ol><p>Tell me about your experience in the comment section. Which rules are you following when constructing a resume?</p><h3>Useful links</h3><ol><li><a href="https://www.topresume.com/career-advice/resume-format-contact-info">How Should I Format My Contact Information on a Resume?</a></li><li><a href="https://www.myperfectresume.com/cv/examples/computer-software/programmer">Programmer CV Example</a></li><li><a href="https://zety.com/blog/projects-on-resume">How to List Projects on a Resume (Work, Personal, Academic)</a></li><li><a href="https://www.quora.com/How-should-I-list-my-programming-skills-in-a-resume">How should I list my programming skills in a resume?</a></li><li><a href="https://zety.com/blog/should-i-include-irrelevant-experience-on-a-resume">Should You Include Irrelevant Work Experience on a Resume?</a></li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3db58f8189dc" width="1" height="1" alt=""><hr><p><a href="https://blog.devgenius.io/make-your-resume-stand-out-by-following-this-structure-3db58f8189dc">Make your resume stand out by following this structure</a> was originally published in <a href="https://blog.devgenius.io/">Dev Genius</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why Namespaced JSON Formats Are Bad For Translation Files]]></title>
            <link>https://javascript.plainenglish.io/why-namespaced-json-formats-are-bad-for-translation-files-215a87e207a6?source=rss-6d71d8df2b3c------2</link>
            <guid isPermaLink="false">https://medium.com/p/215a87e207a6</guid>
            <category><![CDATA[json]]></category>
            <category><![CDATA[angular]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[Alex Kondrashov]]></dc:creator>
            <pubDate>Fri, 04 Dec 2020 10:51:00 GMT</pubDate>
            <atom:updated>2020-12-04T10:51:00.011Z</atom:updated>
            <content:encoded><![CDATA[<h4>Fixing typos is boring. If I do it — I want it to be as fast as possible.</h4><p>I want to discuss a JSON format that could be helpful in reducing this problem.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ajJB3XlOVbsCh99YqVB4hA.jpeg" /></figure><h3>Introduction</h3><p>If you use Angular in your project you probably have used <a href="https://github.com/ngx-translate/core">ngx-translate</a> library to manage your translations. This library uses JSON files to translate strings for Angular components. English translation strings would be normally located inen.json. This is how it might look:</p><pre>{<br>  &quot;animal.bear.name&quot;: &quot;Beer&quot;,<br>  &quot;animal.bear.desc&quot;: &quot;Bears are mammals that belong to the family Ursidae&quot;<br>} </pre><p>To modify the text on the UI you need:</p><ol><li>Take the key from the Angular component</li><li>Find it in en.json</li><li>Modify the <em>value</em> for a given <em>key</em>:</li></ol><pre>&quot;animal.bear.name&quot;: &quot;Beer&quot; -&gt; &quot;animal.bear.name&quot;: &quot;Bear&quot;</pre><p>⚠️ <strong>Important</strong>: Choose the format for en.json that will help search the right translation.</p><p>Available formats for en.json:</p><ol><li><em>Standard JSON formatting</em></li><li><em>Namespaced JSON format</em></li></ol><h3>Standard JSON formatting</h3><p>This is how en.json looks with <em>Standard JSON formatting</em>:</p><pre>{<br>  &quot;animal.bear.name&quot;: &quot;Bear&quot;,<br>  &quot;animal.bear.desc&quot;: &quot;Bears are mammals that belong to the family Ursidae&quot;<br>}</pre><h4>✅ Advantage</h4><p>Whenever you need to modify the translation you could take animal.bear.name and search in your IDE or command line. Search results will take you straight to the right place:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hdAq6mFQMGsRaHs55nsiPw.png" /></figure><p><strong>Tip</strong>: alphabetical ordering could be helpful to improve navigation and structure in en.json:</p><pre>{<br>  &quot;animal.bear.name&quot;: &quot;Bear&quot;,<br>  &quot;animal.bear.description&quot;: &quot;Bears are mammals that belong to the family Ursidae&quot;,<br>  ...<br>  &quot;fish.salmon.name&quot; : Salmon,<br>  ...<br>  &quot;insect.fly.name&quot;: &quot;Fly&quot;,<br>  &quot;insect.mosquito.name&quot;: &quot;Mosquito&quot;<br>}</pre><h3>Namespaced JSON format</h3><p>Let’s look at another formatting that can be used in the translation file en.json</p><pre>{<br>  &quot;animal&quot;: {<br>    &quot;bear&quot;: {<br>       &quot;name&quot;: &quot;Bear&quot;,<br>       &quot;description&quot;: &quot;Bears are mammals that belong to the family Ursidae&quot;<br>    }<br>  }<br>}</pre><h4>❌ Disadvantage</h4><p>This format removes the ability to search by animal.bear.name :</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2HS_234auoimXTWgYElxUA.png" /></figure><p>To find a right place in en.json I would have to search by a <em>substring</em>, for example animal:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8dPEtyE-xy5HA9X6Q4ACpw.png" /></figure><p>After that I would have to jump to the relevant section in en.json and continue the search manually.</p><h4>✅ Advantage?</h4><p>I spent some time thinking what advantage this could have over the other format. And as I struggled to find any. I’m going to ask you, is there any <em>advantage</em> of using <em>Namespaced JSON format</em>?</p><h3>Conclusion</h3><p>After spending some time with translation in Angular I prefer <em>Standard JSON formatting</em> in en.json. I’m curious to hear other experiences and advantages of using <em>Namespaced JSON format</em> in Angular translation.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=215a87e207a6" width="1" height="1" alt=""><hr><p><a href="https://javascript.plainenglish.io/why-namespaced-json-formats-are-bad-for-translation-files-215a87e207a6">Why Namespaced JSON Formats Are Bad For Translation Files</a> was originally published in <a href="https://javascript.plainenglish.io/">JavaScript in Plain English</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to build a developer portfolio with no prior work experience]]></title>
            <link>https://blog.devgenius.io/how-to-build-a-developer-portfolio-with-no-prior-work-experience-6af7f21774d6?source=rss-6d71d8df2b3c------2</link>
            <guid isPermaLink="false">https://medium.com/p/6af7f21774d6</guid>
            <category><![CDATA[junior-developer]]></category>
            <category><![CDATA[resume]]></category>
            <category><![CDATA[career-change]]></category>
            <dc:creator><![CDATA[Alex Kondrashov]]></dc:creator>
            <pubDate>Tue, 01 Dec 2020 08:47:07 GMT</pubDate>
            <atom:updated>2020-12-01T13:33:40.217Z</atom:updated>
            <content:encoded><![CDATA[<p>This article is for people who apply for Junior Developer role with no or little experience</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Xebcyik6ltOnLo6FsVprKQ.jpeg" /></figure><p>I have worked as a software engineer for about 9 years. As a Team Lead in my department I help hire other software engineers. I conducted about 45 interviews for the last year. 19 of them were for Junior Developer positions. 7 candidates were with no prior engineering experience.</p><p>First step of every interview is receiving a candidate resume. Usually it contains a prior experience and education of a candidate. But what could you put in your resume when you have <strong>zero</strong> or <strong>little</strong> engineering experience and aspire to become a Junior developer? In this article I want to look into <strong>personal projects </strong>as a way to showcase candidate programming skills.</p><h3>TL;TR</h3><ol><li>Focus on one programming language 👨‍💻👩‍💻</li><li>Brainstorm 2–3 ideas for your personal project 🧠</li><li>Don’t be afraid to go public 💻</li><li>Don’t leave your README empty 📝</li></ol><h3>Focus on one programming language 👨‍💻👩‍💻</h3><p>Here is couple of paths that you could follow:</p><h4>1. Online courses</h4><p>There are many options out there when it comes to online learning. You can choose the right online course based on these criterias:</p><ul><li>payment (upfront, in instalments, or after you land a job)</li><li>programming language</li><li>intensity and duration</li><li>guaranteed internship after graduation</li></ul><h4>2. University or programming schools</h4><p>You also find many options, but it will be lengthier than an <strong>online course</strong>. You’re looking at a range between 3 month and 1 year of full-time studying.</p><h4>3. Tutoring and mentoring</h4><p>This is rather supplementary to an online course or a school. I greatly recommend this approach even though it’s challenging to find a good mentor.</p><p><strong>Tip:</strong> Seek <strong>active mentorship</strong> and don’t be afraid to invest in your education and self-development. There is always a price to pay when it comes to learning new skills. But the investment will pay off shortly. This will help keep your motivation up and get to your goal much quicker.</p><h3>Brainstorm 2–3 ideas for your projects 🧠</h3><p>A <strong>personal project</strong> is a way to apply your knowledge in action. The project can be related to <strong>anything </strong>as long as it interests you. This will help completing your project.<strong>Tip:</strong> Involve <strong>other people</strong> in your personal project. You could build great and fun things with other programmers, data scientists and graphic designers. Everyone will benefit from this journey in the end.</p><p>Here are some of the examples of the topics that can be a good fit for the personal project:</p><ul><li><strong>Build a web scraper: </strong>A tool that takes a URL as input and returns the content of the URL as HTML or XML</li><li><strong>Create a text message downtime alerter. </strong>An app that takes a URL as input and sends you a text message when a request to the URL returns a response code other than 200 (OK)</li><li><strong>Slack bot.</strong> If you or your team use the popular chat app Slack, build a bot to make some aspect of your (or your team’s) life easier. Ideas: a coffee order bot, a bot that reports daily on the number of commits made to your team repos, or a daily stand-up reminder bot.</li><li><strong>Your personal website.</strong> It never hurts to build your presence online. Especially if it will help showcase your programming skills.</li></ul><h3>Don’t be afraid to go public 💻</h3><p>Most likely your development project will involve some code. It’s good to be able to show this code to others. You can use any git based source<strong> </strong>control system. GitHub will do just fine.</p><p>Keep in mind that your project doesn’t have to be a finished article. It could be just an <strong>MVP (Minimum Viable Product)</strong> that does the minimum of the desired functionality, but sufficient to achieve what you want.</p><p><strong>Tip: </strong>Diversify<strong> </strong>your project with <strong>different technologies</strong>. Don’t repeatedly use the same patterns and frameworks. Rather investigate how you can apply other related technologies.</p><p><strong>Example</strong>: Imagine that you develop a Java back-end for your personal project. Additionally you could learn:</p><ul><li>Docker to deploy your back-end application to the Cloud provider</li><li>Angular or React to provide a UI for your back-end</li><li>Spring Framework to provide a REST API for your web application.</li></ul><h3>Don’t leave your README empty 📝</h3><p>It’s good to have a <strong>working code</strong> on GitHub. But it’s also important to think of how to present your<strong> project</strong> to the viewer. You can utilise README for that.</p><h4>What to include in README:</h4><ol><li>Brief description of the features of your project and what is it meant to do</li><li>How to run the project locally</li><li>Brainstorm and write up future features that you might add to this project</li></ol><p><strong>Tip 1:</strong> Treat your personal projects as <strong>real projects</strong> with <strong>real users</strong>. It shows that you can <strong>present your work</strong> which is often needed in software development. It will also show that you have <strong>dedication</strong> to complete projects</p><p><strong>Tip 2</strong>: Consider using <a href="https://www.makeareadme.com/">makeareadme</a> to create your README</p><p>Examples of a good README:</p><ol><li><a href="https://github.com/alichtman/stronghold#readme">Stronghold</a></li><li><a href="https://github.com/ArmynC/ArminC-AutoExec/#readme">AutoExec</a></li><li><a href="https://github.com/amitmerchant1990/electron-markdownify#readme">Markdownify</a></li><li><a href="https://github.com/athityakumar/colorls#readme">Colorls</a></li></ol><h3>Conclusion</h3><ol><li>Use personal projects to showcase your skills if you have no prior engineering experience.</li><li>Involve other people in your personal projects. You’re more likely to complete it this way.</li><li>Use README to present the features of your project.</li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6af7f21774d6" width="1" height="1" alt=""><hr><p><a href="https://blog.devgenius.io/how-to-build-a-developer-portfolio-with-no-prior-work-experience-6af7f21774d6">How to build a developer portfolio with no prior work experience</a> was originally published in <a href="https://blog.devgenius.io/">Dev Genius</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>