Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ResourceManager and Unit Testing

Tags:

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.

like image 794
Kevin Avatar asked Sep 19 '08 04:09

Kevin


People also ask

What is unit testing and e2e testing?

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.

What is the difference between unit testing and QA testing?

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.

What are the two types of unit testing?

There are 2 types of Unit Testing: Manual, and Automated.

What is implementation and unit testing?

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.


1 Answers

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

like image 80
Kevin Avatar answered Dec 16 '22 00:12

Kevin