Click here to Skip to main content
15,880,469 members
Everything / MSTest

MSTest

MSTest

Great Reads

by Anton Angelov
If you need to rerun Failed Tests (MSTest), you can download the application that I wrote. Examples how to use it and code snippets.
by Anton Angelov
Use SpecFlow to define automated acceptance tests from business-readable specifications. Learn how to write understandable UI tests within 10 minutes.The post Getting Started with SpecFlow in 10 Minutes appeared first on Automate The Planet.
by Anton Angelov
Explore the usage of Specification-based Test Design Techniques to enhance your unit tests. Practical examples how to use boundary values and partitions.
by Anton Angelov
Find some advanced WebDriver tips and tricks how to use the framework for changing user agent or dealing with SSL certificates.The post 10 Advanced WebDriver Tips and Tricks Part 2 appeared first on Automate The Planet.

Latest Articles

by Zijian
From MsTest to xUnit
by Zebedee Mason
Visual C++ tests are created from Gherkin DSL feature files using a Python 2.7 script
by Sean Rand
Getting the most from your test runner
by Anton Angelov
Through the help of interfaces, extension methods and partial classes, 3 page objects variations are presented that lead to more maintainable code.

All Articles

Sort by Score

MSTest 

25 Feb 2016 by Anton Angelov
If you need to rerun Failed Tests (MSTest), you can download the application that I wrote. Examples how to use it and code snippets.
24 Oct 2016 by Anton Angelov
Use SpecFlow to define automated acceptance tests from business-readable specifications. Learn how to write understandable UI tests within 10 minutes.The post Getting Started with SpecFlow in 10 Minutes appeared first on Automate The Planet.
4 Jan 2016 by Anton Angelov
Explore the usage of Specification-based Test Design Techniques to enhance your unit tests. Practical examples how to use boundary values and partitions.
20 Feb 2016 by Anton Angelov
Find some advanced WebDriver tips and tricks how to use the framework for changing user agent or dealing with SSL certificates.The post 10 Advanced WebDriver Tips and Tricks Part 2 appeared first on Automate The Planet.
19 Oct 2018 by Sean Rand
Getting the most from your test runner
8 May 2016 by Anton Angelov
Learn how to use the Behaviours Design Pattern to increase the flexibility of your automated tests' API. Create tests the same way you build LEGO.The post Behaviours Design Pattern in Automated Testing appeared first on Automate The Planet.
16 Apr 2015 by kingddd
Introducing a new tool to transform trx (mstest results file) into HTML report
4 Oct 2015 by Anton Angelov
A detailed overview with examples how to utilize the Decorator Design Pattern in automated tests to create an extendable and decoupled Validators.
2 Apr 2017 by Anton Angelov
Improve your test framework so that your tests don't depend on hard-coded numbers. Use configuration files and change the values without compilation.
11 Oct 2015 by Anton Angelov
Explains in details how to use the Facade Design Pattern in automation tests so that its class to follow the dependency inversion principle.
28 Feb 2016 by Anton Angelov
Find some advanced WebDriver tips and tricks how to use the framework for dealing with extensions or downloading files.The post 10 Advanced WebDriver Tips and Tricks Part 3 appeared first on Automate The Planet.
10 Apr 2016 by Anton Angelov
Learn how to create multiple grid controls' automated tests that reuse their assertion logic to the maximum extent through different OOP techniques. The post Advanced Reuse Tactics for Grid Controls Automated Tests appeared first on Automate The Planet.
15 May 2016 by Anton Angelov
Describes how to improve even further the behaviours design pattern tests through new base classes and usage of Unity IoC container.
5 Jun 2016 by Anton Angelov
Tips and Tricks how to perform visual UI automation. Various techniques to assert the visual state of your web pages- fonts, styles. Visual capturing.The post 5 Expert Tips and Tricks for Visual UI Automation Verification- Testing Framework appeared first on Automate The Planet.
11 Sep 2016 by Anton Angelov
Learn how to improve automated testing troubleshooting through the introduction of meaningful exceptions' messages on tests' failure. The second version of the utility will utilize the Ambient Design Pattern.
30 Oct 2016 by Anton Angelov
Learn how to extend the tests’ execution workflow running additional code on various points of the workflow. Configure SpecFlow hooks' execution order.
31 May 2014 by Corey Brand
Roll your own configurable test doubles
27 Jan 2018 by Anton Angelov
Through the help of interfaces, extension methods and partial classes, 3 page objects variations are presented that lead to more maintainable code.
14 Mar 2016 by Anton Angelov
Explains different approaches how to automate advanced web UI components like a date-picker, color-picker, gauge and more.
21 Mar 2016 by Anton Angelov
Detailed explanation how to design proper automated tests for grid controls. Includes examples for unique identifier and text columns.
12 Jun 2016 by Anton Angelov
Learn how to control browser to the maximum extent with various techniques. Handle multiple browser instances. Intercept raw HTTP traffic and assert requests and responses. Download files with a single line of code.
18 Sep 2016 by Anton Angelov
Learn how to improve automated testing troubleshooting through the introduction of meaningful exceptions' messages on tests' failure. The third version of the utility will utilize the Decorator Design Pattern.
4 Feb 2019 by OriginalGriff
Well ... SQL Server 2017 Express Edition | Microsoft[^] - it's free, so no licence cost, and you should be developing against an Express version anyway. Developing / testing against the production DB server is a good recipe for "Oh f*ck" moments and production downtime while databases are...
9 Oct 2019 by Zebedee Mason
Visual C++ tests are created from Gherkin DSL feature files using a Python 2.7 script
1 Apr 2016 by Anton Angelov
Detailed explanation how to design proper automated tests for grid controls. Includes examples for testing grid's paging.
29 May 2016 by Anton Angelov
Create tests that handle different dialogs via Testing Framework. Provide universal utilities, so that you do not need to write boilerplate code.
4 Sep 2016 by Anton Angelov
Learn how to improve automated testing troubleshooting through the introduction of meaningful exceptions' messages on tests' failure.
24 Nov 2023 by Zijian
From MsTest to xUnit
25 Nov 2013 by Sampath Lokuge
Please follow below mentioned articles and after that try to do your task..NET TDD (Test Driven Development) by example - Part 1[^]Test Driven Development(TDD) in C#[^]I hope this will help to you.
25 Nov 2013 by JoCodes
Sampath has posted some great reads . Just wanted to add one more article to it. http://www.developerfusion.com/article/9375/tdd-in-practice-dealing-with-hardtotest-areas/[^]
10 Feb 2015 by sabarish.V
have created a Winform App to Run Coded UI test scripts recorded in VS2013. Its finely running in the VS2013[update 4] installed machine. But when try to run this in Test Agent 2013 installed machine, the exception has been thrown at Playback.Initialize() method , as "The following package...
5 Aug 2015 by Member 11889838
Hi, I am trying to use OpenCover and ReportGenerator using MSTest on .Net. I usedfollowing commands in my batch file which i put in root dir. of my test project. But i got error: "Executing: C:\Program Files\Microsoft Visual Studio 12.0\Common7\IDE\MSTest.exeMicrosoft (R) Test...
14 Jul 2016 by Ajay K.S
I was trying to implement data driven test cases for module developed in C++ and I'm totally new to this one.What I have tried:Till now, I've understood that for native projects, data-driven type can't be implemented.If there's no built in functionality, I need to read the values...
14 Jul 2016 by KOMMURI
I read your question as follows."Is there a way to test native code using data driver approach?"You would write the code that accesses the native code using managed C++ as library and then use the same in your managed test code that would have access to all the libraries to read from data...
20 Sep 2016 by Member 12750312
Hi, my understanding of MSTest is very limited so this may be an unreasonable question, or I am now using the right keywords in Google searches. This is not really a code question but more of a solution setup question.What I am trying to do is create an integration test environment where the...
20 Sep 2016 by Bernhard Hiller
The more important question to ask is: where will those tests be running?I'd integrate them in a Continuous Integration framework (Jenkins or Team Foundation Server). After a build and unit tests were successful, startup a virtual machine, install and start the required services, copy your...
4 Feb 2019 by Member 14129661
I have got many integration unit test in my solution. I need to run those on a build server in TFS. But the build server doesn't have SQL server installed in it and also the business is not ready to install it due to license cost. Is there any other SDK or components that can be installed...
8 Apr 2021 by Member 14859151
Currently in our company we are executing tests from CCNet (in Automation VM) by specifying different build arguments, however I feel it is now best to migrate to better automation server which is Jenkins I am new to Jenkins world however I...
11 Aug 2022 by Virendra S from Bangalore, Karnataka
public ProductConfigDetails GetProductConfig() { ProductConfigDetails ProdConfigDetails; if (appsettingsconfiguration.UseMockData) { taxConfigDetails =...
9 Oct 2015 by Anton Angelov
Explains in detail how to implement Page Object Pattern- through the usage of the built-in feature in WebDriver and how to create it from scratch.
9 Oct 2015 by Anton Angelov
Explains in details how to create an OOP design of base classes in C# which can improve page object pattern oriented web automation testing framework.
9 Feb 2017 by Sean Rand
Let's get moving in Selenium and start Automation Testing in this Selenium Series.
24 Mar 2016 by Anton Angelov
Detailed explanation how to design proper automated tests for grid controls. Includes examples for unique identifier and text columns.
7 Oct 2015 by Anton Angelov
Elaborate further on the Advanced Strategy Design Pattern in automation tests. Usages such as combining multiple strategies in one test or test validations.The post Advanced Strategy Design Pattern in Automation Testing appeared first on Automate The Planet.
20 Feb 2016 by Anton Angelov
Find some advanced WebDriver tips and tricks how to use the framework like turn-off the JavaScript, execute tests in a headless browser or use a particular browser's profile.The post 10 Advanced WebDriver Tips and Tricks Part 1 appeared first on Automate The Planet.
22 May 2016 by Anton Angelov
Learn how to improve the Behaviours Design Pattern trough behaviours definitions and more complex OOP design. The new concept eases the configuration.
14 Nov 2016 by Anton Angelov
Learn how to handle more sophisticated scenarios that require multiple parameters. Create data driven tests using scenario outline examples tables.
23 Jul 2017 by Praveenkj79
This article describes how to test your .NET core API using MS Test.
16 Mar 2017 by Sean Rand
Testing using Chrome, Internet Explorer, Edge, and Firefox!
1 Apr 2015 by vikramsagar
Fixing third party DLL dependent unit tests with Xcopy
25 Nov 2013 by nikhilsreeni
Test Driven Development means write a test First Then we write code to make the test pass.Question: i need a calculator to add two numbers,platform console application input two numbers print the correct answer so help me to make the correct test case ?