C#C
C#6mo ago
9 replies
Munsteruss Kreetcha

✅ Write unit tests against different versions of a thirdparty DLL

Hi,
I'm implementing a library A that integrates with some third party library X.
To make sure it works against different version of X, I'm planning to write unit test for each version of X.
So I'd make 20 or so csproj, each refering to a version of X, then in there I call my library A's code to see if it works.

However that seems too tedious and duplicate code, so I'm looking for some better ways.
Thanks.
Was this page helpful?