angel_orm_test

This commit is contained in:
Tobe O 2019-02-14 13:36:53 -05:00
parent ea3535a719
commit db808be825
8 changed files with 31 additions and 0 deletions

View file

@ -11,4 +11,6 @@ dependencies:
pool: ^1.0.0
postgres: ^1.0.0
dev_dependencies:
angel_orm_test:
path: ../angel_orm_test
test: ^1.0.0

View file

@ -0,0 +1,6 @@
import 'package:angel_orm_postgres/angel_orm_postgres.dart';
import 'package:test/test.dart';
void main() {
}

0
angel_orm_test/README.md Executable file
View file

View file

@ -0,0 +1,2 @@
export 'src/cases/cases.dart';
export 'src/models/models.dart';

View file

@ -0,0 +1,9 @@
import 'package:angel_orm/angel_orm.dart';
import 'package:test/test.dart';
import 'standalone.dart';
void Function() ormTests(QueryExecutor executor) {
return () {
group('standalone', standaloneTests(executor));
};
}

View file

@ -0,0 +1,7 @@
import 'package:angel_orm/angel_orm.dart';
import 'package:angel_orm_test/angel_orm_test.dart';
import 'package:test/test.dart';
void Function() standaloneTests(QueryExecutor executor) {
return () {};
}

View file

@ -0,0 +1 @@
export 'todo.dart';

View file

@ -1,8 +1,12 @@
name: angel_orm_test
publish_to: none
description: Common tests for Angel ORM backends.s
environment:
sdk: ">=2.0.0 <3.0.0"
dependencies:
angel_migration: ^2.0.0-alpha
angel_model: ^1.0.0
angel_orm: ^2.0.0-dev
test: ^1.0.0
dev_dependencies:
angel_orm_generator: