-
Notifications
You must be signed in to change notification settings - Fork 25
Test DSL #3
Comments
So I've dug a bit at this project and introduced a few things in the process of implementing tests. First off, the new tests:
I've also made a few tweaks to existing tests to make them fit the changes I've added discussed below (primarily, adding timeouts and expected failures) So, the DSL-related changes:
I'll be adding an issue to two for non-DSL related changes as well. @victorbjelkholm, I wanted to get your thoughts on these changes before submitting a PR. Do you have any concerns about the changes I've proposed so far? |
I've also found it necessary to implement a parallel test runner / matching DSL to meet the requirements in @whyrusleeping's issue 211 "Swarm downloading a small file". At this point, I've kept your convention of on_node, and added a yaml attribute for end_node, which will invoke the parallel test runner. New DSL example:
|
One of my main areas of concern is to have a nice testing DSL to enables reuse and readability so it'll be easy to add new tests and refactor existing ones.
Currently, it looks something like this:
I'm in a rush right now, so I'll leave this here and write my thoughts when I can.
The text was updated successfully, but these errors were encountered: