Open passsy opened 3 years ago
Check the README Future Work section 😉
I would be interested to know what is usual in projects. How are tests split up? Or aren't they?
Do UI, unit and integration (etc) get lumped together. Happy for input here.
I've never seen unit and widget tests split up in a Flutter project. They all are pure Dart and run on the DartVM. I'm not saying it doesn't make sense, just that I've never seen it and I can't think of cases where I only want to execute one kind of test. I usually run all or single files.
The only distinction should be which external services are involved. There is /integration-test
for flutter driver tests. And I've seen projects having custom /e2e-test
folders to run tests against real systems.
@passsy - sorry for the looooong delay on this. Between getting married and a few other huge life events its been a bit crazy.
Above is a screenshot of the sort of thing I was thinking. Thoughts?
Any updates?
@ash0080 - ah I wasn't sure anyone was interested as had no feedback 😅
Is the screenshot above what is wanted?
@ash0080 - ah I wasn't sure anyone was interested as had no feedback 😅
Is the screenshot above what is wanted?
Yes, can this version be released?
@ash0080 I have removed the unit-test prefix in the pending release.
I'll have a go at the customisation options after I've added widget test support.
https://github.com/grahamsmith/dart-test/blob/cc3c5b03ca500a32408aa384c52b04bef23181c3/src/main/kotlin/com/github/grahamsmith/darttest/actions/ActionHelper.kt#L28
The default path prefix
/test/unit-test/
is rather uncommon. I did not expect theunit-test
folder and would like it to be gone, or at least make it adjustable.