# When importing NUnit tests all files except the first appear to be counted twice for the unit test overview

**URL:** https://www.finalbuilder.com/forums/t/when-importing-nunit-tests-all-files-except-the-first-appear-to-be-counted-twice-for-the-unit-test-overview/5949
**Category:** Bugs
**Created:** [January 28, 2015, 1:25am UTC](https://www.finalbuilder.com/forums/t/when-importing-nunit-tests-all-files-except-the-first-appear-to-be-counted-twice-for-the-unit-test-overview/5949 "2015-01-28T01:25:07Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![chillefeld](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/chillefeld/32/1333_2.png) [@chillefeld](https://www.finalbuilder.com/forums/u/chillefeld)
#### Post date: [January 28, 2015, 1:25am UTC](https://www.finalbuilder.com/forums/t/when-importing-nunit-tests-all-files-except-the-first-appear-to-be-counted-twice-for-the-unit-test-overview/5949/1 "2015-01-28T01:25:07Z")

</div>

Hi,  
  
we have been restructuring our unit tests and noticed that when we import more than one .xml file as a NUnit report the information from all but the first one is counted twice when looking at the unit test overview.  
  
I have attached some of the xml files in question and added screenshots for clarification. Both files contain 13 tests while the second one also has 2 failures. Continua shows a total of 4 failures even though it correctly displays only 2 in the list.  
  
Is this a known problem or could this be caused by errors in the generated xml files?  
  
Regards,  
Christoph

![__33232__ 0__Stages.jpg](https://www.finalbuilder.com/forums/uploads/default/original/2X/f/fa287a660b26556f872ba62350a80ed86a179fb9.jpeg)

 ![__33232__ 0__Tests.jpg](https://www.finalbuilder.com/forums/uploads/default/original/2X/2/2b549d8afb2cc5be56e49b920169be3e6d0510a0.jpeg)

[Reports.zip](https://www.finalbuilder.com/forums/uploads/default/original/2X/d/dc49e898f65e0633a1cef9c3b2684749052545d6.zip) (6.39 KB)

---

<div class="post-metadata">

### Author: ![chillefeld](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/chillefeld/32/1333_2.png) [@chillefeld](https://www.finalbuilder.com/forums/u/chillefeld)
#### Post date: [January 28, 2015, 1:59am UTC](https://www.finalbuilder.com/forums/t/when-importing-nunit-tests-all-files-except-the-first-appear-to-be-counted-twice-for-the-unit-test-overview/5949/2 "2015-01-28T01:59:10Z")

</div>

Some additional information:   
 We are seeing this behavior on Continua 1.5.1.90 and on 1.5.1.49

---

<div class="post-metadata">

### Author: ![Sparky](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/sparky/32/10_2.png) [@Sparky](https://www.finalbuilder.com/forums/u/Sparky)
#### Post date: [January 29, 2015, 7:11am UTC](https://www.finalbuilder.com/forums/t/when-importing-nunit-tests-all-files-except-the-first-appear-to-be-counted-twice-for-the-unit-test-overview/5949/3 "2015-01-29T07:11:51Z")

</div>

Hi,  
  
Thanks for reporting this. We were able to replicate this today and eventually find the cause. We’ll get an update out to you tomorrow.

---

<div class="post-metadata">

### Author: ![Sparky](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/sparky/32/10_2.png) [@Sparky](https://www.finalbuilder.com/forums/u/Sparky)
#### Post date: [January 30, 2015, 7:59am UTC](https://www.finalbuilder.com/forums/t/when-importing-nunit-tests-all-files-except-the-first-appear-to-be-counted-twice-for-the-unit-test-overview/5949/4 "2015-01-30T07:59:16Z")

</div>

Hi,  
  
You can download a new version with a fix using the following links:  
  
[outdated links removed]

---

<div class="post-metadata">

### Author: ![chillefeld](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/chillefeld/32/1333_2.png) [@chillefeld](https://www.finalbuilder.com/forums/u/chillefeld)
#### Post date: [January 30, 2015, 9:35am UTC](https://www.finalbuilder.com/forums/t/when-importing-nunit-tests-all-files-except-the-first-appear-to-be-counted-twice-for-the-unit-test-overview/5949/5 "2015-01-30T09:35:52Z")

</div>

I just tested again with the latest build and I can confirm that the numbers are now correct.   
  
 Regards,   
 Christoph
