Good examples of unit test kits

For those of us who like to learn by reading good code, what are some of the projects you've seen that are a great example of a medium to large set of unit tests in action?

It is not a question of what your favorite unit testing infrastructure is, but it would be useful to add which unit tests and / or mocking frameworks are used by the projects you mentioned.

Any platform will work, but I'm interested in projects that use the .NET Framework style

+3
source share
4 answers

Apache CXF has a silently large array of unit tests. They are written to Junit and include JUnit-Spring mechanisms, as well as one of the mock libraries. These include startup processes and many other mechanisms that you may need some day.

+1
source

For example, ReportLab uses a Python module unittest(also known as PyUnit ) and has many unit tests that you can view.

I use too unittest. It is very similar to the Java jUnit framework and is therefore very convenient for writing tests in the shortest possible time.

0
source

Factory 780 , , Visual Studio. .

the corporate library has even more.

0
source

NunitLite has a unit tests suite but I'm not sure if it qualifies as a mid-size project. I seem to remember that NUnit also has unit tests, but its site is currently unavailable.

0
source

Source: https://habr.com/ru/post/1731014/


All Articles