Learn it from developers who built it.
Tutorials, how-tos and deep dives on AI, .NET, C#, cloud and developer tools, written by the community.
Learn how to set up and write NUnit tests in C# 13 and .NET 9, including AAA patterns, test fixtures, parameterized tests, mocking, and raw string test data.
This content explores the automation of test case management through REST API integration. It highlights how API-driven automation streamlines test workflows, enhances efficiency and improves software quality.
NUnit is a popular open-source unit testing framework for .NET languages, essential for verifying code in ASP.NET Core. This guide covers setting up NUnit in an MVC project using CLI commands, creating test projects, and running tests.
Easy guide for migrating your feature files, including examples, datatables, and hooks, from SpecFlow to Reqnroll, ensuring compatibility and functionality in your BDD tests, ensuring that your automation framework remains robust and future-proof.
This article explores performing click operations on buttons, radio buttons, checkboxes, and links using JavaScript in Selenium WebDriver. It covers two methods: using JavaScript exclusively for finding elements and clicking them, or combining WebDriver to find elements and JavaScript to perform the click.
Learn how to perform scroll operations using JavaScript Executor in Selenium WebDriver. This guide covers integrating JavaScript with Selenium to handle dynamic web elements and complex scrolling scenarios, enhancing your automation scripts for smoother and more effective testing.
Learn how to find web elements using JavaScript in Selenium WebDriver. Discover methods like getElementById, getElementsByName, and querySelector for precise element retrieval. Explore how to use JavascriptExecutor to run scripts and handle elements directly from the DOM for advanced automation tasks.
This guide covers the step-by-step process for utilizing JavaScriptExecutor to interact with web elements, automate text entry, and enhance your Selenium automation scripts. Perfect for improving your web testing efficiency.
JavaScriptExecutor in Selenium WebDriver allows executing JavaScript code within a web browser. It's useful when WebDriver’s native commands fail, such as manipulating web elements or triggering browser alerts. Key methods include executeScript for synchronous tasks and executeAsyncScript for asynchronous tasks.
Learn how to highlight web elements in Selenium WebDriver using JavascriptExecutor. This guide covers how to use JavaScript to draw attention to elements on a webpage during automated testing, making it easier to debug and verify your test cases.
Learn how to set up Postman, create and manage HTTP requests, and test your APIs efficiently. Discover key features like collections, environments, and test scripts to streamline your API development process.
Learn unit testing fundamentals with a focus on mocking using the Moq framework in Visual Studio. Explore how mock objects simulate dependencies, ensuring isolated testing environments. Master essential techniques like lambda expressions and the Setup() method for efficient unit tests in distributed team projects.
Explore comprehensive interview questions and expert answers on Selenium, covering essential topics like Selenium WebDriver, test automation strategies, Java/C#/Python programming for Selenium, test frameworks (TestNG, JUnit), XPath/CSS selectors, Page Object Model (POM), and various automation frameworks.
Learn how to measure .NET web application performance with Visual Studio Web Performance Tests, including response time, throughput, resource utilization, and workload metrics.
Learn how to implement sanity testing in TestNG using test groups and dependencies to run critical checks before broader Java test suites.
Cypress.io offers an intuitive end-to-end testing framework for web applications. This beginner's guide covers setup, writing tests, and running them with Cypress's powerful features.
k6 is an open-source framework designed to simplify performance testing for developers. It leverages the Goja programming language, an implementation of ES2015 JavaScript on Golang. This allows developers to write performance testing scripts using JavaScript syntax compatible with ES2015 standards.
Overcome challenges in Agile testing with practical solutions. Address communication issues, adapt to changing plans, prioritize test coverage, and enhance teamwork for successful and reliable software development in Agile environments.
In this article we will talk about one important function of unit testing called CollectionAssert().
In this article, we will explain how to perform unit tests with mock objects in dependency injection scenarios. Enhance your testing process by isolating dependencies and simulating their behavior, facilitating efficient and reliable code testing.
Learn essential unit testing principles applied to the Inversion of Control (IoC) code. Master techniques for testing IoC setup, dependencies, and configurations. Boost software quality with robust testing practices tailored to IoC containers.
Learn the fundamentals of unit testing with a focus on Assert.AreEqual and Assert.AreEqual<T>. These assertion methods are crucial in ensuring your code behaves as expected. Mastering them enhances code quality and streamlines the testing process, fostering robust software development.
In this article, we will explain the uses of two very important attributes called TestInitialize and TestCleanup. Both attributes are useful at the time of unit test setup.
This article is part of the "Fundamentals of Unit Testing" series, focusing on practical implementation in the Visual Studio environment. It covers steps such as creating a class library application, defining a simple class and function for testing, adding a unit test project to the solution, writing test cases, and running tests using Visual Studio's testing framework.
Master the fundamentals of unit testing with a focus on AAA. Arrange, Act, and Assert. Dive into test methods, understand the AAA pattern, and leverage testing frameworks like Microsoft's Unit Testing Framework for Visual Studio.
In this article we will understand the three very important concepts called Stub, Mock and Fake in terms of unit testing and will see how they are used depending on scenario.
Everything on Software Testing, not only its articles: the Software Testing page →
Write an article and earn +1,000 SHARP when it is approved.
Write an article