Add ui_test_harness binary implementation

Adds ability to run UI components isolated from main app.

`cargo run --bin ui_test_harness -- AccountLoginView`

Signed-off-by: kernelkind <kernelkind@gmail.com>
This commit is contained in:
kernelkind
2024-04-01 11:04:51 -04:00
committed by William Casarin
parent 242053c6e0
commit 4bd01682da
5 changed files with 82 additions and 3 deletions

View File

@@ -3,6 +3,7 @@ name = "notedeck"
version = "0.1.0"
authors = ["William Casarin <jb55@jb55.com>"]
edition = "2021"
default-run = "notedeck"
#rust-version = "1.60"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
@@ -93,3 +94,11 @@ name = "android.permission.INTERNET"
[package.metadata.android.application]
label = "Damus"
[[bin]]
name = "notedeck"
path = "src/bin/notedeck.rs"
[[bin]]
name = "ui_test_harness"
path = "src/tests_ui/main.rs"