Skip to content
  • Matthew John Cheetham's avatar
    c68482f5
    Allow per-database transaction preferences in fixtures · c68482f5
    Matthew John Cheetham authored
    
    
    Add ability to opt-in or out of transactions per-database in test
    fixtures. Using the new `use_transactional_tests_for_database` method
    you can override the `use_transactional_tests` default preference
    for a particular database to opt-in (or out by passing `false`) to using
    transactions. Also, using the new `skip_transactional_tests_for_database`
    method we can easily opt-out of transactions for a database.
    
    Co-authored-by: default avatarMorgan Mareve <mmareve@github.com>
    c68482f5
    Allow per-database transaction preferences in fixtures
    Matthew John Cheetham authored
    
    
    Add ability to opt-in or out of transactions per-database in test
    fixtures. Using the new `use_transactional_tests_for_database` method
    you can override the `use_transactional_tests` default preference
    for a particular database to opt-in (or out by passing `false`) to using
    transactions. Also, using the new `skip_transactional_tests_for_database`
    method we can easily opt-out of transactions for a database.
    
    Co-authored-by: default avatarMorgan Mareve <mmareve@github.com>
Loading