Comments
3 comments
-
Hi Steve
Thank you for your forum post.
I assume that you downloaded and installed the tSQLTt Visual Studio Test Adapter. Followed by creating the <databasename>.runsettings file.
Does the value of theTestDatabaseConnectionString
match Properties > Debug > Target Connection String in the <databasename>.Database?
Many Thanks
Eddie -
Thanks for the reply. I did install the tSQLt VS Test Adapter, and the runsettings connection did match (up through the Integrated Security parameter). But, I added the rest just to make them match 100%
";Persist Security Info=False;Pooling=False;MultipleActiveResultSets=False;Connect Timeout=10;Encrypt=False;TrustServerCertificate=True"
I did notice however that my runsettings was named as <solution>.runsettings (in the solution folder.) I saved a copy as <database>.runsettings.
Restarted Visual Studio.
Ran all tests.
Same messages as before.
Rechecked the documentation;
Selected the <database>.runsettings file in "Test->Test Settings->Select Test Settings File"
Restarted Visual Studio.
Ran all tests.
Same messages as before. -
Hi,
I found some useful advice in this Internet Article, hopefully it will contain useful information to get up and running.
Many Thanks
Eddie
Add comment
Please sign in to leave a comment.
When I choose Test->Run->All Tests, VS says it can't find any tests. (I have one inline function (test) named: tsqlt.test_usp_blahblah, which works fine under SSMS using EXEC tSQLt.RunAll;)
Here is what seems to be the relevant text from the output:
"
[8/7/2019 5:27:50 PM Warning] No test is available in C:.....
"
and
"
"
Thanks in advance for any help!
Steve