Skip to content

Support atomic batch deletion #66

Support atomic batch deletion

Support atomic batch deletion #66

GitHub Actions / Minitest Tests - 3.0 failed Jul 8, 2024 in 0s

534 passed, 4 failed and 1 skipped

Tests failed

Report Passed Failed Skipped Time
test/reports/TEST-access_control.xml 1✅ 32ms
test/reports/TEST-changing_references_adding_references.xml 1✅ 34ms
test/reports/TEST-changing_references_removing_references.xml 1✅ 47ms
test/reports/TEST-concurrently_inserting_a_reference_downwards.xml 1✅ 17ms
test/reports/TEST-garbage_collection.xml 1✅ 45ms
test/reports/TEST-inference.xml 3✅ 44ms
test/reports/TEST-inherited_migrations_downwards.xml 1✅ 51ms
test/reports/TEST-inherited_migrations_upwards.xml 1✅ 25ms
test/reports/TEST-message_parser_with_a_bad_message_prefix.xml 1✅ 3ms
test/reports/TEST-message_parser_with_a_bad_message_suffix.xml 1✅ 1ms
test/reports/TEST-message_parser_with_a_exclusion_conflict.xml 1✅ 1ms
test/reports/TEST-message_parser_with_a_single_key_and_value.xml 1✅ 1ms
test/reports/TEST-message_parser_with_multiple_keys_and_values.xml 1✅ 1ms
test/reports/TEST-message_parser_with_nested_quoted_keys_and_values.xml 1✅ 1ms
test/reports/TEST-message_parser_with_quoted_keys_and_values.xml 1✅ 1ms
test/reports/TEST-message_parser_with_unescaped_values.xml 1✅ 1ms
test/reports/TEST-owned_reference_child_without_a_child.xml 1✅ 36ms
test/reports/TEST-owned_reference_child.xml 14✅ 596ms
test/reports/TEST-owned_reference_children_with_association_manipulation.xml 5✅ 207ms
test/reports/TEST-owned_reference_children.xml 13✅ 634ms
test/reports/TEST-renaming_associations.xml 4✅ 179ms
test/reports/TEST-rendering_prerendered_json_terminals.xml 1✅ 1ms
test/reports/TEST-sti_polymorphic_children.xml 6✅ 317ms
test/reports/TEST-tracing_each_callback_with_list_test_model.xml 1✅ 24ms
test/reports/TEST-tracing_each_callback_with_parent_and_child_test_models.xml 8✅ 307ms
test/reports/TEST-tracing_each_callback_with_parent_and_children_test_models.xml 3✅ 131ms
test/reports/TEST-ViewModel_AccessControlTest_ComposedTest.xml 11✅ 83ms
test/reports/TEST-ViewModel_AccessControlTest_TreeTest.xml 9✅ 133ms
test/reports/TEST-ViewModel_ActiveRecord_Alias.xml 1✅ 40ms
test/reports/TEST-ViewModel_ActiveRecord_BelongsToTest_FreedChildrenTest.xml 1✅ 20ms
test/reports/TEST-ViewModel_ActiveRecord_BelongsToTest_GCTests.xml 3✅ 136ms
test/reports/TEST-ViewModel_ActiveRecord_BelongsToTest_RenamedTest.xml 2✅ 81ms
test/reports/TEST-ViewModel_ActiveRecord_BelongsToTest.xml 20✅ 865ms
test/reports/TEST-ViewModel_ActiveRecord_ControllerNestedTest.xml 20✅ 2❌ 260ms
test/reports/TEST-ViewModel_ActiveRecord_ControllerTest.xml 12✅ 2❌ 127ms
test/reports/TEST-ViewModel_ActiveRecord_CounterTest.xml 4✅ 43ms
test/reports/TEST-ViewModel_ActiveRecord_FlattenAssociationTest_InCollectionTest.xml 1✅ 36ms
test/reports/TEST-ViewModel_ActiveRecord_FlattenAssociationTest.xml 3✅ 45ms
test/reports/TEST-ViewModel_ActiveRecord_HasManyTest.xml 48✅ 2s
test/reports/TEST-ViewModel_ActiveRecord_HasManyThroughPolyTest_RenameTest.xml 2✅ 36ms
test/reports/TEST-ViewModel_ActiveRecord_HasManyThroughPolyTest.xml 8✅ 137ms
test/reports/TEST-ViewModel_ActiveRecord_HasManyThroughTest_RenamingTest.xml 2✅ 30ms
test/reports/TEST-ViewModel_ActiveRecord_HasManyThroughTest_WithChildTagTest.xml 2✅ 3ms
test/reports/TEST-ViewModel_ActiveRecord_HasManyThroughTest.xml 30✅ 389ms
test/reports/TEST-ViewModel_ActiveRecord_HasOneTest_FreedChildrenTest.xml 1⚪ 1ms
test/reports/TEST-ViewModel_ActiveRecord_HasOneTest.xml 22✅ 931ms
test/reports/TEST-ViewModel_ActiveRecord_PolyTest_PolyChildPointerTest_RenameTest.xml 2✅ 27ms
test/reports/TEST-ViewModel_ActiveRecord_PolyTest_PolyChildPointerTest.xml 5✅ 46ms
test/reports/TEST-ViewModel_ActiveRecord_PolyTest_PolyParentPointerTest.xml 3✅ 56ms
test/reports/TEST-ViewModel_ActiveRecord_SharedTest.xml 18✅ 119ms
test/reports/TEST-ViewModel_ActiveRecord_SpecializeAssociationTest.xml 3✅ 27ms
test/reports/TEST-ViewModel_ActiveRecord_VersionTest.xml 4✅ 31ms
test/reports/TEST-ViewModel_ActiveRecordTest_CustomAttributeViewsTests.xml 2✅ 10ms
test/reports/TEST-ViewModel_ActiveRecordTest_CustomizedErrorTest.xml 1✅ 8ms
test/reports/TEST-ViewModel_ActiveRecordTest_DeferredConstraintTest.xml 3✅ 22ms
test/reports/TEST-ViewModel_ActiveRecordTest_DeserializationParentContextTest.xml 2✅ 9ms
test/reports/TEST-ViewModel_ActiveRecordTest.xml 31✅ 131ms
test/reports/TEST-ViewModel_GarbageCollectionTest.xml 4✅ 2ms
test/reports/TEST-ViewModel_RegistryTest.xml 3✅ 75ms
test/reports/TEST-VM_Record_nesting_with_array_of_nested_viewmodel.xml 6✅ 8ms
test/reports/TEST-VM_Record_nesting_with_nested_viewmodel.xml 5✅ 6ms
test/reports/TEST-VM_Record_with_custom_serialization.xml 4✅ 4ms
test/reports/TEST-VM_Record_with_formatted_attribute.xml 5✅ 5ms
test/reports/TEST-VM_Record_with_model_defaults_being_asserted.xml 1✅ 1ms
test/reports/TEST-VM_Record_with_read_only_attribute_asserting_the_default.xml 4✅ 4ms
test/reports/TEST-VM_Record_with_read_only_attribute_attempting_a_change.xml 2✅ 2ms
test/reports/TEST-VM_Record_with_read_only_write_once_attribute.xml 4✅ 4ms
test/reports/TEST-VM_Record_with_renamed_attribute.xml 4✅ 4ms
test/reports/TEST-VM_Record_with_simple_attribute.xml 7✅ 6ms
test/reports/TEST-VM_Record_with_unspecified_attributes_falling_back_to_the_model_default.xml 1✅ 1ms
test/reports/TEST-VM_Record_with_validated_simple_attribute.xml 4✅ 4ms
test/reports/TEST-when_fetched_by_viewmodel.xml 5✅ 260ms
test/reports/TEST-with_a_child_as_belongs_to_shared_child.xml 2✅ 70ms
test/reports/TEST-with_a_child_as_belongs_to.xml 3✅ 126ms
test/reports/TEST-with_a_child_as_has_one.xml 3✅ 102ms
test/reports/TEST-with_a_non_cacheable_shared_child.xml 4✅ 155ms
test/reports/TEST-with_defined_migrations_downwards_to_an_unreachable_version.xml 1✅ 23ms
test/reports/TEST-with_defined_migrations_downwards.xml 1✅ 35ms
test/reports/TEST-with_defined_migrations_upwards_from_an_unreachable_version.xml 1✅ 27ms
test/reports/TEST-with_defined_migrations_upwards_in_an_undefined_direction.xml 1✅ 44ms
test/reports/TEST-with_defined_migrations_upwards_with_a_functional_update.xml 1✅ 28ms
test/reports/TEST-with_defined_migrations_upwards_with_a_version_not_in_the_specification.xml 1✅ 36ms
test/reports/TEST-with_defined_migrations_upwards_with_version_unspecified.xml 1✅ 36ms
test/reports/TEST-with_defined_migrations_upwards.xml 1✅ 37ms
test/reports/TEST-with_has_many_children.xml 4✅ 152ms
test/reports/TEST-with_has_many_through_children_test_models.xml 3✅ 200ms
test/reports/TEST-with_has_many_through_shared_children.xml 3✅ 137ms
test/reports/TEST-with_owned_and_shared_children_with_a_record_in_the_cache_and_a_record_not_in_the_cache.xml 2✅ 145ms
test/reports/TEST-with_owned_and_shared_children_with_a_record_in_the_cache_when_deserializing.xml 4✅ 257ms
test/reports/TEST-with_owned_and_shared_children_with_a_record_in_the_cache.xml 5✅ 272ms
test/reports/TEST-with_owned_and_shared_children_with_migrations.xml 4✅ 314ms
test/reports/TEST-with_owned_and_shared_children_with_shared_migrations.xml 4✅ 252ms
test/reports/TEST-with_owned_and_shared_children_without_migrations.xml 7✅ 454ms
test/reports/TEST-with_parent_and_belongs_to_child.xml 6✅ 222ms
test/reports/TEST-with_parent_and_child_test_models_view_specific_callbacks.xml 1✅ 29ms
test/reports/TEST-with_parent_and_has_many_children.xml 10✅ 368ms
test/reports/TEST-with_parent_and_has_many_through_children.xml 10✅ 599ms
test/reports/TEST-with_parent_and_has_one_child.xml 6✅ 239ms
test/reports/TEST-with_parent_and_owned_referenced_child_test_models.xml 3✅ 125ms
test/reports/TEST-with_parent_and_pointed_to_child_test_models.xml 3✅ 145ms
test/reports/TEST-with_parent_and_points_to_child_test_models.xml 7✅ 286ms
test/reports/TEST-with_parent_and_shared_child_test_models.xml 3✅ 199ms
test/reports/TEST-with_parent_and_shared_child.xml 6✅ 228ms
test/reports/TEST-with_single_model.xml 6✅ 95ms
test/reports/TEST-with_single_test_model_callback_inheritance.xml 1✅ 15ms
test/reports/TEST-with_single_test_model_callback_that_raises_with_an_access_control_that_rejects_and_a_view_mutating_callback_that_crashes.xml 1✅ 16ms
test/reports/TEST-with_single_test_model_callback_that_raises_with_an_access_control_that_rejects.xml 1✅ 15ms
test/reports/TEST-with_single_test_model_callback_that_raises.xml 1✅ 15ms
test/reports/TEST-with_single_test_model_delegates_to_methods_on_the_callback_object.xml 1✅ 12ms
test/reports/TEST-with_single_test_model_multiple_callbacks_on_the_same_hook.xml 1✅ 15ms
test/reports/TEST-with_single_test_model_multiple_callbacks.xml 1✅ 16ms
test/reports/TEST-with_single_test_model_provides_details_to_the_execution_environment.xml 1✅ 18ms
test/reports/TEST-without_migrations_to_an_unreachable_version.xml 1✅ 23ms

