Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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 Go to previous messageGo to previous message
Klugier is currently offline  Klugier
Messages: 1077
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

 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: TheIDE [Close others] options don' t work properly
Next Topic: Application crashes and OS instability can overwrite the currently edited file with junk
Goto Forum:
  


Current Time: Tue Jun 11 10:20:32 CEST 2024

Total time taken to generate the page: 0.02200 seconds