Example #1
0
from AAAPT.runner import register_tests

test_suites = {
  'sass_selection': ['SassSelection.tests.SassSelectionTest'],
}

register_tests(test_suites)
Example #2
0
try:
    from AAAPT.runner import register_tests
    register_tests({
        "skeleton": ["PackageBoilerplate.tests.test_skeleton"],
        "support": ["PackageBoilerplate.tests.test_support"],
        "path": ["PackageBoilerplate.tests.test_path"],
        "basepath": ["PackageBoilerplate.tests.test_basepath"]
    })
except ImportError:
    print("Install the AAAPT Package if you want to test PackageBoilerplate")
    
try:
    from AAAPT.runner import register_tests
    register_tests({
        "command": ["{package_name}.tests.test_command"]
    })
except ImportError:
    print("Install the AAAPT Package if you want to test {PackageName}")
    
Example #4
0
try:
    from AAAPT.runner import register_tests
    register_tests({"command": ["{package_name}.tests.test_command"]})
except ImportError:
    print("Install the AAAPT Package if you want to test {PackageName}")
Example #5
0
# Sample test harness. It does not actually test anything meaningful in AAPT.

from AAAPT.runner import register_tests


TESTS_SOME_FEATURE_A = 'AAAPT.tests.test_sample'

TESTS_ALL_FEATURE_A = [TESTS_SOME_FEATURE_A]

test_suites = {
    'feata': TESTS_ALL_FEATURE_A,
}


register_tests(test_suites)

try:
    from AAAPT.runner import register_tests
    register_tests({
        'card_options': ['Trello.tests.test_card_options'],
        'executable'  : ['Trello.tests.test_executable'],
        'operations'  : ['Trello.tests.test_operations'],
        'output'      : ['Trello.tests.test_output']
    })
except ImportError:
    print("Install the AAAPT Package to test Trello from SublimeText")
    
try:
    from AAAPT.runner import register_tests
    register_tests({
        'card_options': ['Trello.tests.test_card_options'],
        'executable': ['Trello.tests.test_executable'],
        'operations': ['Trello.tests.test_operations'],
        'output': ['Trello.tests.test_output']
    })
except ImportError:
    print("Install the AAAPT Package to test Trello from SublimeText")