Page 1 of 1

Unittest do not run anymore after last update!

PostPosted: March 1st, 2018, 10:50 am
by MartienPoels
After the last update when I start unittesting the following error occurs

[1-3-2018 11:05:19 Error] Internal error has occured with following information: System.NullReferenceException: Object reference not set to an instance of an object.
at PHP.VisualStudio.TestAdapter.TestExplorer.PhpUnitConfig.GetOrCreateSingleNode(String name)
at PHP.VisualStudio.TestAdapter.TestExplorer.PhpUnitConfig.init()
at PHP.VisualStudio.TestAdapter.TestExplorer.PhpUnitConfig..ctor()
at PHP.VisualStudio.TestAdapter.TestExplorer.PhpUnitConfigHelper.PrepareConfigFile(String originalConfigFile, String printerPath, String newConfigFilePath, IEnumerable`1 sources, Action`1 warningSink)
at PHP.VisualStudio.TestAdapter.TestExplorer.PhpTestExecutor.RunTestsInternal(IEnumerable`1 tests, IRunContext runContext, IFrameworkHandle frameworkHandle, Boolean filter)
at PHP.VisualStudio.TestAdapter.TestExplorer.PhpTestExecutor.RunTests(IEnumerable`1 tests, IRunContext runContext, IFrameworkHandle frameworkHandle, Boolean filter)
[1-3-2018 11:05:19 Error] An exception occurred while invoking executor 'executor://php-tools/': Object reference not set to an instance of an object.
[1-3-2018 11:05:20 Informational] ========== Run test finished: 0 run (0:00:06,6450574) ==========

Re: Unittest do not run anymore after last update!

PostPosted: March 1st, 2018, 12:56 pm
by maros.beno
Hi,
thanks for reporting this. We have identified the problem and it will be fixed ASAP.