✅ test/reports/TEST-access_control.xml

1 tests were completed in 32ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
access control 1✅ 32ms

✅ test/reports/TEST-changing_references_adding_references.xml

1 tests were completed in 34ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
changing references::adding references 1✅ 34ms

✅ test/reports/TEST-changing_references_removing_references.xml

1 tests were completed in 47ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
changing references::removing references 1✅ 47ms

✅ test/reports/TEST-concurrently_inserting_a_reference_downwards.xml

1 tests were completed in 17ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
concurrently inserting a reference::downwards 1✅ 17ms

✅ test/reports/TEST-garbage_collection.xml

1 tests were completed in 45ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
garbage collection 1✅ 45ms

✅ test/reports/TEST-inference.xml

3 tests were completed in 44ms with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
inference 3✅ 44ms

✅ test/reports/TEST-inherited_migrations_downwards.xml

1 tests were completed in 51ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
inherited migrations::downwards 1✅ 51ms

✅ test/reports/TEST-inherited_migrations_upwards.xml

1 tests were completed in 25ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
inherited migrations::upwards 1✅ 25ms

✅ test/reports/TEST-message_parser_with_a_bad_message_prefix.xml

1 tests were completed in 3ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
message parser::with a bad message prefix 1✅ 3ms

✅ test/reports/TEST-message_parser_with_a_bad_message_suffix.xml

