Currently there are no unit tests for swiping_gesture_detector.dart, but there should be a high quality test suite with line coverage > 80%. Create swiping_gesture_detector_test.dart under the test directory and include widget tests that validate basic behavior for the SwipingGestureDetector widget, such as swiping left, swiping right, swiping threshold and velocity behavior. To generate line coverage, run flutter test --coverage and to view the coverage in a generated webpage, use the genhtml tool.
Currently there are no unit tests for swiping_gesture_detector.dart, but there should be a high quality test suite with line coverage > 80%. Create swiping_gesture_detector_test.dart under the test directory and include widget tests that validate basic behavior for the SwipingGestureDetector widget, such as swiping left, swiping right, swiping threshold and velocity behavior. To generate line coverage, run
flutter test --coverage
and to view the coverage in a generated webpage, use thegenhtml
tool.