50 lines
1.8 KiB
Dart
50 lines
1.8 KiB
Dart
import 'dart:io';
|
|
|
|
import 'package:io/ansi.dart';
|
|
|
|
import 'accepts_test.dart' as accepts;
|
|
import 'anonymous_service_test.dart' as anonymous_service;
|
|
import 'controller_test.dart' as controller;
|
|
import 'di_test.dart' as di;
|
|
import 'encoders_buffer_test.dart' as encoders_buffer;
|
|
import 'exception_test.dart' as exception;
|
|
import 'extension_test.dart' as extension;
|
|
import 'find_one_test.dart' as find_one;
|
|
import 'general_test.dart' as general;
|
|
import 'hooked_test.dart' as hooked;
|
|
import 'parameter_meta_test.dart' as parameter_meta;
|
|
import 'precontained_test.dart' as precontained;
|
|
import 'primitives_test.dart' as primitives;
|
|
import 'repeat_request_test.dart' as repeat_request;
|
|
import 'routing_test.dart' as routing;
|
|
import 'serialize_test.dart' as serialize;
|
|
import 'server_test.dart' as server;
|
|
import 'services_test.dart' as services;
|
|
import 'streaming_test.dart' as streaming;
|
|
import 'view_generator_test.dart' as view_generator;
|
|
import 'package:test/test.dart';
|
|
|
|
/// For running with coverage
|
|
main() {
|
|
print(cyan.wrap('Running tests on ${Platform.version}'));
|
|
group('accepts', accepts.main);
|
|
group('anonymous service', anonymous_service.main);
|
|
group('controller', controller.main);
|
|
group('di', di.main);
|
|
group('encoders_buffer', encoders_buffer.main);
|
|
group('exception', exception.main);
|
|
group('extension', extension.main);
|
|
group('find_one', find_one.main);
|
|
group('general', general.main);
|
|
group('hooked', hooked.main);
|
|
group('parameter_meta', parameter_meta.main);
|
|
group('precontained', precontained.main);
|
|
group('primitives', primitives.main);
|
|
group('repeat request', repeat_request.main);
|
|
group('routing', routing.main);
|
|
group('serialize', serialize.main);
|
|
group('server', server.main);
|
|
group('services', services.main);
|
|
group('streaming', streaming.main);
|
|
group('view generator', view_generator.main);
|
|
}
|