Open drdaz opened 8 years ago
Actually... having bootstrapped and examined the test code, it's starting to make a lot more sense to me. Nice.
Hey @drdaz thanks for the feedback. I agree a bit more documentation showing how to test your services would be nice. As a first step I would recommend to read the wiki, specially the part about services https://github.com/Wolox/WLXBluetoothDevice/wiki/Services. One way of testing your BLE dependent code is to mock the WLXServiceManager instance.
Let me know makes it a little more clear. Unfortunately all of my code that uses WLXBluetoothDevice is private but if you have some code samples that you want yo share I can give you some tips on how to test your code using WLXBluetoothDevice.
In your Readme you state that one of the goals of the project is to "Facilitate automated testing of Bluetooth dependent code". I find this part of the project most interesting, but I'm at a bit of a loss. I can see there are test classes, but I'm not quite sure what to do with them.
Some documentation showing your suggested approach for automated testing (or explaining the test classes you've included) would be really cool here.