The folder from which the test is run – how to eliminate minor inconveniences

In one of the projects I am involved in, many business processes rely on file import. In order to guarantee the high quality of the software, we systematically create numerous integration tests in which we import these files. We currently have more than a thousand of them. An example test might looks like: Sometimes some tests are similar to others, with minor business modifications in the CSV files, but the sequence of their calls is the same, repeating in many cases: The path to the files is relative, meaning that

Continue readingThe folder from which the test is run – how to eliminate minor inconveniences

Directory.Build.props – why and how to use it?

Introduction In programming, effective project configuration management is key to maintaining consistency and facilitating teamwork. One tool that makes it possible to consolidate configuration across multiple projects is the Directory.Build.props file. In this article, we will take a closer look at how it works, what it is used for, and consider the advantages and disadvantages of using it. Customizing the building process in .NET In the .NET platform, there are several ways to customize the project construction process. One of them is the contents of the .csproj file, which can

Continue readingDirectory.Build.props – why and how to use it?