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

Need Integration Tests #5

Open
ifandelse opened this issue Feb 3, 2013 · 1 comment
Open

Need Integration Tests #5

ifandelse opened this issue Feb 3, 2013 · 1 comment

Comments

@ifandelse
Copy link
Contributor

Our specs should include an integration test where:

  • test runner (parent) has two iframes (child 1, child 2) in the document
  • parent and children need to federate
  • parent should:
    • broadcast an identical message to both children that both children are configured to listen for via the filters
    • broadcast a message that only child 1 will receive
    • broadcast a message that only child 2 will receive
  • the children should reply to the above messages on a different channel/topic to which the parent is listening.
  • when the parent receives the replies, the tests pass
  • this should be using mocha/should/expect

I don't have a problem with this activity running the main test runner under a top level describe indicating it's an integration test, etc., but am also open to it running in a separate integration.html test runner...

@ifandelse
Copy link
Contributor Author

Now that web worker support has landed in v0.2.4, we need an integration test for that as well...

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

No branches or pull requests

1 participant