tSQLt-TestAdapter icon indicating copy to clipboard operation
tSQLt-TestAdapter copied to clipboard

tSQLt Test Adapter failing with an exception error

Open Radamonas opened this issue 8 years ago • 2 comments

tSQLt Test Adapter for VisualStudio 2015 Update 3 stopped working with the error message which is below. I wondering is there a way to solve this, maybe some of the configurations are not correctly set. The most intriguing thing, that another project which has same setup of tSQLt tests works perfectly with the same VS and adapter.

-- tSQLt Test Adapter v0.70

-- RUNSETTINGS FILE:

-- ERROR MESSAGE: ------ Discover test started ------ tSQLt Test Adapter, searching for tests... tSQLt-Test-Adapter: Adding filter: Tests An exception occurred while test discoverer 'tSQLtTestDiscoverer' was loading tests. Exception: Object reference not set to an instance of an object. ========== Discover test finished: 0 found (0:00:00.253) ==========

-- Folder structure

  • Tests
    • up_Test -- up_Test.sql ( test schema) -- test 01 test name.sql (test sp) [....]

Radamonas avatar Jun 01 '17 06:06 Radamonas

Can you try with this build or send me some sql files the reproduce it?

https://github.com/GoEddie/tSQLt-TestAdapter/releases/tag/vs2017

GoEddie avatar Oct 03 '17 11:10 GoEddie

I have created another project on the same machine using the same VS2015 version, so the new project works without any issues, but the one which was reported as failing still failing.

I also tried to execute the same failing project tests using VS2017 with updated plugin and go the same problem.

Radamonas avatar Jan 19 '18 08:01 Radamonas