Giter VIP home page Giter VIP logo

Comments (8)

hayakawa16 avatar hayakawa16 commented on June 12, 2024 1

I updated to 15.8.2 and still had 4 unit tests failing. Then lmalenfant suggested that I revert my laptop to English. I had set it to French to use our WPF GUI in french. When I rebooted in English and ran the unit tests, all pass now.

from vts.

hayakawa16 avatar hayakawa16 commented on June 12, 2024

Hi dcuccia,

I am very sorry you're experiencing this! Typically when our code is pushed to Github all unit tests pass. I am using VS 2017 (15.8.1) as well and am finding 4 errors. I thought possibly it was due to your using the Text Explorer (which uses Test Runner I think), but I ran the tests using the Text Explorer and Nunit and I get the same 4 errors in both:
myerrors

I'm not sure why you're experiencing more errors. I too ran BuildTestRelease.bat and all worked fine so I was relieved for that. The errors I'm finding have to do with reading the SpectralDatabase and in particular reading in the data from the file Spectroscopy/Resources/Spectra.txt. It reads the header of the file successfully but on the first line of data it reads with the code:
var valEntry = convert ? Convert.ToDouble(row[i+1]).ConvertCoefficient(chromophoreList[i].AbsorptionCoefficientUnit, chromophoreList[i].MolarUnit) : Convert.ToDouble(row[i+1]);

the code excepts with an error saying the data is not in the correct format. It could be due to the removal of Automapper from our solution. I tried adding the package back in, but this did not solve the problem.

I'll keep debugging my 4 errors and hopefully by solving them, we might have a clue about the 70 additional errors you're encountering.

from vts.

lmalenfant avatar lmalenfant commented on June 12, 2024

I just pulled a clean clone and added the Microsoft.NET.Test.Sdk NuGet package back in because it was still being used. All unit tests pass when I run them from both Resharper and Test Explorer.

The only difference I can see is that my version of Visual Studio is 15.6.7, I will update to 15.8.2 and see if this changes anything.

from vts.

dcuccia avatar dcuccia commented on June 12, 2024

from vts.

hayakawa16 avatar hayakawa16 commented on June 12, 2024

Just curious as to whether dcuccia was able to reproduce the failing unit tests on another machine.

from vts.

hayakawa16 avatar hayakawa16 commented on June 12, 2024

If we are not informed of way to reproduce this issue, we plan to close it in a week. Thanks.

from vts.

dcuccia avatar dcuccia commented on June 12, 2024

from vts.

hayakawa16 avatar hayakawa16 commented on June 12, 2024

Thanks for letting me know. Good to hear there isn't a problem.

from vts.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.