dioxus/packages/core/tests
2024-01-15 19:14:11 -06:00
..
.rustfmt.toml wip: add diffing tests 2022-11-22 20:16:14 -08:00
attr_cleanup.rs re export renderers in dioxus 2024-01-15 19:14:11 -06:00
boolattrs.rs re export renderers in dioxus 2024-01-15 19:14:11 -06:00
bubble_error.rs make the root component take no arguments 2024-01-11 10:48:04 -06:00
context_api.rs re export renderers in dioxus 2024-01-15 19:14:11 -06:00
create_dom.rs re export renderers in dioxus 2024-01-15 19:14:11 -06:00
create_element.rs re export renderers in dioxus 2024-01-15 19:14:11 -06:00
create_fragments.rs re export renderers in dioxus 2024-01-15 19:14:11 -06:00
create_lists.rs re export renderers in dioxus 2024-01-15 19:14:11 -06:00
create_passthru.rs re export renderers in dioxus 2024-01-15 19:14:11 -06:00
cycle.rs re export renderers in dioxus 2024-01-15 19:14:11 -06:00
diff_component.rs re export renderers in dioxus 2024-01-15 19:14:11 -06:00
diff_element.rs re export renderers in dioxus 2024-01-15 19:14:11 -06:00
diff_keyed_list.rs re export renderers in dioxus 2024-01-15 19:14:11 -06:00
diff_unkeyed_list.rs re export renderers in dioxus 2024-01-15 19:14:11 -06:00
error_boundary.rs fix remaining core tests 2024-01-15 11:06:27 -06:00
event_propagation.rs fix remaining core tests 2024-01-15 11:06:27 -06:00
fuzzing.rs fix diffing fuzz test 2024-01-15 10:52:30 -06:00
hotreloading.rs chore: make warnings go away 2022-11-29 16:31:04 -05:00
kitchen_sink.rs re export renderers in dioxus 2024-01-15 19:14:11 -06:00
lifecycle.rs re export renderers in dioxus 2024-01-15 19:14:11 -06:00
miri_full_app.rs fix remaining core tests 2024-01-15 11:06:27 -06:00
miri_simple.rs fix remaining core tests 2024-01-15 11:06:27 -06:00
miri_stress.rs fix remaining core tests 2024-01-15 11:06:27 -06:00
README.md work on fixing some core tests 2024-01-10 19:21:15 -06:00
safety.rs make all core tests compile 2024-01-11 15:18:11 -06:00
suspense.rs fix remaining core tests 2024-01-15 11:06:27 -06:00
task.rs fix remaining core tests 2024-01-15 11:06:27 -06:00

Testing of Dioxus core

Diffing

  • create elements
  • create text
  • create fragments
  • create empty fragments (placeholders)
  • diff elements
  • diff from element/text to fragment
  • diff from element/text to empty fragment
  • diff to element with children works too
  • replace with works forward
  • replace with works backward
  • un-keyed diffing
  • keyed diffing
  • keyed diffing out of order
  • keyed diffing with prefix/suffix
  • suspended nodes work

Lifecycle

  • [] Components mount properly
  • [] Components create new child components
  • [] Replaced components unmount old components and mount new
  • [] Post-render effects are called

Shared Context

  • [] Shared context propagates downwards
  • [] unwrapping shared context if it doesn't exist works too

Suspense

  • [] use_suspense generates suspended nodes

Hooks

  • [] Drop order is maintained
  • [] Shared hook state is okay
  • [] use_hook works
  • [] use_ref works
  • [] use_noderef works
  • [] use_provide_state
  • [] use_consume_state

VirtualDOM API

  • [] work
  • [] rebuild_to_vec
  • [] change props