Rad - Testing library
A testing library for Rad applications, heavily 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.
Libraries
- rad_test
- Testing library for Rad, built on top of
package:test
.