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.
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 [...]
In the newest version of PDF Combiner I introduced the following changes: - reduced file size after merge. The newest version of application can be downloaded from application page.
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 [...]
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.
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. […]
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.
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.
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 [...]
In the newest version of PDF Combiner I introduced following changes: - added support for PDF documents that have been created according to the newest PDF document standard - added possibility to merge documents which opening is protected with password - added possibility to copy more detailed error information to Windows clipboard. The newest version of application can be downloaded from application page.