rad_test 0.4.0 rad_test: ^0.4.0 copied to clipboard
A testing library for testing applications that are written using Rad.
Rad - Testing library #
A testing library for Rad applications, heavly inspired from flutter_test.
Example usage #
import 'package:rad_test/rad_test.dart';
import 'app.dart';
void main() {
testWidgets('should build text widget', (WidgetTester tester) async {
await tester.pumpWidget(Text('hello world'));
expect(tester.find.text('hello world'), findsOneWidget);
});
}
For more please checkout examples here.
License #
Source is governed by a BSD-style license that can be found in LICENSE file. Parts of source code in this library are borrowed from flutter testing library which are also governed by a BSD-style license that can be found here.