czwartek, 23 września, 2021

Mocking the file system

Last time I described how I started to test PowerShell scripts written in C#. Usually, the scripts interact with the system, so in order...

Testing PowerShell cmdlets written in C#

Recently I was rewriting an old console tool written in c#. The tricky part was that I had to implement this tool as a...

Git branching for legacy systems

Recently I work with the legacy code. It's complex, released in many different versions, and definitely needs to be refactored. But how to do...

Mów prawdę swoim pracownikom (i nie tylko)

Wpis umieszczam jako część Cyklu seniorskiego, ponieważ uważam że także Senior  Dev( a może przede wszystkim on) powinien zwracać szczególną uwagę na to w...

Querying multiple SQL Server databases

Sometimes I'd like to find a database containing data that could be used for testing purposes. What to do then? Either manually query databases...
XML Serializers

XmlSerializer vs. DataContractSerializer – why the latter is better?

I like the idea that one should write C# code as much functional as possible. Sometimes it's difficult, sometimes even impossible, but on the...

Git: branches easier than ever

In two previous parts, we dealt with Git objects that were of compressed files form. That might be a bit overwhelming, so today we...

Git – how to commit without git commit?

Last time we learnt how Git stores the data inside its file database. But how to commit something? This post shows how git commit...

How Git stores data? Commits, trees and blobs

Last time when I wrote about Git history and why it sometimes disappears, the article concluded with a concise statement that it's the way...

Git splitting files procedures comparison

In one of the previous posts, I described the Git procedure used to split files with preserving history. I also mentioned that if this...