Test developing: several tests on one objects #2015
Unanswered
oleg68
asked this question in
Developers
Replies: 1 comment 5 replies
-
Of course, you can add as many 'assert' as you want. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
@rousseldenis Working on #2012 I'd like to write a first test using the framework you have provided.
I want to test the AND functionality of a switch.
Now there are a source file
model/GOSwitch.cpp
and a test filetests/GOSwitchTest.cpp
.GOSwitch has several functionalities and I'd like to add a separate test for each functionality. Is it possible to have several tests for one class in the current testing model?
Beta Was this translation helpful? Give feedback.
All reactions