<commit_before>
            
   NODE_TAP  
            



ALTERNATIVES ==>                  #See Mocha

VERSION ==>                       #12.6.0

ASSERTIONS ==>                    #See node-tap assertions doc
DIFF TESTING ==>                  #See node-tap snapshots doc
TEST COVERAGE ==>                 #See istanbul doc
REPORTERS ==>                     #See node-tap reporters doc


                                             /=+===============================+=\
                                            /  :                               :  \
                                            )==:             TESTS             :==(
                                            \  :_______________________________:  /
                                             \=+===============================+=/


TAP                               #Is also a TEST (the top-level one), with few exceptions documented below

TEST.test(['TEST_TITLE', ][TOPTS,]#Define a test
 FUNC(TEST2))->PROMISE_TEST       #Def 'TEST_TITLE': FUNC.name or ''
                                  #Thrown exceptions make test fail using TEST.threw(), but are not propagated
                                  #They throw a deprecation warning from Node.js (because they use DOMAINs)

TEST.end()                        #Must be done
                                  #Automatically done when test's FUNC() return a PROMISE
TEST.plan(NUM[, 'COMMENT'])       #Automatically calls TEST.end() after NUM assertions
                                  #Assertion failure if plan does not match assertion count
TEST|TOPTS.autoend BOOL           #Automatically call TEST.end() on next microtask
                                  #Def: false except on TAP when TAP.tearDown() is defined
TEST.endAll()                     #Call TEST.end() on all children then itself
<commit_msg>no commit message<commit_after>
            
   NODE_TAP  
            



ALTERNATIVES ==>                  #See Mocha

VERSION ==>                       #12.6.1

ASSERTIONS ==>                    #See node-tap assertions doc
DIFF TESTING ==>                  #See node-tap snapshots doc
TEST COVERAGE ==>                 #See istanbul doc
REPORTERS ==>                     #See node-tap reporters doc


                                             /=+===============================+=\
                                            /  :                               :  \
                                            )==:             TESTS             :==(
                                            \  :_______________________________:  /
                                             \=+===============================+=/


TAP                               #Is also a TEST (the top-level one), with few exceptions documented below

TEST.test(['TEST_TITLE', ][TOPTS,]#Define a test
 FUNC(TEST2))->PROMISE_TEST       #Def 'TEST_TITLE': FUNC.name or ''
                                  #Thrown exceptions make test fail using TEST.threw(), but are not propagated
                                  #They throw a deprecation warning from Node.js (because they use DOMAINs)

TEST.end()                        #Must be done
                                  #Automatically done when test's FUNC() return a PROMISE
TEST.plan(NUM[, 'COMMENT'])       #Automatically calls TEST.end() after NUM assertions
                                  #Assertion failure if plan does not match assertion count
TEST|TOPTS.autoend BOOL           #Automatically call TEST.end() on next microtask
                                  #Def: false except on TAP when TAP.tearDown() is defined
TEST.endAll()                     #Call TEST.end() on all children then itself

{'fraction_non_alphanumeric': 0.24540441176470587, 'fraction_numerical': 0.002297794117647059, 'mean_word_length': 1.4945558739255014, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 17, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 34, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '832457', 'n_tokens_mistral': 2867, 'n_tokens_neox': 2798, 'n_words': 268}