1 tests were completed in 1ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
message parser::with a bad message suffix 1✅ 1ms

✅ test/reports/TEST-message_parser_with_a_exclusion_conflict.xml

1 tests were completed in 1ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
message parser::with a exclusion conflict 1✅ 1ms

✅ test/reports/TEST-message_parser_with_a_single_key_and_value.xml

1 tests were completed in 1ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
message parser::with a single key and value 1✅ 1ms

✅ test/reports/TEST-message_parser_with_multiple_keys_and_values.xml

1 tests were completed in 1ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
message parser::with multiple keys and values 1✅ 1ms

✅ test/reports/TEST-message_parser_with_nested_quoted_keys_and_values.xml

1 tests were completed in 1ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
message parser::with nested quoted keys and values 1✅ 1ms

✅ test/reports/TEST-message_parser_with_quoted_keys_and_values.xml

1 tests were completed in 1ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
message parser::with quoted keys and values 1✅ 1ms

✅ test/reports/TEST-message_parser_with_unescaped_values.xml

1 tests were completed in 1ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
message parser::with unescaped values 1✅ 1ms

✅ test/reports/TEST-owned_reference_child_without_a_child.xml

1 tests were completed in 36ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
owned reference child::without a child 1✅ 36ms

✅ test/reports/TEST-owned_reference_child.xml

14 tests were completed in 596ms with 14 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
owned reference child 14✅ 596ms

✅ test/reports/TEST-owned_reference_children_with_association_manipulation.xml

5 tests were completed in 207ms with 5 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
owned reference children::with association manipulation 5✅ 207ms

✅ test/reports/TEST-owned_reference_children.xml

13 tests were completed in 634ms with 13 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
owned reference children 13✅ 634ms

