[HN Gopher] Criterion: A cross-platform C and C++ unit testing f...
       ___________________________________________________________________
        
       Criterion: A cross-platform C and C++ unit testing framework
        
       Author : cassepipe
       Score  : 19 points
       Date   : 2022-02-21 19:41 UTC (3 hours ago)
        
 (HTM) web link (github.com)
 (TXT) w3m dump (github.com)
        
       | dang wrote:
       | Related:
       | 
       |  _Show HN: Writing modern C unit tests with Criterion_ -
       | https://news.ycombinator.com/item?id=10147873 - Aug 2015 (13
       | comments)
       | 
       |  _Show HN: Criterion - A new C unit testing framework_ -
       | https://news.ycombinator.com/item?id=9107912 - Feb 2015 (1
       | comment)
       | 
       |  _Show HN: A new unit testing framework for C_ -
       | https://news.ycombinator.com/item?id=9033506 - Feb 2015 (1
       | comment)
        
       | octocop wrote:
       | Usually i want to mock classes and functions with these
       | frameworks. gmock just werks for dat.
        
       | ggerganov wrote:
       | A bit off topic - if I wanted to make a gif similar to the one in
       | the README of this project, what tool would I need to use? The
       | typing seems to be automated somehow to be at a constant rate.
        
         | Vitamin_Sushi wrote:
         | asciinema maybe?
        
         | jpm48 wrote:
         | Most likely a combination of asciinema https://asciinema.org/
         | and https://github.com/cirocosta/asciinema-edit (You can do it
         | by hand as well, but the tools are easier). Use the Quantize
         | and speed options
        
       | tristan957 wrote:
       | Seems alright. I am kind of looking through test frameworks to
       | get rid of our home-grown mess. Was looking at GLib, but I will
       | add this one to the list. I have found finding mocking to be
       | extremely hard to do in C. Would love to drop our current mock
       | stuff.
        
         | thebruce87m wrote:
         | I quite like the mocking in ceedling.
        
       ___________________________________________________________________
       (page generated 2022-02-21 23:01 UTC)