Polyhedra-Studio / Cake-Dart-VS

The VS Code extension for Cake - the lightweight, explicit testing framework for Dart.
https://marketplace.visualstudio.com/items?itemName=Polyhedra.cake-dart-vs
Mozilla Public License 2.0
1 stars 0 forks source link

[Flutter] Runner hides critical errors and print messages in Run mode #2

Open CLeeSpruit opened 10 months ago

CLeeSpruit commented 10 months ago

To reproduce:

Force some sort of error in a cake.dart Flutter file. At minimum:

import 'package:cake_flutter/cake_flutter.dart';

void main() {
   throw 'Eaten error message!'

   FlutterTestRunner('Ideally Functioning Tests',
  // ....

Workaround

Running it in debug mode reports the error in the console.

CLeeSpruit commented 10 months ago

This also happens if there's any print commands or any output that isn't straight from Cake printer.