how to verify that .testrunconfig SetupScript has successfully run
up vote
0
down vote
favorite
I am working Visual Studio 2012 and have a .testrunconfig file with a specified setup script:
The script runs some sqlcmd commands in a batch script, I verified that the script works by executing it manually. However, when I run my unit tests it does not appear that the database is created from this script and I wonder if there is a way to verify that the setup script was even executed? Or if it was, what kind of error was generated?
I checked my TestResults folder and checked the folder for the most recent run and see that a qtsetup.bat file is there and has the contents of TestSetup.bat, but again--is the results of this logged anywhere?
visual-studio unit-testing testrunconfig
add a comment |
up vote
0
down vote
favorite
I am working Visual Studio 2012 and have a .testrunconfig file with a specified setup script:
The script runs some sqlcmd commands in a batch script, I verified that the script works by executing it manually. However, when I run my unit tests it does not appear that the database is created from this script and I wonder if there is a way to verify that the setup script was even executed? Or if it was, what kind of error was generated?
I checked my TestResults folder and checked the folder for the most recent run and see that a qtsetup.bat file is there and has the contents of TestSetup.bat, but again--is the results of this logged anywhere?
visual-studio unit-testing testrunconfig
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I am working Visual Studio 2012 and have a .testrunconfig file with a specified setup script:
The script runs some sqlcmd commands in a batch script, I verified that the script works by executing it manually. However, when I run my unit tests it does not appear that the database is created from this script and I wonder if there is a way to verify that the setup script was even executed? Or if it was, what kind of error was generated?
I checked my TestResults folder and checked the folder for the most recent run and see that a qtsetup.bat file is there and has the contents of TestSetup.bat, but again--is the results of this logged anywhere?
visual-studio unit-testing testrunconfig
I am working Visual Studio 2012 and have a .testrunconfig file with a specified setup script:
The script runs some sqlcmd commands in a batch script, I verified that the script works by executing it manually. However, when I run my unit tests it does not appear that the database is created from this script and I wonder if there is a way to verify that the setup script was even executed? Or if it was, what kind of error was generated?
I checked my TestResults folder and checked the folder for the most recent run and see that a qtsetup.bat file is there and has the contents of TestSetup.bat, but again--is the results of this logged anywhere?
visual-studio unit-testing testrunconfig
visual-studio unit-testing testrunconfig
asked Nov 8 at 18:59
nessa
9710
9710
add a comment |
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53214435%2fhow-to-verify-that-testrunconfig-setupscript-has-successfully-run%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown