I have some tests with real_api
tag, that use real api so these are kind of slow and freaky.
So as a default, I don't run tests with real_api
tag.
I understand I can do it via flutter test -x real_api
, but I would like to make it as a default setting. I want to run just flutter test
and skip real_api
tag tests.
I tried to write exclude_tags on the top-level of dart_test.yml
, but it didn't work.
Do you have any idea?
Thanks
Unfortunately exclude_tags doesn't exist in root level. However, instead of this you can configured to skip test which contains the tag in your dart_test.yaml file, like this
tags:
real_api:
skip: true