Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inline Table Valued Functions #30

Closed
silverbullettruck2001 opened this issue Jul 25, 2018 · 2 comments
Closed

Inline Table Valued Functions #30

silverbullettruck2001 opened this issue Jul 25, 2018 · 2 comments

Comments

@silverbullettruck2001
Copy link

When I have a tSQLt test that is written to test an inline table function there is no coverage results provided for any of the tests for that function. Please let me know if there is anything I need to provide to assist with resolving this issue. I am using Red Gate's SQL Test product that now uses SQL Cover so I am not very familiar with this specific project but was told that this was the best place to report this issue.

Thanks,

Adam

@RobClenshaw
Copy link

It looks like SQL Server extended events doesn't register an event when the object is an inline table valued function. This means there's nothing for SQL Cover to pick up, so that's why there is no coverage result. This may be a SQL Server bug.

@GoEddie
Copy link
Owner

GoEddie commented Dec 13, 2018

Hi @silverbullettruck2001 Rob is right, we aren't notified by sql that the inline tvf was called.

I have created a "Feature Request" issue and added it to this, it isn't possible to get it working with the current version but might work in a future version.

#34

@GoEddie GoEddie closed this as completed Dec 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants