dart_assert 0.0.1
dart_assert: ^0.0.1 copied to clipboard
Dart Assert provides a rich and intuitive set of strongly typed assertions to use for unit testing. Inspired by AssertJ
#Dart Assert
Dart Assert provides a rich and intuitive set of strongly typed assertions to use for unit testing. Inspired by AssertJ.
Distributed under the Apache 2.0 License.
Getting Started #
Create a Dart project and add a pubspec.yaml file to it
dependencies:
dart_assert: any
and run
pub install
Samples #
import 'package:assert_dart/assert_dart.dart';
assertThisObject("Hello")..isNotNull()
..isEqualTo("Hello");