redstone-dart / redstone

A metadata driven microframework for Dart.
http://redstone-dart.github.io/redstone
MIT License
342 stars 42 forks source link

app.setUp no longer accessible from redstone/redstone.dart #142

Closed Mixolyde closed 8 years ago

Mixolyde commented 8 years ago

I did an upgrade to redstone-0.6.0+1, and changed my references from redstone/server.dart to redstone/redstone.dart. Now I can't import redstone/server.dart, and don't have access to the setUp method to run unit tests. I think the documentation needs updating.

00:00 +0 -2: get playerdata for game tests GET game list No top-level method 'app.setUp' declared.

NoSuchMethodError: method not found: 'app.setUp' Receiver: top-level Arguments: [...] dart:core NoSuchMethodError._throwNew test\resources\gamedata_test.dart 11:15 main.

No top-level method 'app.tearDown' declared.

NoSuchMethodError: method not found: 'app.tearDown' Receiver: top-level Arguments: [...] dart:core NoSuchMethodError._throwNew test\resources\gamedata_test.dart 14:18 main.

Mixolyde commented 8 years ago

Nevermind, found the new names redstoneSetUp and redstoneTearDown on the home page. Just needs a doc update