✅ test/reports/TEST-renaming_associations.xml

4 tests were completed in 179ms with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
renaming associations 4✅ 179ms

✅ test/reports/TEST-rendering_prerendered_json_terminals.xml

1 tests were completed in 1ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
rendering prerendered json terminals 1✅ 1ms

✅ test/reports/TEST-sti_polymorphic_children.xml

6 tests were completed in 317ms with 6 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
sti polymorphic children 6✅ 317ms

✅ test/reports/TEST-tracing_each_callback_with_list_test_model.xml

1 tests were completed in 24ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
tracing each callback::with list test model 1✅ 24ms

✅ test/reports/TEST-tracing_each_callback_with_parent_and_child_test_models.xml

8 tests were completed in 307ms with 8 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
tracing each callback::with parent and child test models 8✅ 307ms

✅ test/reports/TEST-tracing_each_callback_with_parent_and_children_test_models.xml

3 tests were completed in 131ms with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
tracing each callback::with parent and children test models 3✅ 131ms

✅ test/reports/TEST-ViewModel_AccessControlTest_ComposedTest.xml

11 tests were completed in 83ms with 11 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
ViewModel::AccessControlTest::ComposedTest 11✅ 83ms

✅ test/reports/TEST-ViewModel_AccessControlTest_TreeTest.xml

9 tests were completed in 133ms with 9 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
ViewModel::AccessControlTest::TreeTest 9✅ 133ms

✅ test/reports/TEST-ViewModel_ActiveRecord_Alias.xml

1 tests were completed in 40ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
ViewModel::ActiveRecord::Alias 1✅ 40ms

✅ test/reports/TEST-ViewModel_ActiveRecord_BelongsToTest_FreedChildrenTest.xml

1 tests were completed in 20ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
ViewModel::ActiveRecord::BelongsToTest::FreedChildrenTest 1✅ 20ms

✅ test/reports/TEST-ViewModel_ActiveRecord_BelongsToTest_GCTests.xml

3 tests were completed in 136ms with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
ViewModel::ActiveRecord::BelongsToTest::GCTests 3✅ 136ms

✅ test/reports/TEST-ViewModel_ActiveRecord_BelongsToTest_RenamedTest.xml

2 tests were completed in 81ms with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
ViewModel::ActiveRecord::BelongsToTest::RenamedTest 2✅ 81ms

✅ test/reports/TEST-ViewModel_ActiveRecord_BelongsToTest.xml

20 tests were completed in 865ms with 20 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
ViewModel::ActiveRecord::BelongsToTest 20✅ 865ms

❌ test/reports/TEST-ViewModel_ActiveRecord_ControllerNestedTest.xml

22 tests were completed in 260ms with 20 passed, 2 failed and 0 skipped.

Test suite Passed Failed Skipped Time
ViewModel::ActiveRecord::ControllerNestedTest 20✅ 2❌ 260ms

❌ ViewModel::ActiveRecord::ControllerNestedTest

✅ test_nested_singular_show_from_parent
✅ test_nested_collection_append_one
✅ test_nested_collection_index_associated
✅ test_nested_collection_update
✅ test_nested_collection_replace_bulk
✅ test_nested_collection_index
✅ test_nested_singular_destroy_from_parent
✅ test_nested_collection_replace_bad_data
✅ test_nested_singular_replace_bulk
❌ test_nested_singular_destroy_from_id
	/home/runner/work/iknow_view_models/iknow_view_models/lib/view_model/active_record/controller.rb:60:in `destroy'
✅ test_nested_collection_disassociate_many
✅ test_nested_collection_disassociate_one
✅ test_nested_collection_show
✅ test_nested_singular_update
✅ test_nested_singular_show_from_id
❌ test_nested_collection_destroy
	/home/runner/work/iknow_view_models/iknow_view_models/lib/view_model/active_record/controller.rb:60:in `destroy'
✅ test_nested_shared_collection_replace_bulk
✅ test_nested_collection_append_many
✅ test_nested_shared_singular_replace_bulk
✅ test_nested_singular_update_from_parent
✅ test_nested_singular_replace_from_parent
✅ test_nested_collection_replace

❌ test/reports/TEST-ViewModel_ActiveRecord_ControllerTest.xml

14 tests were completed in 127ms with 12 passed, 2 failed and 0 skipped.

Test suite Passed Failed Skipped Time
ViewModel::ActiveRecord::ControllerTest 12✅ 2❌ 127ms

❌ ViewModel::ActiveRecord::ControllerTest

✅ test_show
✅ test_show_missing
❌ test_destroy_missing
	/home/runner/work/iknow_view_models/iknow_view_models/lib/view_model/active_record/controller.rb:60:in `destroy'
✅ test_create_invalid_shallow_constraint
✅ test_migrated_show
✅ test_invalid_migration_header
✅ test_migrated_create
❌ test_destroy
	/home/runner/work/iknow_view_models/iknow_view_models/lib/view_model/active_record/controller.rb:60:in `destroy'
