Skip to content

machine-wide/ubut

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ubut™

ubench + utests = ubut

(it also creates unique and somewhat ridiculously sounding name)

Inspired by Sheredom UTEST and UBENCH Please review and respect the copyright and licensing from those repositories.

Why?

This is now single platform, and that platform is Windows.

When using (otherwise very good) ubench and utest, I experienced issue with Windows platform. Instead of fixing them in two places, I decided to have a single source for common stuff.

Yes, I know that complicates dependency (no more single header) and delivers SPOF's (Single Point Of Failure). But it is also far easier to manage and if things are done properly SPOF become SPOX aka Single Point Of eXcelence.

Also a lot of complex stuff is now removed since there is only onw platform supported.

Caveat Emptor

  • soft dependency on dbj--simplelog
  • This is Windows only, but not pathologically so
    • cmd.exe console colouring solution imposes Windows 10.0.14393 as a minimal version requirement.
    • It turns out that might be redundant
    • Just place system(" ") in your main (that is a single space in there)
  • Originals feature"fixtures" is removed
  • both UBENCH_MAIN() and UTEST_MAIN() are removed. Please see the comment on the bottom of ubench.h and utest.h

Having both UTEST and UBENCH function in the same project might or might not work. Testing of that is in motion.

Releases

No releases published

Packages

No packages published

Languages