20,741
edits
Line 116: | Line 116: | ||
== Introducing Regression Tests to FlightGear == | == Introducing Regression Tests to FlightGear == | ||
{{FGCquote | |||
|Unit-testing for the FlightGear classes would be fantastic, but in general the ‘FGGlobals’ structure makes it hard. To unit-test most areas will mean a standard test harness which starts up a skeletal subsystem manager, the NavCache (for some classes, e.g. radio testing), and somehow makes an FGGlobals which works (maybe a mock one) but doesn’t require linking in 80% of the codebase. Any maintainable, not-too-intrusive idea on doing that is welcome! | |||
|{{cite web |url=http://sourceforge.net/p/flightgear/mailman/message/33628094/ | |||
|title=<nowiki>Re: [Flightgear-devel] SimGear/FlightGear Portability Patches</nowiki> | |||
|author=<nowiki>James Turner</nowiki> | |||
|date=<nowiki>2015-03-23</nowiki> | |||
}} | |||
}} | |||
The task of introducing regression tests isn't that easily achieved in FlightGear's case: | The task of introducing regression tests isn't that easily achieved in FlightGear's case: |