ashokd
ashokd

Reputation: 393

Failed to load dartium when running test

I'm running dart test using test library.

pub run test -p dartium

When this command is executed I'm getting below error, I have dartium and dart sdk downloaded and in system path.

Failed to start Dartium: No such file or directory
  Command: dartium --user-data-dir=/tmp/dart_test_cwDGGO 

Upvotes: 4

Views: 416

Answers (1)

ashokd
ashokd

Reputation: 393

I was missing symlink. After adding symlink tests are working.

ln -s /path/to/chrome /path/to/dartium

where /path/to/chrome is your chrome executable from dartium directory

Upvotes: 8

Related Questions