-
Notifications
You must be signed in to change notification settings - Fork 192
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
Add tests for exercises #79
Comments
@milesfrain, I would be honored to go through through your tests on chapter 6 in #78. I'll also be glad to write some tests for the preceding chapters. And the subsequent ones as well. I've always found tests to be one of the best ways to wrap your head around a problem. I agree with you that tests "would also be a great help in improving book quality for upcoming readers". Thanks for thinking of me. |
@p2327 Also offered to help with test writing. Let's make sure we organize who's working on which chapters so we don't duplicate efforts. |
@milesfrain @p2327 Sounds good. I'm currently attempting to verify your test suite at each increment of the exercises in Ch. 6. |
@milesfrain I'd like to tackle generating test suite for Ch. 4. |
@oldfartdeveloper I just started chapter 6 so happy for you to work on it instead if you are already started! I'll share my repo anyway be good to check my work with yours im quite a newbie :) @milesfrain happy to take on other chapters as needed? |
@p2327 Interestingly, I decided to pause my study of the book after finishing chapter 6 to divert to contribute tests for chapter 3 because I am so convinced that @milesfrain's efforts on adding the regression tests is such a great idea for readers like you and me. @milesfrain has already completed implementing the tests for his solutions for chapter 6, and his they were invaluable in helping me to process the material in the chapter. At this point in time, I'm ready to start studying chapter 7. In terms of adding tests for solutions, chapters 3, 4, and 6 are complete. So, would you like to take a stab at supplying the tests for your solutions for chapter 5? You've just finished studying the chapter, and so you're in a perfect position to cement your hard-won knowledge by adding the tests, and you have testing examples for 3 chapters now. This would free me up to tackle studying chapter 7, and I would now proceed by doing "test-first" development for the examples. When I'm finished, there would be tests and solutions for chapter 7. I have solutions for all but one of the chapter 5 examples that I'd be glad to share if you wanted to compare approaches; I've discovered that there are frequently many ways to solve them. I'm a newbie also, for me acquiring Purescript is not easy at all. But writing tests has made it easier. So I'd like it if you took on implementing the tests for chapter 5; you're in a perfect position to do so.. Concurrently I'll implement the tests for chapter 7 as I study it. Sound like a plan? |
I updated the original post with links to tasks for adding tests for to each chapter. |
I detected multiple issues with the tests of ch12:
Do I open a global issue for the three, or one for each? For people with this issues, here some ways to work around:
|
Thanks for the report @othelarian. Up to you on whether you want to create just a single issue or multiple issues. You can also just jump straight to submitting a PR with a potential fix (even if there's more work to be done), and we can discuss it further in the PR comments. |
PRs for adding tests:
Open:
Complete:
Skipping:
Contributing:
We could use help with adding tests for the other chapters, so please feel free to assign yourself to any of the open PRs.
The text was updated successfully, but these errors were encountered: