Press "Enter" to skip to content

Posts tagged as “Frameworks”

Get to know the benefits and differences between Data-Driven and Keyword-Driven testing as test automation techniques

Vladimir Simonovski

Data-Driven Testing Definition A test automation technique, that is used for creating test cases that have the same steps but different input variations. This technique helps in developing and maintaining test case efforts and it is one of the main focuses when it comes to testing automation strategy especially in Agile-oriented projects. When we follow the data-driven approach, we actually test scripts that accept different inputs to run with different sets of data. With that, we increase the test coverage…

How to write automated tests using MsTest framework? Test attributes, data-driven tests, and assertions!

Vladimir Simonovski

What is MsTest framework? MsTest framework is a unit testing framework for the ASP .NET framework that allows us to write automated tests without the help of any third-party tools or libraries. It’s one of the most useful test frameworks out there and it comes along with Visual Studio IDE by default. MsTest framework has various options like different test attributes, data-driven tests, assertion library ability to execute the tests in parallel, etc. It can be used for client-side or…

Going In-Depth into what is Chai Assertion Library and why it’s so popular

Vladimir Simonovski

What is assertion? An assertion is a form of validation statement in the programming language which verifies if the given result or outcome is correct and valid. The purpose of using assertions in test automation is to identify if the given outcome of a particular scenario is equal to the actual outcome. In other words, checking the expected vs actual result for a test. If they are not the same then the test would fail with the failure message shown…

Cucumber: Write automated tests in behavior-driven development fashion

Vladimir Simonovski

What is Cucumber? Cucumber is a test framework that is used for writing BDD tests for web applications in a simple English language text called Gherkin. Tests written in Cucumber can be easily read by everyone within the team whether technical or non-technical individuals. It provides some form of live test documentation that is updated regularly but in the background, there are methods that are mapped and executed with each Gherkin sentence. When BDD comes into the picture, Cucumber is…

TestNG vs JUnit Annotations: Which one is a better option?

Vladimir Simonovski

In this post, we’re going to talk about two of the most used tools amongst the IT professions in the community. Tools that allow easy test implementation has powerful features and they’re easy to integrate. TestNG and JUnit are widely utilized and incorporated in the testing world today. Used in a variety of automation tools and integrated with other frameworks, they offer great test modularity, flexibility, and easy to understand and write test structure. We’re going to take a look…