✅ test_create_invalid
✅ test_create
✅ test_create_invalid_shallow_validation
✅ test_update
✅ test_create_empty
✅ test_index

✅ test/reports/TEST-ViewModel_ActiveRecord_CounterTest.xml

4 tests were completed in 43ms with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
ViewModel::ActiveRecord::CounterTest 4✅ 43ms

✅ test/reports/TEST-ViewModel_ActiveRecord_FlattenAssociationTest_InCollectionTest.xml

1 tests were completed in 36ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
ViewModel::ActiveRecord::FlattenAssociationTest::InCollectionTest 1✅ 36ms

✅ test/reports/TEST-ViewModel_ActiveRecord_FlattenAssociationTest.xml

3 tests were completed in 45ms with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
ViewModel::ActiveRecord::FlattenAssociationTest 3✅ 45ms

✅ test/reports/TEST-ViewModel_ActiveRecord_HasManyTest.xml

48 tests were completed in 2s with 48 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
ViewModel::ActiveRecord::HasManyTest 48✅ 2s

✅ test/reports/TEST-ViewModel_ActiveRecord_HasManyThroughPolyTest_RenameTest.xml

2 tests were completed in 36ms with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
ViewModel::ActiveRecord::HasManyThroughPolyTest::RenameTest 2✅ 36ms

✅ test/reports/TEST-ViewModel_ActiveRecord_HasManyThroughPolyTest.xml

8 tests were completed in 137ms with 8 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
ViewModel::ActiveRecord::HasManyThroughPolyTest 8✅ 137ms

✅ test/reports/TEST-ViewModel_ActiveRecord_HasManyThroughTest_RenamingTest.xml

2 tests were completed in 30ms with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
ViewModel::ActiveRecord::HasManyThroughTest::RenamingTest 2✅ 30ms

✅ test/reports/TEST-ViewModel_ActiveRecord_HasManyThroughTest_WithChildTagTest.xml

2 tests were completed in 3ms with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
ViewModel::ActiveRecord::HasManyThroughTest::WithChildTagTest 2✅ 3ms

✅ test/reports/TEST-ViewModel_ActiveRecord_HasManyThroughTest.xml

30 tests were completed in 389ms with 30 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
ViewModel::ActiveRecord::HasManyThroughTest 30✅ 389ms

✅ test/reports/TEST-ViewModel_ActiveRecord_HasOneTest_FreedChildrenTest.xml

1 tests were completed in 1ms with 0 passed, 0 failed and 1 skipped.

Test suite Passed Failed Skipped Time
ViewModel::ActiveRecord::HasOneTest::FreedChildrenTest 1⚪ 1ms

✅ test/reports/TEST-ViewModel_ActiveRecord_HasOneTest.xml

22 tests were completed in 931ms with 22 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
ViewModel::ActiveRecord::HasOneTest 22✅ 931ms

✅ test/reports/TEST-ViewModel_ActiveRecord_PolyTest_PolyChildPointerTest_RenameTest.xml

2 tests were completed in 27ms with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
ViewModel::ActiveRecord::PolyTest::PolyChildPointerTest::RenameTest 2✅ 27ms

✅ test/reports/TEST-ViewModel_ActiveRecord_PolyTest_PolyChildPointerTest.xml

5 tests were completed in 46ms with 5 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
ViewModel::ActiveRecord::PolyTest::PolyChildPointerTest 5✅ 46ms

✅ test/reports/TEST-ViewModel_ActiveRecord_PolyTest_PolyParentPointerTest.xml

3 tests were completed in 56ms with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
ViewModel::ActiveRecord::PolyTest::PolyParentPointerTest 3✅ 56ms

✅ test/reports/TEST-ViewModel_ActiveRecord_SharedTest.xml

18 tests were completed in 119ms with 18 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
ViewModel::ActiveRecord::SharedTest 18✅ 119ms

✅ test/reports/TEST-ViewModel_ActiveRecord_SpecializeAssociationTest.xml

3 tests were completed in 27ms with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
ViewModel::ActiveRecord::SpecializeAssociationTest 3✅ 27ms

✅ test/reports/TEST-ViewModel_ActiveRecord_VersionTest.xml

4 tests were completed in 31ms with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
ViewModel::ActiveRecord::VersionTest 4✅ 31ms

✅ test/reports/TEST-ViewModel_ActiveRecordTest_CustomAttributeViewsTests.xml

2 tests were completed in 10ms with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
ViewModel::ActiveRecordTest::CustomAttributeViewsTests 2✅ 10ms

✅ test/reports/TEST-ViewModel_ActiveRecordTest_CustomizedErrorTest.xml

1 tests were completed in 8ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
ViewModel::ActiveRecordTest::CustomizedErrorTest 1✅ 8ms

✅ test/reports/TEST-ViewModel_ActiveRecordTest_DeferredConstraintTest.xml

3 tests were completed in 22ms with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
ViewModel::ActiveRecordTest::DeferredConstraintTest 3✅ 22ms

