I was curious if anyone had any problems creating unit tests around using the ResourceManager. I am using Visual Studio test edition and it appears that the satellite assemblies don't get loaded during the test. When I try to get a resource for another culture, the test always fails and the resource manager always falls back to the default culture. The exact same code runs fine within the normal application.
End-to-end testing is a testing process in which the tester tests a software application from the user's perspective. Unit testing is a testing process where the developer verifies that individual units of source code work correctly.
Described concisely and directly, Unit Tests is Quality Assurance (QA) for the core of your software. The main difference between Unit Tests and regular QA is that Unit Tests are not done by a user interacting with the software directly. In fact, they are done by a programmer with code.
There are 2 types of Unit Testing: Manual, and Automated.
The goal of unit testing is to isolate each component of a product, system, or program and show that the performance of these individual components is correct. Typically performed by developers of the individual unit.
That got me going in the right direction. Adding the files to the deployment config didn't help, but disabling deployment did work.
For future reference, Visit this blog post and scroll down to the section "Managing Test Runs" for details of creating a test configuration and how to disable the deployment
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With