simutil_core

Core models and process execution shared by the SimUtil packages: Device, DeviceService, CommandExec, and IsolateRunner. No user data or config files.

Part of SimUtil.

Usage

import 'package:simutil_core/simutil_core.dart';

Future<void> main() async {
  final result = await CommandExec().run('adb', arguments: ['version']);
  print(result.stdout);
}

package:simutil_core/testing.dart provides test doubles (like package:http/testing.dart): FakeCommandExec, FakeDeviceService, and device fixtures (testAndroidEmulator(), testIosSimulator(), ...). Import it only from tests.

Libraries

simutil_core
Core models and process execution for SimUtil.
testing
Test doubles for simutil_core, in the style of package:http/testing.dart.