Unit tests for SSU

SiameseCat

Addon Developer
Addon Developer
Joined
Feb 9, 2008
Messages
1,699
Reaction score
1
Points
0
Location
Ontario
I've been thinking about adding some unit tests for SSU. Does anyone have any comments or objections? Also, can anyone recommend a C++ testing framework? I've been thinking of using Google test.
 

Urwumpe

Not funny anymore
Addon Developer
Donator
Joined
Feb 6, 2008
Messages
37,627
Reaction score
2,345
Points
203
Location
Wolfsburg
Preferred Pronouns
Sire
I've been thinking about adding some unit tests for SSU. Does anyone have any comments or objections? Also, can anyone recommend a C++ testing framework? I've been thinking of using Google test.

No objections, I would suggest the same, but I have not yet found any framework, that also works well with Orbiter. I think we need our own framework there, unless you want to limit the tests to the libUltra stuff, that works without orbiter running.
 

SiameseCat

Addon Developer
Addon Developer
Joined
Feb 9, 2008
Messages
1,699
Reaction score
1
Points
0
Location
Ontario
For the moment, I'm planning to stick to libUltra, without trying to handle Orbiter as well.
 

Donamy

Addon Developer
Addon Developer
Donator
Beta Tester
Joined
Oct 16, 2007
Messages
6,917
Reaction score
212
Points
138
Location
Cape
I haven't got a clue, what you're talking about, so no objection here either.:lol:
 

Urwumpe

Not funny anymore
Addon Developer
Donator
Joined
Feb 6, 2008
Messages
37,627
Reaction score
2,345
Points
203
Location
Wolfsburg
Preferred Pronouns
Sire
I haven't got a clue, what you're talking about, so no objection here either.:lol:

Unit tests are a tool to automatically test if all interfaces of a unit (class, library, subsystem, etc) work properly to the specifications.

In software development, they are a common tool to improve the quality of the software a lot and prevent problems with backwards compatibility.
 

Donamy

Addon Developer
Addon Developer
Donator
Beta Tester
Joined
Oct 16, 2007
Messages
6,917
Reaction score
212
Points
138
Location
Cape
Cool ! Thanks for explaining.
 
Top