dart-lang / dart-lang/test

Let me provide -D "environment" variables for browser tests in the command line

Open
#283 3 comments 1 reaction 0 assignees View on GitHub
type-enhancement
Dominant language
Dart
Stars
536
Forks
232
Avg merge
1d 10h
Merged PRs (30d)
10

Description

For content-shell and Dartium: pipe them in at runtime
For js output: provide the to dart2js

Scenario: I'm hitting scenarios where I need to provide runtime configuration – specifically secrets – when testing on a CI server.

Contributor guide

Open the contributing guide

Research direction

Start by tracing how browser-test command-line arguments are handled for content-shell, Dartium, and JavaScript output. Verify how each target receives runtime configuration, then define done as environment variables supplied with -D reaching the test process or dart2js output as requested.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart
Domain
testing
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.