JakeWharton / JakeWharton/finalization-hook

Test app tests

Open
#5 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Kotlin
Stars
76
Forks
0
Avg merge
19h 40m
Merged PRs (30d)
13

Description

I'm currently manually validating the test app on Mac OS and Linux, but it's built to be tested in an automated fashion. On each OS, we should launch the app, send a signal, and validate the output contains "HOOK". This should be done for the native version of the app and the JVM version on each OS.

On POSIX this is relatively easy since we have access to PIDs and `kill` API. On Windows we can only be signaled with Ctrl+C so I think you just attach a console and then there's an API to send that event.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the test app and the existing native and JVM test entry points, then read how each variant is launched on the supported operating systems. Implement automated runs that signal each app and verify output containing "HOOK"; done means both variants are covered on each OS, including the platform-specific signaling behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
kotlin
Domain
operating-systems, testing-qa
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.