Unit Testing with Potomac
//TODO: write this
Quick notes:
Create your own custom application project (don’t use Potomac application nature). Use Launcher#launch to run a bootstrapped instance of Potomac and provide a LauncherRunner that runs the tests.
Use enablesFor attribute on extensions to enable/disable extensions for running. For example:
[Injectable(enablesFor='test')]
This injectable would only be activated when Potomac is launched with the ‘test’ enablesFor flag. You may also use a minus sign to provide ‘everthing but’ logic. For example:
[Injectable(enablesFor='-production')]
This injectable would be activated so long as the enablesFor flags did not include ‘production’.
The enablesFor attribute is valid on all extension points (not just injectable) even your own custom ones.

