Let's go invent tomorrow instead of worrying about what happened yesterday|mail@jankowskimichal.pl

Michał Jankowski

avatar

About Michał Jankowski

Microsoft MVP Azure, an architect, designer, team leader and trainer. He began programming in the early ’90s from Basic and Assembler for 8-bit computers. During most of his career, he was delivering .NET platform targeted application for the world’s largest companies. Currently, he is specialising in the development of web applications and Azure environment. A great enthusiast of software craftsmanship, unit testing, software design and other topics related to software development. In his free time, when he is not playing with the code, he likes travelling, photography and writing a technical blog.

.NET DeveloperDays – Last days of a normal price

Everybody that didn’t decided to take part in conference .NET DeveloperDays should make their mind quickly. Only few days left when price is still normal. From October 1st price will be higher about 200 PLN. This is not only the problem. The other one is availability of tickets for workshop. Probably only few are left. There are four workshops available: Dino Esposito - Modern web development with the ASP.NET MVC stack Ted Neward - Busy .NET developer’s workshop on the CLR Adam Granicz - Functional programming on .NET with F# – become a programming Jedi now! Daniel Fisher - Resilience and [...]

Lightning talk – Autofixture

I would like to encourage you to download and go through presentation from lighting talk about AutoFixture library. Main purpose of this library is to minimize the ‘Arrange’ phase of unit tests in order to maximize maintainability. Presentation is available on GitHub – AutoFixture - Lightning talk. You will find there description of main features of this library. Moreover, presentation contains short comparison AutoFixture with other available solutions. Of course on GitHub you will find code used in presentation.

SQL unit tests – coverage report

Nowadays, it is quite common to write unit tests for code that we are creating, but not for all programming languages. When we are writing code for www, desktop or mobile application we get used to write unit test for code that is related to application. Together with that we are not testing database code. It is correct when we are using some ORM tools because such tools generate code for us. Situation looks quite different when we are writing SQL code by our own. Then this code should be unit tested similar to other production code. To do that [...]

By |2016-09-09T21:48:17+02:0012 September 2016 |Categories: Testing|Tags: , , , |0 Comments

.NET DeveloperDays conference is almost there

Only 2 months left to .NET DeveloperDays conference. The conference will start on October 19th with whole day workshops. Then during next two days you will be able to take part in lectures related to Microsoft technology stack. You will have a chance to listen such speakers like Jon Skeet, Daniel Fisher, Adam Granicz, Dino Esposito and many others. Whole event will be held in the EXPO XXI Hall in Warsaw. I think this conference can be very interesting because it is not overloaded with topics related to .NET Core, Docker or even F#. On the one hand those topics [...]

By |2017-07-22T07:49:39+02:005 September 2016 |Categories: Conferences / Presentations|Tags: |0 Comments

Win-Win in Scrum – Cooperation rules

Win-win term is connected to game theory and it means such game ending when both sides of competition gains something. In such situation there will be two winners and no losers. We can use the same approach when we are trying to define contract between customer and Scrum team. In most cases customers would like to get final project estimation before signing a contract. There is also second type of agreement, so called time and material. In this type of contract customer pays for time spend by the contractor’s employees to perform the work. Sometimes customers do not like such [...]

By |2016-06-28T17:03:27+02:004 May 2016 |Categories: Project management|Tags: , |0 Comments

BB-8

Sometimes you need to have a bit luck to achieve a success. We can speak about such luck in case of Sphero. A company that is known from production of small robot toys that you are able to control by mobile phone. But before September 8th 2015 probably only technology geeks knew this company. And it was also hard to say that this company achieved success – they managed to sold about 500 000 robots in 4 years. Such kind of luck for Sphero was new episode of Star Wars. In new episode a new robot BB-8 has been introduced. And [...]

By |2019-03-10T16:51:13+01:0025 April 2016 |Categories: Other|Tags: , |0 Comments

PDF Combiner 1.7

In the newest version of PDF Combiner I introduced the following changes: - changed way of files combining - improved behavior of keys: Move up and Move down - fixed layout issues when application is working on Windows with not standard DPI settings - added protection for accidentally overwriting source files. The newest version of application can be downloaded from application page.

By |2019-03-10T17:17:43+01:005 April 2016 |Categories: Software development|Tags: , |0 Comments

As a [type of user], I want [some goal] so that [some reason] – how to write good user story. INVEST model

As you probably noticed title is a Scrum user story template. It allows you to identify three very important elements: [mark]user[/mark] whose business need will be satisfied [mark]functionality[/mark] which will be developed [mark]business value[/mark] which will be provided. It seems that writing uses stories is very easy but it is not. You can make a mistake easily. Please try to remind yourself how often you had seen the following stories: [quote align=”left”]As a user… As a product owner…[/quote] Many of us can say that those are quite normal user stories. But please try to look at them from other perspective. Please [...]

By |2016-03-22T19:23:55+01:0022 March 2016 |Categories: Project management|Tags: , , |0 Comments

Mocking DbContext and DbSet with Moq

I believe that during your work with unit tests with applications that are using database for data storage you will need to isolate layer that is responsible for providing data. In this example I will use Entity Framework as ORM. Below you can find main elements of solution: public class User { public int Id { get; set; } public string Login { get; set; } public string Name { get; set; } public string Surname { get; set; } public bool AccountLocked { get; set; } public virtual List<Role> Roles { get; set; } } public class UsersContext [...]

By |2021-07-13T18:58:56+02:009 February 2016 |Categories: Testing|Tags: , , , , , , , |25 Comments
Go to Top