welltested_annotation 1.1.0 copy "welltested_annotation: ^1.1.0" to clipboard
welltested_annotation: ^1.1.0 copied to clipboard

Annotation package for welltested https://pub.dev/packages/welltested.

example/welltested_annotation_example.dart

import 'package:welltested_annotation/welltested_annotation.dart';

void main() {
  final testClass = TestClass();
  print(testClass.add(1, 2));
}

@Welltested(excludedMethods: ['multiply'])
class TestClass {
  int multiply(int a, int b) {
    return a * b;
  }

  @Testcases(['result should be 3 if a=1 and b=2'])
  int add(int a, int b) {
    return a + b;
  }
}
1
likes
120
pub points
83%
popularity

Publisher

verified publisherwelltested.ai

Annotation package for welltested https://pub.dev/packages/welltested.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

unknown (LICENSE)

More

Packages that depend on welltested_annotation