Comments (8)
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.
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:
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.
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.
from vts.
Just curious as to whether dcuccia was able to reproduce the failing unit tests on another machine.
from vts.
If we are not informed of way to reproduce this issue, we plan to close it in a week. Thanks.
from vts.
from vts.
Thanks for letting me know. Good to hear there isn't a problem.
from vts.
Related Issues (20)
- CI/CD - Github Actions to build Vts.sln and run Vts.Library.sln Tests upon PR submission
- Intralipid scatterer in VTS Matlab requires redundant fields HOT 4
- Monte Carlo two region tissue with refractive index mismatch HOT 4
- MC detectors with NA HOT 11
- Monte Carlo paralellization at the photon level HOT 4
- MCCL: parameter sweeps for values less than 0.01 not generating correct output folder name HOT 1
- MC paramsweepdelta errors due to floating point precision HOT 2
- Monte Carlo Post Processor addition of "inpath" option HOT 5
- IAD_simulated_data_GUI.m HOT 1
- Monte Carlo PostProcessor "outpath" option does not work properly HOT 2
- Update to .Net Core 3.0 HOT 37
- Implement and test script-style use of the VTS HOT 39
- Remove the .NET Standard support from the VTS library
- 24 bugs in ParallelMonteCarloSimulation.cs HOT 3
- Replace Moq with NSubstitute
- Add resiliency to CustomBinaryStreamWriterOfT HOT 1
- SDA forward solvers need check on optical properties to make sure solution is valid HOT 4
- .NET Polyglot Notebook and Jupyter Notebook samples HOT 17
- RangeOfT enhancements for simplicity to consumers HOT 8
- Publish static web hosted documentation to Github Pages
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vts.