Azure / Azure/azure-functions-sql-extension
Unit testing functions implementing these SQL extensions
Open
bug
- Dominant language
- C#
- Stars
- 130
- Forks
- 71
- Avg merge
- 4d 8h
- Merged PRs (30d)
- 4
Description
Using your examples I produced a very simply HTTP trigger function that reads all of the values from a target table. The function works perfectly when I execute + run the debug.
However, I cannot seem to get my unit testing to work with the SQL extensions. Everything _seems_ to be OK, but the IEnumerable for my return objects never gets populated.
I've tried both xunit and the standard microsoft unit testing. Both refuse to populate the List<> I pass in, although the function is returning OkObjectResult.
What am I missing here? Should I pass in something other than a List<> to be populated?
Contributor guide
Assessment
This issue has not been assessed yet.