What framework should I use in Functional Testing in .NET?

1

I would like to know the framework options that simulates testes unitários to the . I know a little bit of Ruby and I know that there is Cucumber that is very good, but for .net I did a search and realized that there are several options. I'm in doubt, which one to use?

    
asked by anonymous 18.02.2014 / 23:16

2 answers

5

My options

You can use MSTest together with a Mock framework like Moq , and some control inversion framework, such as SimpleInjector ... this way your system can be easily tested.

There are other options, but I personally use this setting.

Other options

Testing:

  • NUnit (already used, I think very good)
  • MSTest (Microsoft, I've used it, good too)

Mocks:

Reverse control:

Continuous integration:

Interface tests:

18.02.2014 / 23:23
0

For interface testing, I would also add Visual Studio's Coded UI Tests.

Personally for unit testing I've been using NUNIT with the resharper and I'm quite satisfied.

I'll give you a few more IOC containers that you can use with .NET. In the past I used Ninject, but it is quite "heavy" I changed my choice to AutoFac. You can even write your own IOC with a few lines of code if you are not satisfied with what exists.

    
19.02.2014 / 14:27