Skip to content
This repository has been archived by the owner on Aug 22, 2018. It is now read-only.

Write tests #17

Open
lsaether opened this issue Jan 12, 2018 · 0 comments
Open

Write tests #17

lsaether opened this issue Jan 12, 2018 · 0 comments

Comments

@lsaether
Copy link
Member

Now that we have a deploy script, we can begin fleshing out the test suite. The deploy script creates a fake chain automatically so we can write regular mocha tests and not have to worry about the overhead of Truffle. There will be some issues with the client (such as pending transactions which we will have to find a different way to test). I'm going to write tests as I flesh out the scheduling library more, but we could probably use tests for the client as much as possible too. I'm not entirely sure what the best way to test that would be.

For an example of how to use the deploy script in a test see here

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

No branches or pull requests

1 participant