Unit Testing Framework
-
Just curious, for those of you using Unit Tests, what testing framework are you using and why?
If it's not broken, fix it until it is. Everything makes sense in someone's mind. Ya can't fix stupid.
-
Just curious, for those of you using Unit Tests, what testing framework are you using and why?
If it's not broken, fix it until it is. Everything makes sense in someone's mind. Ya can't fix stupid.
we baked our own for C++ code. We also use googletest for newer projects. For C#, xunit (but I've not used it personally)
CI/CD = Continuous Impediment/Continuous Despair
-
Just curious, for those of you using Unit Tests, what testing framework are you using and why?
If it's not broken, fix it until it is. Everything makes sense in someone's mind. Ya can't fix stupid.
UTPP: C++ Unit Test Framework[^]. My own re-implementation of UnitTest++. Small, header only, easy to use.
Mircea
-
Just curious, for those of you using Unit Tests, what testing framework are you using and why?
If it's not broken, fix it until it is. Everything makes sense in someone's mind. Ya can't fix stupid.
I'm using VS's unit test framework as a wrapper for integration tests written in a fluent syntax for testing web API's[^]. IMO, 99% of pure unit testing is pointless. :-D
Latest Article:
Create a Digital Ocean Droplet for .NET Core Web API with a real SSL Certificate on a Domain -
Just curious, for those of you using Unit Tests, what testing framework are you using and why?
If it's not broken, fix it until it is. Everything makes sense in someone's mind. Ya can't fix stupid.
JUnit4 + Mockito + AssertJ is the setup I'm using right now; partly because that's what was already being used but I've also grown to like them. I use NUnit when I do C# so JUnit is right up my alley; Mockito is just great period; and I like AssertJ's fluent style over something like hamcrest.
-
Just curious, for those of you using Unit Tests, what testing framework are you using and why?
If it's not broken, fix it until it is. Everything makes sense in someone's mind. Ya can't fix stupid.
-
Just curious, for those of you using Unit Tests, what testing framework are you using and why?
If it's not broken, fix it until it is. Everything makes sense in someone's mind. Ya can't fix stupid.
NUNIT for C#
diligent hands rule....
-
Just curious, for those of you using Unit Tests, what testing framework are you using and why?
If it's not broken, fix it until it is. Everything makes sense in someone's mind. Ya can't fix stupid.
-
Just curious, for those of you using Unit Tests, what testing framework are you using and why?
If it's not broken, fix it until it is. Everything makes sense in someone's mind. Ya can't fix stupid.
If I use it, NUnit or xUnit. NUnit because it is (used to be?) the default in Visual Studio. xUnit because Microsoft said so and there are now standard xUnit project templates available. I've found the two to be interchangeable for the limited amount of tests I run.
Best, Sander Azure DevOps Succinctly (free eBook) Azure Serverless Succinctly (free eBook) Migrating Apps to the Cloud with Azure arrgh.js - Bringing LINQ to JavaScript
-
Just curious, for those of you using Unit Tests, what testing framework are you using and why?
If it's not broken, fix it until it is. Everything makes sense in someone's mind. Ya can't fix stupid.
I'm starting a new job in the near future, and they use Selenium with (I think) nUnit. The place I'm at right now doesn't have any unit or integration testing in place - at all.
".45 ACP - because shooting twice is just silly" - JSOP, 2010
-----
You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
-----
When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013