Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a "forked JVM" test framework #10

Open
earldouglas opened this issue Jun 14, 2011 · 1 comment
Open

Create a "forked JVM" test framework #10

earldouglas opened this issue Jun 14, 2011 · 1 comment
Labels

Comments

@earldouglas
Copy link
Collaborator

The current unit tests rely on the InMemTest class, which is a bit of a hack to simulate continuation serialization transport.

It would be much better to create a test framework which can be run as a usual unit test (i.e. with sbt test) that kicks off two real InetTransporter.listen threads (on different local ports) and tests actual serialization and transportation over sockets.

This might be doable with some advanced sbt trickery, or within a class via some clever class loading.

@earldouglas
Copy link
Collaborator Author

See the Akka multi-JVM testing module: https://github.com/typesafehub/sbt-multi-jvm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant