How to run Dartium / Chrome in test mode for Dart on Windows?

According to the docs:

https://www.dartlang.org/docs/dart-up-and-running/contents/ch04-tools-dartium.html

On Mac and Linux, you can add --checked, but this does not work for Windows.

How to run Dartium with a checkmark in Windows?

+4
source share
2 answers

Apparently, use DART_FLAGSalso works for Windows.

see https://www.dartlang.org/tools/dartium/#using-command-line-flags

Command flags are prefixed /on Windows, so you use:

C:\path\to\dartium\chrome.exe /DART_FLAGS='--checked' 
+2
source

DART_FLAGS:

Cmd.exe:

$> set DART_FLAGS=--checked
$> C:\path\to\dartium\chrome.exe

PowerShell:

$> $env:DART_FLAGS="--checked"
$> C:\path\to\dartium\chrome.exe
0

Source: https://habr.com/ru/post/1526021/


All Articles