dioxus/packages/core/tests
2024-01-10 23:26:26 -08:00
..
.rustfmt.toml wip: add diffing tests 2022-11-22 20:16:14 -08:00
attr_cleanup.rs Add ScopeId::ROOT (#1398) 2023-08-25 08:31:23 -05:00
boolattrs.rs use BumpBox<Any> and FromAnyValue instead of sync bounds 2023-01-02 14:40:25 -06:00
borrowedstate.rs fix custom attribute value support 2022-12-09 16:18:37 -06:00
bubble_error.rs Add ScopeId::ROOT (#1398) 2023-08-25 08:31:23 -05:00
context_api.rs Add ScopeId::ROOT (#1398) 2023-08-25 08:31:23 -05:00
create_dom.rs Disambiguate expressions in rsx by requiring curlies 2024-01-10 19:33:34 -08:00
create_element.rs feat: context api overhaul 2022-12-02 16:24:49 -08:00
create_fragments.rs Make clippy happy 2024-01-10 23:26:26 -08:00
create_lists.rs Disambiguate expressions in rsx by requiring curlies 2024-01-10 19:33:34 -08:00
create_passthru.rs Disambiguate expressions in rsx by requiring curlies 2024-01-10 19:33:34 -08:00
cycle.rs Add ScopeId::ROOT (#1398) 2023-08-25 08:31:23 -05:00
diff_component.rs Disambiguate expressions in rsx by requiring curlies 2024-01-10 19:33:34 -08:00
diff_element.rs Add ScopeId::ROOT (#1398) 2023-08-25 08:31:23 -05:00
diff_keyed_list.rs Disambiguate expressions in rsx by requiring curlies 2024-01-10 19:33:34 -08:00
diff_unkeyed_list.rs Disambiguate expressions in rsx by requiring curlies 2024-01-10 19:33:34 -08:00
error_boundary.rs fix error boundary test 2023-11-09 08:43:38 -06:00
event_propagation.rs Disambiguate expressions in rsx by requiring curlies 2024-01-10 19:33:34 -08:00
fuzzing.rs Clean up merge comments 2024-01-08 19:33:39 -08:00
hotreloading.rs chore: make warnings go away 2022-11-29 16:31:04 -05:00
kitchen_sink.rs add if statements to test and rsx usage example 2023-09-19 09:48:56 -05:00
lifecycle.rs Disambiguate expressions in rsx by requiring curlies 2024-01-10 19:33:34 -08:00
miri_full_app.rs Disambiguate expressions in rsx by requiring curlies 2024-01-10 19:33:34 -08:00
miri_simple.rs Merge branch 'master' into fix-event-bubbling 2023-09-17 20:00:22 -05:00
miri_stress.rs Make clippy happy 2024-01-10 23:26:26 -08:00
README.md wip: clean up some things 2022-11-30 23:54:30 -05:00
safety.rs cargo fmt 2023-07-14 17:46:14 -07:00
suspense.rs fix clippy 2023-12-27 10:23:56 -06:00
task.rs Disambiguate expressions in rsx by requiring curlies 2024-01-10 19:33:34 -08: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
  • [] change props