✅ test/reports/TEST-ViewModel_ActiveRecordTest_DeserializationParentContextTest.xml

2 tests were completed in 9ms with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
ViewModel::ActiveRecordTest::DeserializationParentContextTest 2✅ 9ms

✅ test/reports/TEST-ViewModel_ActiveRecordTest.xml

31 tests were completed in 131ms with 31 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
ViewModel::ActiveRecordTest 31✅ 131ms

✅ test/reports/TEST-ViewModel_GarbageCollectionTest.xml

4 tests were completed in 2ms with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
ViewModel::GarbageCollectionTest 4✅ 2ms

✅ test/reports/TEST-ViewModel_RegistryTest.xml

3 tests were completed in 75ms with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
ViewModel::RegistryTest 3✅ 75ms

✅ test/reports/TEST-VM_Record_nesting_with_array_of_nested_viewmodel.xml

6 tests were completed in 8ms with 6 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
VM::Record::nesting::with array of nested viewmodel 6✅ 8ms

✅ test/reports/TEST-VM_Record_nesting_with_nested_viewmodel.xml

5 tests were completed in 6ms with 5 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
VM::Record::nesting::with nested viewmodel 5✅ 6ms

✅ test/reports/TEST-VM_Record_with_custom_serialization.xml

4 tests were completed in 4ms with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
VM::Record::with custom serialization 4✅ 4ms

✅ test/reports/TEST-VM_Record_with_formatted_attribute.xml

5 tests were completed in 5ms with 5 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
VM::Record::with formatted attribute 5✅ 5ms

✅ test/reports/TEST-VM_Record_with_model_defaults_being_asserted.xml

1 tests were completed in 1ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
VM::Record::with model defaults being asserted 1✅ 1ms

✅ test/reports/TEST-VM_Record_with_read_only_attribute_asserting_the_default.xml

4 tests were completed in 4ms with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
VM::Record::with read-only attribute::asserting the default 4✅ 4ms

✅ test/reports/TEST-VM_Record_with_read_only_attribute_attempting_a_change.xml

2 tests were completed in 2ms with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
VM::Record::with read-only attribute::attempting a change 2✅ 2ms

✅ test/reports/TEST-VM_Record_with_read_only_write_once_attribute.xml

4 tests were completed in 4ms with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
VM::Record::with read-only write-once attribute 4✅ 4ms

✅ test/reports/TEST-VM_Record_with_renamed_attribute.xml

4 tests were completed in 4ms with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
VM::Record::with renamed attribute 4✅ 4ms

✅ test/reports/TEST-VM_Record_with_simple_attribute.xml

7 tests were completed in 6ms with 7 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
VM::Record::with simple attribute 7✅ 6ms

✅ test/reports/TEST-VM_Record_with_unspecified_attributes_falling_back_to_the_model_default.xml

1 tests were completed in 1ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
VM::Record::with unspecified attributes falling back to the model default 1✅ 1ms

✅ test/reports/TEST-VM_Record_with_validated_simple_attribute.xml

4 tests were completed in 4ms with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
VM::Record::with validated simple attribute 4✅ 4ms

✅ test/reports/TEST-when_fetched_by_viewmodel.xml

5 tests were completed in 260ms with 5 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
when fetched by viewmodel 5✅ 260ms

✅ test/reports/TEST-with_a_child_as_belongs_to_shared_child.xml

2 tests were completed in 70ms with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
with a child::as belongs_to shared child 2✅ 70ms

✅ test/reports/TEST-with_a_child_as_belongs_to.xml

3 tests were completed in 126ms with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
with a child::as belongs_to 3✅ 126ms

✅ test/reports/TEST-with_a_child_as_has_one.xml

3 tests were completed in 102ms with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
with a child::as has_one 3✅ 102ms

✅ test/reports/TEST-with_a_non_cacheable_shared_child.xml

4 tests were completed in 155ms with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
with a non-cacheable shared child 4✅ 155ms

✅ test/reports/TEST-with_defined_migrations_downwards_to_an_unreachable_version.xml

1 tests were completed in 23ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
with defined migrations::downwards::to an unreachable version 1✅ 23ms

✅ test/reports/TEST-with_defined_migrations_downwards.xml

1 tests were completed in 35ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
with defined migrations::downwards 1✅ 35ms

✅ test/reports/TEST-with_defined_migrations_upwards_from_an_unreachable_version.xml

1 tests were completed in 27ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
with defined migrations::upwards::from an unreachable version 1✅ 27ms

✅ test/reports/TEST-with_defined_migrations_upwards_in_an_undefined_direction.xml

1 tests were completed in 44ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
with defined migrations::upwards::in an undefined direction 1✅ 44ms

✅ test/reports/TEST-with_defined_migrations_upwards_with_a_functional_update.xml

1 tests were completed in 28ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
with defined migrations::upwards::with a functional update 1✅ 28ms

✅ test/reports/TEST-with_defined_migrations_upwards_with_a_version_not_in_the_specification.xml

1 tests were completed in 36ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
with defined migrations::upwards::with a version not in the specification 1✅ 36ms

