expect_better 1.0.0 copy "expect_better: ^1.0.0" to clipboard
expect_better: ^1.0.0 copied to clipboard

Better assertions, but still using dart test library. Better readability and discovery when using code completion, without compromises.

example/expect_better_example.dart

import 'package:expect_better/expect_better.dart';

void main() {
  expectThat('something').isTruthy().isNotEmpty();
  expectThat(null).isFalsy();
}
0
likes
160
points
17
downloads

Publisher

verified publisherel-darto.net

Weekly Downloads

Better assertions, but still using dart test library. Better readability and discovery when using code completion, without compromises.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

lean_extensions, test

More

Packages that depend on expect_better