exercism / dart

Exercism exercises in Dart.
https://exercism.org/tracks/dart
MIT License
57 stars 94 forks source link

Why is skip true for all the tests? #464

Closed jfacoustic closed 1 year ago

jfacoustic commented 1 year ago

Noticed if you run dart test, it only runs the first test. Why is skip true for all but the first test?

    test('year divisible by 2, not divisible by 4 in common year', () {
      final result = leap.leapYear(1970);
      expect(result, equals(false));
    }, skip: true)
Stargator commented 1 year ago

We implement the test suites to enable refactoring via Text Driven Development. Users don't have to follow that path.

So by only enabling the first test, users can test, implement, and refactor one test at a time until they develop a working solution.

jfacoustic commented 1 year ago

Thanks! That makes sense.