Skip to content

Visual studio 2015 test runner exception: tsqlttestexecutor #6

@zhenlee

Description

@zhenlee

I had this error when run all tests in test explorer:

An exception occurred while invoking executor 'executor://tsqlttestexecutor/v1': Object reference not set to an instance of an object.

It can be consistently re-produced:

  • if all tests pass, it has no issue
  • exec tSQLt.AssertEqualsTable 'expected', 'actual' will cause above error and stop execution of the rest of the tests if expected and actual tables are different for a test.
  • if one table is empty, it has no issue

Hope this will help.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions