WIP tests

Signed-off-by: jolheiser <john.olheiser@gmail.com>
main
jolheiser 2021-11-16 17:02:25 -06:00
parent df661268a2
commit 58752fe95f
Signed by: jolheiser
GPG Key ID: B853ADA5DA7BBF7A
2 changed files with 9 additions and 11 deletions

View File

@ -1,5 +1,7 @@
import 'package:dart_spectre/spectre.dart';
import 'package:test/test.dart';
import 'package:xml/xml.dart';
import 'dart:io';
void main() {
test("Example", () {
@ -14,4 +16,11 @@ void main() {
var pw = spectre.site("jojodev.com", scope: Scope.identification, templateType: Template.maximum, counter: 2);
expect(pw, equals("Ig^JIcxD!*)TbefJBi6-"));
});
test("test", () {
var tests = File("test/spectre_tests.xml");
var xml = XmlDocument.parse(tests.readAsStringSync());
//print(xml.children[0].children);
});
}

View File

@ -1,11 +0,0 @@
import 'dart:io';
import 'package:xml/xml.dart';
import 'package:dart_spectre/spectre.dart';
import 'package:test/test.dart';
void main() async {
var tests = await File("spectre_tests.xml").readAsString();
}