Add tests for `org.beeware.ARGV` and `org.beeware.ENVIRON`

Open
#123 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
42/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
android, python
Domain
mobile, testing

Research direction

Review the Android test setup in Python-support-testbed and the proposed changes in briefcase-android-gradle-template PR #97. Run the existing Android tests, then add automated coverage showing that org.beeware.ARGV and org.beeware.ENVIRON are passed into the app correctly. Done means both cases run automatically and pass.

Written by the indexing model from the issue text.

Description

enhancement good first issue
What is the problem or limitation you are having?

Currently the command line arguments (passed to an android app via org.beeware.ARGV) and environment variables (passed to an android app via org.beeware.ENVIRON as proposed here ) are not automatically tested for android.

Describe the solution you'd like

The command line arguments and environment variables should be automatically tested.

Describe alternatives you've considered

Do not test these cases automatically. Manual testing is enough.

Additional context

This has been proposed here: https://github.com/beeware/briefcase-android-gradle-template/pull/97#issuecomment-2767555341

Dominant language
Python
Stars
7
Forks
8
Avg merge
9h 41m
Merged PRs (30d)
1

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from beeware/Python-support-testbed

All issues in beeware/Python-support-testbed

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.