FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [View Raw Code]   [Original HTTPS Page]

pythonnative/docs/api/testing.md at v0.43.1 · pythonnative/pythonnative · GitHub

Repository navigation

Latest commit

 

History

History
22 lines (18 loc) · 725 Bytes

File metadata and controls

22 lines (18 loc) · 725 Bytes

Testing

pythonnative.testing renders components without a device or simulator. [render][pythonnative.testing.render] mounts an element into an in-memory [FakeBackend][pythonnative.testing.FakeBackend] and returns a [RenderResult][pythonnative.testing.RenderResult] with Testing Library-style queries and event helpers; [render_hook][pythonnative.testing.render_hook] does the same for a bare hook.

::: pythonnative.testing options: show_root_heading: false show_root_toc_entry: false members_order: source filters: ["!^_"]

Next steps

  • Read the Testing guide for patterns.
  • Test navigation flows against a [FakeHost][pythonnative.testing.FakeHost].

Back | FazBrowse Home | New Git URL