Skip to content
This repository has been archived by the owner on Jan 10, 2023. It is now read-only.

Run package:test in --pub-serve mode instead of running pub build #6

Open
jakemac53 opened this issue Jan 27, 2016 · 1 comment
Open

Comments

@jakemac53
Copy link

See errors here https://chromegw.corp.google.com/i/client.dart.packages/builders/packages-mac-polymer-dart/builds/694/steps/pub%20run%20test/logs/stdio.

Many packages create extra dart files next to the original dart file, and those end up getting ran as separate "tests" when running pub test on the build/test directory. Instead, the bots should run pub serve test ... and then pub run test --pub-serve=8080 ....

@whesse
Copy link
Contributor

whesse commented Jun 30, 2016

Ok, I agree that this is the correct fix to the problems with running 'pub build' and 'pub run test build/test', to change the package bots to use --pub-serve (documentation at https://github.com/dart-lang/test#testing-with-barback).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

2 participants