asmundstavdahl / astest-dart Goto Github PK
View Code? Open in Web Editor NEWSimple BDD framework for dart
License: MIT License
Simple BDD framework for dart
License: MIT License
00:00 +1: test/simple_node_test_test.dart: ... Given node = new SimpleNode(); ←FAILED
00:00 +2: test/simple_node_test_test.dart: ... Given node = new SimpleNode(); ←FAILED
00:00 +3: test/simple_node_test_test.dart: ... Given node = new SimpleNode(); ←FAILED
00:00 +4: test/simple_node_test_test.dart: ... Given node = new SimpleNode(); ←FAILED
00:00 +5: test/simple_node_test_test.dart: ... Given node = new SimpleNode(); ←FAILED
00:00 +5: test/simple_node_test_test.dart: ... Given testValue = "A new value."; ←FAILED
00:00 +6: test/simple_node_test_test.dart: ... Given testValue = "A new value."; ←FAILED
00:00 +6: test/simple_node_test_test.dart: ... Given initialValue = node.value; ←FAILED
00:00 +7: test/simple_node_test_test.dart: ... Given initialValue = node.value; ←FAILED
00:00 +7: test/simple_node_test_test.dart: ... Given node.value = testValue; ←FAILED
00:00 +8: test/simple_node_test_test.dart: ... Given node.value = testValue; ←FAILED
00:00 +8: ... = testValue;
Given expect(node.value, isNot(initialValue)); ←FAILED
00:00 +9: ... = testValue;
Given expect(node.value, isNot(initialValue)); ←FAILED
00:00 +9: ... isNot(initialValue));
Given expect(node.value, equals(testValue)); ←FAILED
00:00 +10: ... isNot(initialValue));
Given expect(node.value, equals(testValue)); ←FAILED
00:00 +10: test/simple_node_test_test.dart: ... Given testValue2 = 42; ←FAILED
00:00 +11: test/simple_node_test_test.dart: ... Given testValue2 = 42; ←FAILED
00:00 +11: test/simple_node_test_test.dart: ... Given initialValue2 = node.value; ←FAILED
00:00 +12: test/simple_node_test_test.dart: ... Given initialValue2 = node.value; ←FAILED
00:00 +12: test/simple_node_test_test.dart: ... When node.value = testValue2; ←FAILED
00:00 +13: test/simple_node_test_test.dart: ... When node.value = testValue2; ←FAILED
00:00 +13: ... = testValue2;
Then expect(node.value, isNot(initialValue2)); ←FAILED
00:00 +14: ... = testValue2;
Then expect(node.value, isNot(initialValue2)); ←FAILED
00:00 +14: ... Then expect(node.value, equals(testValue2.toString())); ←FAILED
00:00 +15: ... Then expect(node.value, equals(testValue2.toString())); ←FAILED
00:00 +15: test/simple_node_test_test.dart: ... Given node = new SimpleNode(); ←FAILED
00:00 +16: test/simple_node_test_test.dart: ... Given node = new SimpleNode(); ←FAILED
00:00 +16: test/simple_node_test_test.dart: ... = "The value of the child node."; ←FAILED
00:00 +17: test/simple_node_test_test.dart: ... = "The value of the child node."; ←FAILED
00:00 +17: test/simple_node_test_test.dart: ... Given childKey = "name-of-the-child"; ←FAILED
00:00 +18: test/simple_node_test_test.dart: ... Given childKey = "name-of-the-child"; ←FAILED
00:00 +18: test/simple_node_test_test.dart: ... = new SimpleNode()..value = testValue; ←FAILED
00:00 +19: test/simple_node_test_test.dart: ... = new SimpleNode()..value = testValue; ←FAILED
00:00 +19: test/simple_node_test_test.dart: ... When node[childKey] = childNode; ←FAILED
00:00 +20: test/simple_node_test_test.dart: ... When node[childKey] = childNode; ←FAILED
00:00 +20: ... = childNode;
Then expect(node[childKey], equals(childNode)); ←FAILED
00:00 +21: ... = childNode;
Then expect(node[childKey], equals(childNode)); ←FAILED
00:00 +21: test/simple_node_test_test.dart: ... Given node = new SimpleNode(); ←FAILED
00:00 +22: test/simple_node_test_test.dart: ... Given node = new SimpleNode(); ←FAILED
00:00 +22: test/simple_node_test_test.dart: ... Then expect(node["sdasdasd"], isNull); ←FAILED
00:00 +23: test/simple_node_test_test.dart: ... Then expect(node["sdasdasd"], isNull); ←FAILED
00:00 +23: test/simple_node_test_test.dart: ... Given node = new SimpleNode(); ←FAILED
00:00 +24: test/simple_node_test_test.dart: ... Given node = new SimpleNode(); ←FAILED
00:00 +24: test/simple_node_test_test.dart: ... = new SimpleNode()..value="Node #1"; ←FAILED
00:00 +25: test/simple_node_test_test.dart: ... = new SimpleNode()..value="Node #1"; ←FAILED
00:00 +25: ... #1";
Given expect(node["key"].value, equals("Node #1")); ←FAILED
00:00 +26: ... #1";
Given expect(node["key"].value, equals("Node #1")); ←FAILED
00:00 +26: test/simple_node_test_test.dart: ... = new SimpleNode()..value="Node #2"; ←FAILED
00:00 +27: test/simple_node_test_test.dart: ... = new SimpleNode()..value="Node #2"; ←FAILED
00:00 +27: ... #2";
Then expect(node["key"].value, equals("Node #2")); ←FAILED
00:00 +28: ... #2";
Then expect(node["key"].value, equals("Node #2")); ←FAILED
00:00 +28: All tests passed!
Maybe even show a diff between old and new and see if the master approves?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.