65 lines
2.5 KiB
Dart
65 lines
2.5 KiB
Dart
|
import 'dart:io';
|
||
|
import 'package:io/ansi.dart';
|
||
|
import 'http_404_hole_test.dart' as hole404;
|
||
|
import 'accepts_test.dart' as accepts;
|
||
|
import 'anonymous_service_test.dart' as anonymous_service;
|
||
|
import 'body_test.dart' as body;
|
||
|
import 'controller_test.dart' as controller;
|
||
|
import 'detach_test.dart' as detach;
|
||
|
import 'di_test.dart' as di;
|
||
|
import 'encoders_buffer_test.dart' as encoders_buffer;
|
||
|
import 'env_test.dart' as env;
|
||
|
import 'exception_test.dart' as exception;
|
||
|
import 'extension_test.dart' as extension_test;
|
||
|
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 'parse_id_test.dart' as parse_id;
|
||
|
import 'precontained_test.dart' as precontained;
|
||
|
import 'primitives_test.dart' as primitives;
|
||
|
import 'repeat_request_test.dart' as repeat_request;
|
||
|
import 'req_shutdown_test.dart' as req_shutdown;
|
||
|
import 'routing_test.dart' as routing;
|
||
|
import 'serialize_test.dart' as serialize;
|
||
|
import 'server_test.dart' as server;
|
||
|
import 'service_map_test.dart' as service_map;
|
||
|
import 'services_test.dart' as services;
|
||
|
import 'streaming_test.dart' as streaming;
|
||
|
import 'view_generator_test.dart' as view_generator;
|
||
|
//import 'response_header_test.dart' as response_header;
|
||
|
import 'package:test/test.dart';
|
||
|
|
||
|
/// For running with coverage
|
||
|
void main() {
|
||
|
print(cyan.wrap('Running tests on ${Platform.version}'));
|
||
|
group('http_404_hole', hole404.main);
|
||
|
group('accepts', accepts.main);
|
||
|
group('anonymous service', anonymous_service.main);
|
||
|
group('body', body.main);
|
||
|
//group('response_header', response_header.main);
|
||
|
group('controller', controller.main);
|
||
|
group('detach', detach.main);
|
||
|
group('di', di.main);
|
||
|
group('encoders_buffer', encoders_buffer.main);
|
||
|
group('env', env.main);
|
||
|
group('exception', exception.main);
|
||
|
group('extension', extension_test.main);
|
||
|
group('find_one', find_one.main);
|
||
|
group('general', general.main);
|
||
|
group('hooked', hooked.main);
|
||
|
group('parameter_meta', parameter_meta.main);
|
||
|
group('parse_id', parse_id.main);
|
||
|
group('precontained', precontained.main);
|
||
|
group('primitives', primitives.main);
|
||
|
group('repeat_request', repeat_request.main);
|
||
|
group('req_shutdown', req_shutdown.main);
|
||
|
group('routing', routing.main);
|
||
|
group('serialize', serialize.main);
|
||
|
group('server', server.main);
|
||
|
group('service_map', service_map.main);
|
||
|
group('services', services.main);
|
||
|
group('streaming', streaming.main);
|
||
|
group('view generator', view_generator.main);
|
||
|
}
|