Skip to content

Commit

Permalink
Added infrastructure to do integration testing.
Browse files Browse the repository at this point in the history
  • Loading branch information
apognu committed Apr 29, 2024
1 parent 71cf19e commit a6753d6
Show file tree
Hide file tree
Showing 8 changed files with 518 additions and 47 deletions.
125 changes: 90 additions & 35 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,8 @@ tracing = "0.1.40"

[profile.release]
lto = true

[dev-dependencies]
greetd-stub = "0.2.0"
tempfile = "3.10.1"
unicode-width = "0.1.12"
1 change: 1 addition & 0 deletions src/greeter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,7 @@ impl Greeter {
selected: 0,
};

#[cfg(not(test))]
greeter.parse_options().await;

greeter.sessions = Menu {
Expand Down
Loading

0 comments on commit a6753d6

Please sign in to comment.