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

Unit Tests #124

Open
audiohacked opened this issue Aug 6, 2018 · 4 comments
Open

Unit Tests #124

audiohacked opened this issue Aug 6, 2018 · 4 comments

Comments

@audiohacked
Copy link
Owner

Is your feature request related to a problem? Please describe.
I'm always wondering if the OpenCorsairLink code logic is correct.

Describe the solution you'd like
I'd like as much unit test coverage as possible. Considering OpenCorsairLink deals with actual hardware, we would need mock test to test all of the hardware variants.

Describe alternatives you've considered
None

Additional context
N/A

@Ravenslofty
Copy link

Hi! I'm from the ckb-next team, and we had a similar problem on our end. Our solution was to hack a USBIP driver into submission, and we got the mess that is FaKeyboard.

Given we're both working on Corsair stuff, it'd be nice if you visited our IRC (Freenode #ckb-next).

@audiohacked
Copy link
Owner Author

@audiohacked
Copy link
Owner Author

Also, I'm looking at CMocka as the Unit Testing Library.

@audiohacked
Copy link
Owner Author

Here's an article on using CMocka: https://lwn.net/Articles/558106/

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

No branches or pull requests

2 participants