✅ test/reports/TEST-with_defined_migrations_upwards_with_version_unspecified.xml

1 tests were completed in 36ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
with defined migrations::upwards::with version unspecified 1✅ 36ms

✅ test/reports/TEST-with_defined_migrations_upwards.xml

1 tests were completed in 37ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
with defined migrations::upwards 1✅ 37ms

✅ test/reports/TEST-with_has_many_children.xml

4 tests were completed in 152ms with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
with has_many children 4✅ 152ms

✅ test/reports/TEST-with_has_many_through_children_test_models.xml

3 tests were completed in 200ms with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
with has_many_through children test models 3✅ 200ms

✅ test/reports/TEST-with_has_many_through_shared_children.xml

3 tests were completed in 137ms with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
with has_many_through shared children 3✅ 137ms

✅ test/reports/TEST-with_owned_and_shared_children_with_a_record_in_the_cache_and_a_record_not_in_the_cache.xml

2 tests were completed in 145ms with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
with owned and shared children::with a record in the cache::and a record not in the cache 2✅ 145ms

✅ test/reports/TEST-with_owned_and_shared_children_with_a_record_in_the_cache_when_deserializing.xml

4 tests were completed in 257ms with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
with owned and shared children::with a record in the cache::when deserializing 4✅ 257ms

✅ test/reports/TEST-with_owned_and_shared_children_with_a_record_in_the_cache.xml

5 tests were completed in 272ms with 5 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
with owned and shared children::with a record in the cache 5✅ 272ms

✅ test/reports/TEST-with_owned_and_shared_children_with_migrations.xml

4 tests were completed in 314ms with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
with owned and shared children::with migrations 4✅ 314ms

✅ test/reports/TEST-with_owned_and_shared_children_with_shared_migrations.xml

4 tests were completed in 252ms with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
with owned and shared children::with shared migrations 4✅ 252ms

✅ test/reports/TEST-with_owned_and_shared_children_without_migrations.xml

7 tests were completed in 454ms with 7 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
with owned and shared children::without migrations 7✅ 454ms

✅ test/reports/TEST-with_parent_and_belongs_to_child.xml

6 tests were completed in 222ms with 6 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
with parent and belongs to child 6✅ 222ms

✅ test/reports/TEST-with_parent_and_child_test_models_view_specific_callbacks.xml

1 tests were completed in 29ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
with parent and child test models::view specific callbacks 1✅ 29ms

✅ test/reports/TEST-with_parent_and_has_many_children.xml

10 tests were completed in 368ms with 10 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
with parent and has_many children 10✅ 368ms

✅ test/reports/TEST-with_parent_and_has_many_through_children.xml

10 tests were completed in 599ms with 10 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
with parent and has-many-through children 10✅ 599ms

✅ test/reports/TEST-with_parent_and_has_one_child.xml

6 tests were completed in 239ms with 6 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
with parent and has_one child 6✅ 239ms

✅ test/reports/TEST-with_parent_and_owned_referenced_child_test_models.xml

3 tests were completed in 125ms with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
with parent and owned referenced child test models 3✅ 125ms

✅ test/reports/TEST-with_parent_and_pointed_to_child_test_models.xml

3 tests were completed in 145ms with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
with parent and pointed-to child test models 3✅ 145ms

✅ test/reports/TEST-with_parent_and_points_to_child_test_models.xml

7 tests were completed in 286ms with 7 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
with parent and points-to child test models 7✅ 286ms

✅ test/reports/TEST-with_parent_and_shared_child_test_models.xml

3 tests were completed in 199ms with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
with parent and shared child test models 3✅ 199ms

✅ test/reports/TEST-with_parent_and_shared_child.xml

6 tests were completed in 228ms with 6 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
with parent and shared child 6✅ 228ms

✅ test/reports/TEST-with_single_model.xml

6 tests were completed in 95ms with 6 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
with single model 6✅ 95ms

✅ test/reports/TEST-with_single_test_model_callback_inheritance.xml

1 tests were completed in 15ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
with single test model::callback inheritance 1✅ 15ms

✅ test/reports/TEST-with_single_test_model_callback_that_raises_with_an_access_control_that_rejects_and_a_view_mutating_callback_that_crashes.xml

1 tests were completed in 16ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
with single test model::callback that raises::with an access control that rejects::and a view-mutating callback that crashes 1✅ 16ms

✅ test/reports/TEST-with_single_test_model_callback_that_raises_with_an_access_control_that_rejects.xml

1 tests were completed in 15ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
with single test model::callback that raises::with an access control that rejects 1✅ 15ms

✅ test/reports/TEST-with_single_test_model_callback_that_raises.xml

1 tests were completed in 15ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
with single test model::callback that raises 1✅ 15ms

✅ test/reports/TEST-with_single_test_model_delegates_to_methods_on_the_callback_object.xml

1 tests were completed in 12ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
with single test model::delegates to methods on the callback object 1✅ 12ms

✅ test/reports/TEST-with_single_test_model_multiple_callbacks_on_the_same_hook.xml

