dioxus/tests
2022-04-04 12:18:51 -04:00
..
.rustfmt.toml chore: move tests out of core and into the top level crate 2022-03-02 22:48:22 -05:00
borrowedstate.rs chore: move tests out of core and into the top level crate 2022-03-02 22:48:22 -05:00
create_dom.rs chore: move tests out of core and into the top level crate 2022-03-02 22:48:22 -05:00
diffing.rs Fix: diffing should poproots too 2022-04-04 12:18:51 -04:00
earlyabort.rs chore: move tests out of core and into the top level crate 2022-03-02 22:48:22 -05:00
fermi.rs fix: clippy is happy 2022-02-17 10:43:34 -05:00
lifecycle.rs Convert all logs to trace 2022-03-27 09:23:44 -06:00
miri_stress.rs chore: move tests out of core and into the top level crate 2022-03-02 22:48:22 -05:00
passthru.rs chore: move tests out of core and into the top level crate 2022-03-02 22:48:22 -05:00
README.md chore: move tests out of core and into the top level crate 2022-03-02 22:48:22 -05:00
scheduler.rs chore: move tests out of core and into the top level crate 2022-03-02 22:48:22 -05:00
sharedstate.rs feat: apply local router changes 2022-03-04 13:16:37 -05:00
task.rs chore: move tests out of core and into the top level crate 2022-03-02 22:48:22 -05:00
test_logging.rs chore: move tests out of core and into the top level crate 2022-03-02 22:48:22 -05:00
vdom_rebuild.rs chore: move tests out of core and into the top level crate 2022-03-02 22:48:22 -05:00

Testing of Dioxus core

NodeFactory

  • [] rsx, html, NodeFactory generate the same structures

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