• Arnaud Fontaine's avatar
    ZODB Components: Revert 'Allow to execute runUnitTest for bt5 Test Components'... · c35d24e8
    Arnaud Fontaine authored
    ZODB Components: Revert 'Allow to execute runUnitTest for bt5 Test Components' (a771dca4) to fix tests bootstrap.
    
    The new syntax to load ZODB Tests Components is:
    runUnitTest BT_TITLE:TEST_NAME
    
    That commit was too adhoc as it was relying upon filesystem to load Tests
    Components and was not behaving like any other Components (versions was not
    available and other Components were not importable).
    
    At the end, it would have meant that a Test Component ran through runUnitTest
    and Live Tests (in ERP5 itself) would have behaved differently, thus instead:
    
    1/ Install BT_TITLE dependencies and its test dependencies (new bt property to
       specify bt to be installed only for tests on a fresh instance).
    2/ The site is loaded.
    3/ Load the test by importing it like any other Components.
    c35d24e8
Name
Last commit
Last update
..
copyright_list Loading commit data...
license Loading commit data...
revision Loading commit data...
template_action_path_list Loading commit data...
template_format_version Loading commit data...
template_portal_type_allowed_content_type_list Loading commit data...
template_portal_type_id_list Loading commit data...
template_portal_type_property_sheet_list Loading commit data...
template_portal_type_workflow_chain_list Loading commit data...
template_property_sheet_id_list Loading commit data...
template_skin_id_list Loading commit data...
template_test_id_list Loading commit data...
template_tool_id_list Loading commit data...
template_workflow_id_list Loading commit data...
test_dependency_list Loading commit data...
title Loading commit data...