1 tests were completed in 15ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
with single test model::multiple callbacks on the same hook 1✅ 15ms

✅ test/reports/TEST-with_single_test_model_multiple_callbacks.xml

1 tests were completed in 16ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
with single test model::multiple callbacks 1✅ 16ms

✅ test/reports/TEST-with_single_test_model_provides_details_to_the_execution_environment.xml

1 tests were completed in 18ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
with single test model::provides details to the execution environment 1✅ 18ms

✅ test/reports/TEST-without_migrations_to_an_unreachable_version.xml

1 tests were completed in 23ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
without migrations::to an unreachable version 1✅ 23ms

Annotations

Check failure on line 0 in test/reports/TEST-ViewModel_ActiveRecord_ControllerNestedTest.xml

See this annotation in the file changed.

@github-actions github-actions / Minitest Tests - 3.0

ViewModel::ActiveRecord::ControllerNestedTest ► test_nested_singular_destroy_from_id

Failed test found in:
  test/reports/TEST-ViewModel_ActiveRecord_ControllerNestedTest.xml
Error:
  /home/runner/work/iknow_view_models/iknow_view_models/lib/view_model/active_record/controller.rb:60:in `destroy'
Raw output
/home/runner/work/iknow_view_models/iknow_view_models/lib/view_model/active_record/controller.rb:60:in `destroy'
/home/runner/work/iknow_view_models/iknow_view_models/test/helpers/controller_test_helpers.rb:203:in `public_send'
/home/runner/work/iknow_view_models/iknow_view_models/test/helpers/controller_test_helpers.rb:203:in `invoke'
/home/runner/work/iknow_view_models/iknow_view_models/test/unit/view_model/active_record/controller_nested_test.rb:394:in `test_nested_singular_destroy_from_id'
    

Check failure on line 0 in test/reports/TEST-ViewModel_ActiveRecord_ControllerNestedTest.xml

See this annotation in the file changed.

@github-actions github-actions / Minitest Tests - 3.0

ViewModel::ActiveRecord::ControllerNestedTest ► test_nested_collection_destroy

Failed test found in:
  test/reports/TEST-ViewModel_ActiveRecord_ControllerNestedTest.xml
Error:
  /home/runner/work/iknow_view_models/iknow_view_models/lib/view_model/active_record/controller.rb:60:in `destroy'
Raw output
/home/runner/work/iknow_view_models/iknow_view_models/lib/view_model/active_record/controller.rb:60:in `destroy'
/home/runner/work/iknow_view_models/iknow_view_models/test/helpers/controller_test_helpers.rb:203:in `public_send'
/home/runner/work/iknow_view_models/iknow_view_models/test/helpers/controller_test_helpers.rb:203:in `invoke'
/home/runner/work/iknow_view_models/iknow_view_models/test/unit/view_model/active_record/controller_nested_test.rb:243:in `test_nested_collection_destroy'
    

Check failure on line 0 in test/reports/TEST-ViewModel_ActiveRecord_ControllerTest.xml

See this annotation in the file changed.

@github-actions github-actions / Minitest Tests - 3.0

ViewModel::ActiveRecord::ControllerTest ► test_destroy_missing

Failed test found in:
  test/reports/TEST-ViewModel_ActiveRecord_ControllerTest.xml
Error:
  /home/runner/work/iknow_view_models/iknow_view_models/lib/view_model/active_record/controller.rb:60:in `destroy'
Raw output
/home/runner/work/iknow_view_models/iknow_view_models/lib/view_model/active_record/controller.rb:60:in `destroy'
/home/runner/work/iknow_view_models/iknow_view_models/test/helpers/controller_test_helpers.rb:203:in `public_send'
/home/runner/work/iknow_view_models/iknow_view_models/test/helpers/controller_test_helpers.rb:203:in `invoke'
/home/runner/work/iknow_view_models/iknow_view_models/test/unit/view_model/active_record/controller_test.rb:240:in `test_destroy_missing'
    

Check failure on line 0 in test/reports/TEST-ViewModel_ActiveRecord_ControllerTest.xml

See this annotation in the file changed.

@github-actions github-actions / Minitest Tests - 3.0

ViewModel::ActiveRecord::ControllerTest ► test_destroy

Failed test found in:
  test/reports/TEST-ViewModel_ActiveRecord_ControllerTest.xml
Error:
  /home/runner/work/iknow_view_models/iknow_view_models/lib/view_model/active_record/controller.rb:60:in `destroy'
Raw output
/home/runner/work/iknow_view_models/iknow_view_models/lib/view_model/active_record/controller.rb:60:in `destroy'
/home/runner/work/iknow_view_models/iknow_view_models/test/helpers/controller_test_helpers.rb:203:in `public_send'
/home/runner/work/iknow_view_models/iknow_view_models/test/helpers/controller_test_helpers.rb:203:in `invoke'
/home/runner/work/iknow_view_models/iknow_view_models/test/unit/view_model/active_record/controller_test.rb:171:in `test_destroy'