Unittest do not run anymore after last update!

PHP Tools [?] extends Visual Studio with set of advanced features to work more efficiently with PHP code.

Unittest do not run anymore after last update!

Postby MartienPoels » March 1st, 2018, 10:50 am

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) ==========
MartienPoels
 
Posts: 2
Joined: May 3rd, 2016, 3:00 pm

Re: Unittest do not run anymore after last update!

Postby maros.beno » March 1st, 2018, 12:56 pm

Hi,
thanks for reporting this. We have identified the problem and it will be fixed ASAP.
Maroš Beňo
User avatar
maros.beno
 
Posts: 62
Joined: October 12th, 2016, 12:11 pm


Return to PHP Tools

Who is online

Users browsing this forum: No registered users and 42 guests

cron

User Control Panel

Login

Who is online

In total there are 42 users online :: 0 registered, 0 hidden and 42 guests (based on users active over the past 5 minutes)
Most users ever online was 256 on March 28th, 2024, 9:42 am

Users browsing this forum: No registered users and 42 guests