Skip to main content

twk_test 0.2.0 copy "twk_test: ^0.2.0" to clipboard
twk_test: ^0.2.0 copied to clipboard

Tests for twk apps: the real app on a terminal in memory under a fake clock, input as a terminal's bytes, the screen read by an emulator.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add twk_test

With Flutter:

 $ flutter pub add twk_test

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  twk_test: ^0.2.0

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:twk_test/twk_test.dart';
1
likes
160
points
1.18k
downloads

Documentation

API reference

Publisher

verified publisherpro100.dev

Weekly Downloads

Tests for twk apps: the real app on a terminal in memory under a fake clock, input as a terminal's bytes, the screen read by an emulator.

Repository (GitHub)
View/report issues
Contributing

Topics

#terminal #tui #testing #widget

License

MIT (license)

Dependencies

meta, test, twk, twk_core

More

Packages that depend on twk_test