-
Notifications
You must be signed in to change notification settings - Fork 13
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
[TicTacToe] Add tests #3
Comments
Is there a certain testing framework that should be used, or anything would do ? I have never done this before but i would like to play around with it and try to implement this. |
I have never used testing frameworks for C++. So, if there are some that you find interesting, we can choose among them. |
Well i have been looking around and this is what i found.
I would personally like to have a look at google test as this is also the one where I can find the most documentation. |
By looking at the features it looks great, but maybe Catch2 is more immediate to use. Try Google test first if you like it, if it's easy to use and to integrate into the project we can continue with it.
Il 14/Ott/2018 06:52 PM, "Thomas Pans" <[email protected]> ha
scritto:
… Well i have been looking around and this is what i found.
-
Catch2 <https://github.com/catchorg/Catch2>: Header only, easy to
start but doe not support mock objects
-
Google test <https://github.com/google/googletest>: mocking out of the
box and supports death tests. Is a little heavier though and needs to be
embedded.
I would personally like to have a look at google test as this is also the
one where I can find the most documentation.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#3 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AD6xog3t_DsC8oWymMsMlaij5KKeRN4sks5uk2vDgaJpZM4XNcBR>
.
|
Just quick update after a few days of messing around. I think catch2 will be the best choice here, it is really straight forward. google test was just a pain to setup and integrate. @mattiadg If you agree i will continue with catch2 as the testing framework |
If it's easier, it's fine for me. When we have now experience we can move
to more complex tools
Il 17/Ott/2018 09:32 PM, "Thomas Pans" <[email protected]> ha
scritto:
Just quick update after a few days of messing around.
I think catch2 will be the best choice here, it is really straight forward.
google test was just a pain to setup and integrate.
@mattiadg <https://github.com/mattiadg> If you agree i will continue with
catch2 as the testing framework
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#3 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AD6xoqXYu8TDDTbYDy1g-FgSEVgVyaD_ks5ul4W7gaJpZM4XNcBR>
.
|
Addressed in #26. Closing |
Unit tests and game tests are required. It is useful to learn about test tools in C++.
The text was updated successfully, but these errors were encountered: