| 1 | #include "runner_unit_tests.c" |
| 2 | TestSuite *runner_unit_tests() { |
| 3 | TestSuite *suite = create_test_suite(); |
| 4 | add_test_with_context(suite, Runner, can_get_context_name_of_name); |
| 5 | add_test_with_context(suite, Runner, can_get_test_name_of_symbolic_name); |
| 6 | add_test_with_context(suite, Runner, can_ensure_test_exists_from_context_and_name); |
| 7 | add_test_with_context(suite, Runner, can_match_test_name); |
| 8 | add_test_with_context(suite, Runner, can_add_test_to_the_suite_for_its_context); |
| 9 | add_test_with_context(suite, Runner, can_sort_an_empty_list_of_tests); |
| 10 | add_test_with_context(suite, Runner, can_sort_a_list_of_a_single_tests); |
| 11 | add_test_with_context(suite, Runner, can_sort_a_list_of_two_unordered_tests); |
| 12 | add_test_with_context(suite, Runner, can_sort_an_ordered_list_of_two_tests); |
| 13 | add_test_with_context(suite, Runner, can_sort_an_unordered_list_of_tests); |
| 14 | return suite; |
| 15 | } |
| 16 | int main(int argc, char **argv) { |
| 17 | return run_test_suite(runner_unit_tests(), create_text_reporter()); |
| 18 | } |