So far in our organization we have used C# for unit testing .Net code. We are trying to evaluate replacing C# with Iron Python as a language of choice for writing unit tests. We are not looking into this necessarily because Python code may be more easy to work with for small blocks of code like a typical test is, but with the hope of creating more maintainable unit tests. First of all I would expect setting up stubs, mocks and fakes to be more easy to do in a dynamic language. I was wondering if others have tried a similar approach? Is is worth making the change? For example if we will just end up just rewriting C# code in Python I see no real benefit. Is there any testing framework that you would recommend for this scenario?
Aucun commentaire:
Enregistrer un commentaire