byond - Modules - TypesDefine Details

code/__DEFINES/unit_tests.dm

PERFORM_ALL_TESTSAre tests enabled with no focus? Use this when performing test assertions outside of a unit test, since a focused test means that you're trying to run a test quickly. If a parameter is provided, will check if the focus is on that test name. For example, PERFORM_ALL_TESTS(log_mapping) will only run if either no test is focused, or the focus is log_mapping.
TEST_ONLY_ASSERTASSERT(), but it only actually does anything during unit tests

Define Details

PERFORM_ALL_TESTS

Are tests enabled with no focus? Use this when performing test assertions outside of a unit test, since a focused test means that you're trying to run a test quickly. If a parameter is provided, will check if the focus is on that test name. For example, PERFORM_ALL_TESTS(log_mapping) will only run if either no test is focused, or the focus is log_mapping.

TEST_ONLY_ASSERT

ASSERT(), but it only actually does anything during unit tests