Found 25 packages
A bunch of helpers to get around the deficiencies of MSTest. Features Dynamic/Runtime DataSource's, better exception support and much much more!
Build your API test easily with few simple steps and this framework allows you to focus more on your Test. The wrapper allows to call the endpoints easily and provide different options on your request and response. Overview This framework is built as part of Selenium Essentials to provide an API framework which allows to make calls to endpoints easily. For advanced data transformation features including Excel integration, consider using TestAny.Essentials.Api.Extensions. Key Features: - API framework to write integration tests -- Supports fluent way of endpoint definitions -- Support most of the operations -- Simple and easy to manage the tests -- Retry mechanisms with configurable timeouts -- Cookie management and domain extraction -- Proxy and certificate support -- Comprehensive response handling Advanced Capabilities: - Request retry with customizable conditions - Timeout control for server requests - Cookie extraction and management - Auto-redirection handling - No-cache options - JSON and query parameter support - Comprehensive HTTP method support (GET, POST, PUT, DELETE, PATCH) Extensions Available: For enhanced functionality including Excel data transformation, template processing, and data-driven testing, install TestAny.Essentials.Api.Extensions which provides: - Excel data integration with {{placeholder}} template transformation - Advanced data manipulation and transformation utilities - Enhanced extension methods for string and data operations Example: return new TestApiHttp() .SetEnvironment("http://api.openweathermap.org") .PrepareRequest("/data/2.5/forecast") .Get() .ResponseBody .ContentJson;
A lightweight, robust, flexible and extensible, type- and thread-safe C# framework, designed to facilitate dynamic data-driven testing in MSTest, NUnit or xUnit frameworks, by providing simple and intuitive ways to generate test cases at runtime with literal names.
FluidTest - A flexible Engine allowing you to focus on reusable components and removing the need to have messy unreadable tests
Wiz DotNet Core Function Template Data Driven
Wiz DotNet Core API Template Data Driven
Lightweight, robust type-safe C# framework designed to facilitate dynamic data-driven testing in NUnit framework, by providing a simple and intuitive way to generate `TestCaseData` instances or object arrays at runtime, based on `CsabaDu.DynamicTestData` features.
Lightweight, robust type-safe C# framework designed to facilitate dynamic data-driven testing in xUnit framework, by providing a simple and intuitive way to generate `TheoryData` instances or object arrays at runtime, based on `CsabaDu.DynamicTestData` features.
Data-drivenTesting
MSTest extension for data driven tests
SimpleDataGenerator is an open source library for .NET expands AutoFixture library. Its primary goal is to allow developers to do easier Test-Driven Development by the useful extensions library AutoFixture
Azure Search Extensions
Attribute-driven .NET library for auto-generating test data for unit testing and mocking.
DataDriven MsTest DataSourceAttribute solution targeting .NET methods using ADO.NET wrapper over .NET IEnumerable methods
A .NET fake data generator inspired by ruby's factory_girl gem to make test-driven development more productive. Create your fake data for testing purposes more easily with random generators and fluent interface!
The NuGet package “XCore.Common.Data.Entity” is a comprehensive set of interfaces designed to manage entities in a database using code. This package provides a clear and consistent abstraction for data manipulation, making database operations more efficient and manageable. Here are some highlights of this package: Comprehensive Interfaces: The package provides all the necessary interfaces for managing entities in a database. This includes operations such as inserting, updating, deleting, and searching for entities. Data Abstraction: The interfaces provide a level of abstraction between the application code and the database. This makes the code easier to write, test, and maintain. Compatibility: The package is designed to be compatible with a variety of databases. This means it can be used in a wide range of applications, regardless of the database used. Efficiency: By using the interfaces provided by this package, developers can write more efficient and performant code. This can lead to an improvement in application performance. Ease of Use: The package has been designed with usability in mind. The interfaces are intuitive and easy to use, making application development simpler and faster. In summary, “XCore.Common.Data.Entity” is a powerful tool for any developer working with databases. It provides a robust and flexible set of interfaces that can make database entity management a breeze
Build your Api test easily with few simple steps and this framework allows you to focus more on your Test. The wrapper allows to call the endpoints easily and provide different options on your request and response. Overview This framework is build as part of Selenium Essentials to provide a Api framework which allows to make calls to endpoint easily with enhanced data transformation capabilities. - Api framework to write integration tests -- Supports fluent way of endpoint definitions -- Support most of the operations -- Simple and easy to manage the tests -- Excel data transformation and template processing -- Data-driven testing with Excel integration -- String template transformation with placeholders Key Features: - Excel Data Integration: Load and transform data from Excel files using attributes - Template Processing: Transform string templates with {{placeholder}} syntax using Excel data - Extension Methods: Convenient extension methods for string and data transformations - Seamless Integration: Works with TestAny.Essentials.Api for enhanced testing capabilities Excel Data Transformation: - GetExcelDataSourceContent(): Retrieve Excel data from method attributes - TransformWithExcelData(): Transform string templates using Excel data with {{key}} placeholders - Support for column mapping and worksheet selection - Automatic data type handling and conversion Example, return new TestApiHttp() .SetEnvironment("http://api.openweathermap.org") .PrepareRequest("/data/2.5/forecase") .Get() .ResponseBody .ContentJson; // Excel data transformation example var template = "Hello {{name}}, your age is {{age}}"; var transformedContent = template.TransformWithExcelData(excelData);
Don't spend hours writing code to mock a dozen dependencies, and more hours debugging it. Just write your test code, and let FixtureBase create the dependencies for you. FixtureBase constructs your UnitUnderTest to test your codebase end-to-end, with external dependencies auto-faked and automatically injected in just the right place; even constructor dependencies that are several layers deep. You just write your tests: ``` public class FixtureBaseExample : FixtureBaseWithDbAndHttpFor<AUseCase> { [Fact] public void UUTSendsDataToDb() { var newDatum = new Datum{Id=99, Name="New!" }; UnitUnderTest.InsertDb(newDatum); Db.ShouldHaveInserted("Data",newDatum); } [Fact] public void UUTreturnsDataFromDbQuerySingleColumn() { var dbData = new[] { "row1", "row2", "row3", "row4"}; Db.SetUpForQuerySingleColumn(dbData); UnitUnderTest.FromDbStrings().ShouldEqualByValue(dbData); } [Fact] public async Task UUTGetHttpReturnsDataFromService() { var contentFromService = "IGotThis!"; HttpClient .Setup(m => true) .Returns(new HttpResponseMessage(HttpStatusCode.OK) {Content = new StringContent(contentFromService)}); (await UnitUnderTest.GetHttp()).ShouldBe(contentFromService); HttpClient.Verify(x=>x.Method==HttpMethod.Get); } } ``` The included examples demonstrate FixtureBases for applications which depend on Ado.Net IDbConnections and on HttpClient network connections. - To create your own FixtureBase with your own preferred Fakes, see the examples at <https://github.com/chrisfcarroll/ActivateAnything/blob/master/FixtureBase/FixtureExample.cs.md> - For how it's done, see <https://github.com/chrisfcarroll/ActivateAnything/blob/master/FixtureBase/FixtureBase.cs> Construction is done by - [ActivateAnything](https://www.nuget.org/packages/ActivateAnything) Faking is done by - [TestBase.AdoNet](https://www.nuget.org/packages/TestBase.AdoNet) - [TestBase.HttpClient.Fake](https://www.nuget.org/packages/TestBase.HttpClient.Fake) For more tools focussed on cutting the cost of unit testing, see also: - [TestBase](https://www.nuget.org/packages/TestBase) - [TestBase.AspNetCore.Mvc](https://www.nuget.org/packages/TestBase.AspNetCore.Mvc) - [TestBase-Mvc](https://www.nuget.org/packages/TestBase-Mvc) - [TestBase.AdoNet](https://www.nuget.org/packages/TestBase.AdoNet) - [TestBase.HttpClient.Fake](https://www.nuget.org/packages/TestBase.HttpClient.Fake) - [Serilog.Sinks.ListOfString](https://www.nuget.org/packages/Serilog.Sinks.Listofstring) - [Extensions.Logging.ListOfString](https://www.nuget.org/packages/Extensions.Logging.ListOfString)
A SpecSync plugin that synchronizes scenario outlines as normal (non-data-driven) Test Cases.
Selenium WebDriver Based Web UI Test Automation Framework for C#/.NET Supports .NET Standard 2.0, compatible with .NET 5+, .NET Framework 4.6.1+, and .NET Core/Standard 2.0+. Features: - Built upon Selenium WebDriver, leveraging its full capabilities. - Leverages the Page Object Model design pattern, incorporating a robust and maintainable Fluent Page Object implementation. - Includes a comprehensive library of pre-built components for common UI elements such as inputs, tables, lists, and more. - Seamlessly integrates with popular .NET testing frameworks (e.g., NUnit, xUnit, SpecFlow) and CI/CD pipelines (e.g., Jenkins, GitHub Actions, TeamCity). - Extensible with a variety of triggers that can be bound to custom events, enabling dynamic and flexible component behavior. - Provides a comprehensive suite of fluent assertions and event-driven triggers for robust component and data verification. - Highly configurable. Offers flexible configuration options, including customizable component search strategies and user-defined settings. Supports JSON configuration files for easy management and maintenance. - Enhanced reporting and logging capabilities. Features built-in, customizable logging, with support for capturing screenshots and snapshots for detailed test analysis. - Extensible with modules for HTML validation, Bootstrap, Kendo UI, and more.