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 Mock objects for unit testing/simulation #25

Open
sureshjoshi opened this issue Apr 2, 2018 · 2 comments
Open

Create Mock objects for unit testing/simulation #25

sureshjoshi opened this issue Apr 2, 2018 · 2 comments

Comments

@sureshjoshi
Copy link
Member

Right now, SwiftyTeeth/Device shouldn't be directly used in unit tests - because of the clumsy mocking that would be necessary.

Would be nice to have a Mock/Test object which could be used in its place

@sureshjoshi
Copy link
Member Author

RxTest might be a good inspiration for some possibilities

@sureshjoshi
Copy link
Member Author

Node-serialport has mocks, retrofit has mocks, need to get some inspiration

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