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

PDD Test Stories #2

Merged
merged 12 commits into from
Dec 18, 2017
Merged

PDD Test Stories #2

merged 12 commits into from
Dec 18, 2017

Conversation

daviddias
Copy link
Member

@daviddias daviddias commented Dec 14, 2017

WIP

ref: #1

The first milestone is to get the Transports and The IPFS Bundle Test Stories done. The reasoning is that the Transports are the simplest ones, enough complex to give us a perspective on how to structure these and the IPFS Bundle ones are the ones primarily needed for interop between js-libp2p, go-libp2p and rust-libp2p.

  • Qualitative - Test Stories that check feature interoperability and compliance.
    • Transports - (priority)
      • Story 1
        • js-libp2p
        • go-libp2p
      • Story 2
        • js-libp2p
        • go-libp2p
      • Story 3
        • js-libp2p
        • go-libp2p
    • Protocol and Stream Multiplexing
    • Identify
    • Encrypted Communications
    • Peer Routing
    • Content Routing
    • PubSub
    • Circuit Relay
    • The IPFS bundle - (priority)
      • Story 1
        • js-libp2p
        • go-libp2p
      • Story 2
        • js-libp2p
        • go-libp2p
      • Story 3
        • js-libp2p
        • go-libp2p
      • Story 4
        • js-libp2p
        • go-libp2p
      • Story 5
        • js-libp2p
        • go-libp2p
    • ...
  • Quantitative - Test Stories focused on stress testing the implementations against each other.
    • Thousands of Muxed Streams
    • Hundreds of Peer Connections

@daviddias
Copy link
Member Author

Update on the plans -- #1 (comment) Merging this PR for reference and also as it provides an update to the README and an Important note on the status.

@daviddias daviddias merged commit 597805b into master Dec 18, 2017
@daviddias daviddias deleted the pdd branch December 18, 2017 10:34
@whyrusleeping
Copy link

@diasdavid could you provide some insight into how these are supposed to be run? Do you want a different program for each actor? or do you want the program to take an argument telling it what to do?

@daviddias
Copy link
Member Author

I've implemented them myself by creating a program per actor, see for example:

or

And my thought was that this way each actor would be well scoped, easy to debug and introspect plus we could pick different actors from different language implementations.

@whyrusleeping
Copy link

Okay, that seems a bit excessive, especially for the one with five peers doing almost exactly the same thing. But we will see

@ghost
Copy link

ghost commented Dec 19, 2017

Any thoughts on using Cucumber as a human-readable test definition format? There's implementations in virtually all languages, and I've had good experiences with it in the past.

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

Successfully merging this pull request may close these issues.

2 participants