summaryrefslogtreecommitdiff
path: root/test/main/main.c
blob: 6806aa2e097547bc66205c75cf58f7718be6b7ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#include <stdio.h>
#include <string.h>
#include "unity.h"

static void print_banner(const char* text);

void app_main(void)
{
    print_banner("Running tests without [ignore] tag");
    UNITY_BEGIN();
    unity_run_tests_by_tag("[ignore]", true);
    UNITY_END();

    print_banner("Starting interactive test menu");
    unity_run_menu();
}

static void print_banner(const char* text)
{
    printf("\n#### %s #####\n\n", text);
}