-
Notifications
You must be signed in to change notification settings - Fork 5
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 would be nice #16
Comments
I did try this out a bit early on, but there were a couple of reasons they were...quite awkward. Since what Zypak does is so specific to mimicking the flow of the Chrome source code, tests tended to be really brittle while I was still trying to wire everything up together. In addition, the nature of it relying on Despite this, do note that I have lists of things to manually test each Zypak release based on pain points in the past, and it's...surprisingly not very long. That being said, since Zypak is mostly stable nowadays (and I'm not sharing time with classes anymore!), I've had my eye on making some regression-style tests for a bit now, since there are some internal cleanups I want to make to a few parts of the code and don't want to break anything. (Do note I will be using the manual testing as well.) |
That sounds very good! And thanks a lot for all the effort you put into that despite having other things to do! And yeah, I guess starting small with some tests is a very good idea. And if the internals change too much, they could likely be more like integration-tests or so, but I don't know the technical details or let alone C++ enough, so just take this as some inspiration… |
I see in the source code you seem to have no (unit) tests… Needless to say, that these likely would be a nice feature to have… 🙂
The text was updated successfully, but these errors were encountered: