Extras / Tools

FluentValidation.Validators.UnitTestExtension version 1.5

I just managed to publish a new version of package FluentValidation.Validators.UnitTestExtension. This package allows you to write unit tests for Fluent Validators in a more effective way. With version 1.5 following changes have been introduced: support for the new version of FluentValidation (>8.4) More information about the project is available on GitHub.

By |2019-05-12T09:45:40+02:0012 May 2019 |Extras / Tools, Projects, Testing|0 Comments

FluentValidation.Validators.UnitTestExtension version 1.4

I just managed to publish a new version of package FluentValidation.Validators.UnitTestExtension. This package allows you to write unit tests for Fluent Validators in a more effective way. With version 1.4 following changes have been introduced: new verifiers that check the configuration of EnumValidator, MaxLengthValidator, MinLenghtValidator, ExactLengthValidator, ExclusiveBetweenValidator and InclusiveBetweenValidator support for .NETStandard 1.6 and .NETStandard 2.0 More information about the project is available on GitHub.

By |2018-07-01T22:23:57+02:001 July 2018 |Extras / Tools, Projects, Testing|0 Comments

How you can improve code quality in your project?

Last Saturday during my lecture about code quality I was a bit shocked how many people didn’t know the most accessible tools that can improve code quality. You should remember that cost of quality improvements will be low only when we will think about those issues from the early beginning of the project. Every additional day when we are not monitoring and improving quality will increase the cost of potential quality issues fixes in future. Of course, I would assume that each time we are trying to deliver good quality code but we are only humans. So even when we [...]

By |2018-06-05T11:22:38+02:005 June 2018 |Extras / Tools|0 Comments

NDepend – short review

Sometime ago I have been asked by Patrick Smacchia to write short review of his tool – NDepend. I believe that most of you know this tool. It is a swiss army knife in scope of code analysis. Capacity of this tool is enormous. I wanted to fulfil this request in a professional way. So, I needed to learn how to use this tool before writing any word regarding it. And it was not so easy task. This tool has so many features and possibilities of customisation… After two months of using it I can say that still I am [...]

By |2017-11-06T23:14:33+02:007 November 2017 |Extras / Tools|1 Comment

FluentValidation.Validators.UnitTestExtension version 1.1

I just managed to publish new version of packgage FluentValidation.Validators.UnitTestExtension. This package allows you to write unit tests for Fluent Validators in more effective way. With version 1.1 following changes have been introduced: support for new version of FluentValidation 7.* new verifiers that check configuration of ScalePrecisionValidator and RegularExpressionValidator. More information about project is available on GitHub.

By |2017-06-04T18:35:41+02:004 June 2017 |Extras / Tools, Projects, Testing|0 Comments

Moq.EntityFramework.Helpers NuGet package

As you probably know I wrote two articles about mocking DbSet<TEntity> with Moq: synchronous calls – Mocking DbContext and DbSet with Moq asynchronous calls – EntityFramework – asynchronous queries unit tests I combined those solution to one library and published in on NuGet – Moq.EntityFramework.Helpers. […]

By |2017-03-07T22:07:45+02:007 March 2017 |C#, Extras / Tools, Projects, Testing|2 Comments

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.

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+02:005 April 2016 |Extras / Tools|0 Comments

StyleCop SA0120 error with Visual Studio 2015

It is quite common that you will find some issues during updating development environment to a newer version – in this case to Visual Studio 2015. In projects that use StyleCop for code analysis you can get SA0120 CSharp.CsParser error. It seems that it is internal StyleCop error. You are not able to find information about SA0102 error in StyleCop warning messages’ documentation. It is good that this error will not occur after opening project in Visual Studio 2015. It will occur after your will use some features introduced in C# 6.0. I think that most of us should be [...]

By |2017-08-20T17:21:17+02:0017 December 2015 |Extras / Tools|0 Comments