mardi 2 juin 2015

'dart pub test' can you pass parameters that can be referenced in tests?

dart/pub v1.10

Can you pass a parameter like 'pub run test -Dkey=value' that can be referenced in a test?

I'd like a strategy to change my test.data.yaml file (say user creds) by passing a parameter.

What is the idiomatic way to accomplish this in dart? shell script?

Ideas?

Aucun commentaire:

Enregistrer un commentaire