Skip to main content

Questions tagged [unit-testing]

Use this tag for code whose main focus is high-performance testing of the actual functional code.

4 votes
1 answer
176 views

Intro Two \$n\$-strings \$s = \langle s_1 \ldots s_n \rangle \$ and \$z = \langle z_z \ldots z_n \rangle\$ are considered isomorphic if and only if there exists a bijection \$f\$ such that for all \$...
coderodde's user avatar
  • 32.2k
4 votes
1 answer
78 views

I like from the C++ unit test framework Catch2 its sections -- much more than the xUnit test fixtures. Therefore I wrote me some macros which mimic the Catch2 sections. This is the first macro heavy ...
tommsch's user avatar
  • 293
5 votes
1 answer
386 views

I've been transitioning from type-safe programming languages like Dart and Java to Python, and I'm trying to enforce Domain-Driven Design (DDD) principles in a language that naturally leans towards ...
koussay issaoui's user avatar
2 votes
2 answers
172 views

My previous question about a generic dictionary class for C++ raised some valid concerns. I have made some modifications based on the previous review, but it needs extensive testing and further ...
pacmaninbw's user avatar
  • 26.2k
3 votes
1 answer
154 views

I usually use the Catch2 testing framework in my C++ projects. Unlike other frameworks, it has only one core assertion macro for all comparisons. Instead of writing ...
elehtine's user avatar
  • 165
1 vote
1 answer
126 views

It's a small project which consists of Ip class and functions for reading and printing IPs, unit tests for this code, and a driver app. The driver app is just ...
qloq's user avatar
  • 145
2 votes
0 answers
62 views

I want to unit test my PHP website, which uses the outdated framework CodeIgniter 3. CodeIgniter 3 uses the MVC pattern, and each page on the website corresponds to a public method in a controller. I ...
RedDragonWebDesign's user avatar
1 vote
1 answer
118 views

This is a follow-up to Generic Max() for Integer Types (including Boolean) and An Attempt at Creating Generic Min()/Max() for Fundamental Types. What's new: MIN(), ...
Madagascar's user avatar
  • 10.1k

15 30 50 per page
1
2 3 4 5
70