dotnet-testcontainers
marionette
Our great sponsors
dotnet-testcontainers | marionette | |
---|---|---|
6 | 5 | |
1,129 | 44 | |
- | - | |
7.3 | 0.0 | |
almost 2 years ago | over 1 year ago | |
C# | C# | |
MIT License | GNU General Public License v3.0 only |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
dotnet-testcontainers
-
How do you Unit Test a WebAPI? What do you test?
So what I usually do is: • Unit test underlying (public) services and application ‘core’ • Integration test (or w/e you call it) an entire functionality flow, by sending in ‘real’ requests on one end, and locally mocking/stubbing the application ‘edges’ that supply the response data. WireMock for requests to external services, H2 or Testcontainers for database.
-
EF Core In-Memory DB (for testing) does not allow List<int> property even though this is something Postgres does. How would I go about testing this?
I'd use testcontainers to spin up an instance of Progress and run against the actual thing. That way you get the benefit of testing against the actual database, but also that you don't have to set up a bunch of stuff locally.
Not every db support array as primitive, if you want to write integration tests and you have access to docker I suggest you testcontainers.
-
Does anyone have a good functional (integration? end to end?) automated Web API testing setup?
There is a rope which can help with this task: https://github.com/HofmeisterAn/dotnet-testcontainers
-
Integration testing with EF Core, part 2
Dotnet.Testcontainers also comes with some built-in classes that wraps various services, one of these classes actually wraps a SQL Server Docker container and there are few more that covers the most common databases e.g.
-
End to end testing is confusing
You should also check out Docker, especially TestContainers. That way you can spin up databases (and other dependencies) on the fly and do operations on them. This means that you don't need to "fake" a database, as you will have access to a new one.
marionette
-
How to get feedback and promote an open source .NET test automation framework that I created?
I've been doing some promoting of my side project by responding to posts/comments that are relevant with details about my project, but I don't know how often questions about what kind of automation frameworks there are come up. I told my coworker about your project after tracking it down, it sounds like it may be somewhat similar to something we homebrewed and we can possibly make use of https://github.com/asimmon/askaiser-marionette instead.
-
Asking for help/feedback about a test automation framework that I created. It is based on image and text recognition.
About a year ago, I started writing this test automation framework which is based on image and text recognition. Now that I've done quite a lot of testing and polishing, I've reached the point where I'd like to receive feedback from QA and software engineers. This is why I am asking for your help today:
-
Universal UI testing based on image and text recognition
So, give it a try, and take a look at the sample project! It only works on Windows, because screen capture, mouse and keyboard interaction are only implemented for that OS so far.
- I created an open-source UI testing framework based on image and text recognition!
- Askaiser.Marionette is a test automation framework based on image and text recognition with a C# source generator to increase your productivity. Automate anything within minutes! Video in README. Automation engineer feedback would be particularly appreciated!
What are some alternatives?
FluentDocker - Use docker, docker-compose local and remote in tests and your .NET core/full framework apps via a FluentAPI
Versioning.NET - A dotnet tool that automatically increments versions in csproj files based on git commit hints.
NUnit - NUnit Framework
CoronaDeployments - This project is created to make versioned deployments behind IIS easy! This project main focus is on Dot Net (Windows Server & IIS) & SVN SCM / Git deployments.
WireMock.Net - WireMock.Net is a flexible product for stubbing and mocking web HTTP responses using advanced request matching and response templating. Based on the functionality from http://WireMock.org, but extended with more functionality.
WexFlow - An easy and fast way to build automation and workflows on Windows, Linux, macOS, and the cloud.
xUnit - xUnit.net is a free, open source, community-focused unit testing tool for .NET.
WinAppDriver - Windows Application Driver
harbor - Dotnet CLI tool to help easily handling development dependencies
Lidarr - Looks and smells like Sonarr but made for music.
LocalDb - Provides a wrapper around SqlLocalDB to simplify running tests or samples that require a SQL Server Database
tesseract - A .Net wrapper for tesseract-ocr