<commit_before>(use 'clj-unit.core)

(require 'fleetdb.server)

(require-and-run-tests
  'fleetdb.compare-test
  'fleetdb.core-test
  'fleetdb.embedded-test
  'fleetdb.server-test
)<commit_msg>Add CL option to run tests without booted servers.<commit_after>(use 'clj-unit.core)

(def base-tests ['fleetdb.compare-test
                 'fleetdb.core-test
                 'fleetdb.embedded-test])

(def server-test 'fleetdb.server-test)

(apply require-and-run-tests
  (if (= (first *command-line-args*) "--no-server")
    base-tests
    (conj base-tests server-test)))
{'fraction_non_alphanumeric': 0.14788732394366197, 'fraction_numerical': 0.0, 'mean_word_length': 3.2781954887218046, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7167805', 'n_tokens_mistral': 218, 'n_tokens_neox': 204, 'n_words': 37}