This project is read-only.
3
Vote

Some tests grouped into the wrong fixture - in output file

description

I have the following Test classes:
FBP.UI.Tests.ViewModel.Admin.AdminBuyingViewModelTests
FBP.UI.Tests.ViewModel.Admin.ManagePlansViewModelTests
FBP.UI.Tests.ViewModel.Input.InputSelectViewModelTests
 
All the above contain multiple tests.
 
The Output xml file only has 2 fixtures - the ManagePlansViewModelTests fixture is missing. The tests that are within this class are reported in the xml file as being members of the AdminBuyingViewModelTests fixture.

comments

spavkov wrote May 11, 2011 at 2:33 PM

Hi ozy_osborne,

thanks for reporting, can you please attach a zipped sample test project so i can have clear test case and create a ticket out of it?

thanks.

wrote Jul 6, 2011 at 11:39 AM

JuergenGutsch wrote Jul 6, 2011 at 11:55 AM

Hi @All,

first I have to made a compliment to the developers: Lighthouse ist really fast and simple to use. Great work :-)

I have the same problem. The output doesn't have the right structure test fixtures are mixed. So the test results on the buildserver ar not exactly assigned to the test fixtures.
Maybe the naming of the test calsses and testmethods is the problem.
I'm using the BDD-Light Style with underscores in all the names:

[TestClass]
Wenn_der_MenubarManager_erstellt_wird
[TestMethod]
darf_die_Items_Collection_nicht_lehr_sein

spavkov wrote Jul 6, 2011 at 12:39 PM

The issue is that tests are grouped by namespaces inside the assembly so maybe check your namespaces to group them.

This is known issue and will be fixed in next release.

If you want this fixed fast, please make sure to attach a zipped Visual Studio solution with few tests that clearly shows this issue so we can easily identify the problem.

Thanks for your feedback we appreciate it.

wrote Feb 13, 2012 at 11:12 AM

wrote Feb 13, 2013 at 8:06 PM