Home » U++ TheIDE » U++ TheIDE: Other Features Wishlist and/or Bugs » Can U++ TheIDE be used with cxxtest ? (Looking for a way to use cxxtest unit test framework for TDD.)
Re: Can U++ TheIDE be used with cxxtest ? [message #54610 is a reply to message #54593] |
Wed, 19 August 2020 20:40   |
 |
Klugier
Messages: 1099 Registered: September 2012 Location: Poland, Kraków
|
Senior Contributor |
|
|
Hello Jeff,
Personally I would suggest using Google Test + Google Mocks. Sometime ago I created port for upp and it is available through bazzar. It is still active and supported by Google. On 3rd of October they release version 1.10.x. It posses around 16.5K stars on GitHub.
If you want to use full TDD with good code coverage and stable environment mocks are needed. For example you will be able to simulate network payload or hardware behavior easily.
To use that technology in Upp world I highly suggest backend/frontend separation and test back-end in separate package.
Mirek, you could consider using GTest in auto-test. I think your tests will benefit from that technology especially when using concepts such as test suites and you could still use small GTest app per package instead everything in one bag.
Examples below:
- Testing
- Mocking
Wikipedia:
- Mock_object
- Test-Driven Development (TDD) Shines with Mocking
Sincerely,
Klugier
U++ - one framework to rule them all.
[Updated on: Wed, 19 August 2020 20:43] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Sat May 10 13:57:16 CEST 2025
Total time taken to generate the page: 0.02143 seconds
|