rad_test 0.1.1 rad_test: ^0.1.1 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 with number of new APIs for testing applications that are written using Rad.
Example usage #
import 'package:rad_test/rad_test.dart';
import 'app.dart';
void main() {
group('basic widget test', () {
testWidgets('should build text widget', (WidgetTester tester) async {
await tester.pumpWidget(Text('hello world'));
expect(tester.find.text('hello world'), findsOneWidget);
});
});
}
License #
Source is governed by a BSD-style license that can be found in LICENSE. Parts of source in this library are borrowed from flutter testing library which is also governed by a BSD-style license that can be found here.