Cppunit effort: Difference between revisions

Jump to navigation Jump to search
Line 94: Line 94:


== Roadmap ==
== Roadmap ==
The idea is to make it possible to set up a single subsystem and all its dependencies in a few lines of test code. Then it should be easy to write a test. This is the dependency arrays, subsystem manager/factory fusion, and dynamic dependency resolution algorithm discussed in another thread. Edward is currently working on some ideas, he is also working on subsystem robustness testing for the test suite. This will make it much easier to work with isolated subsystems or sets of subsystems, as many subsystems are quite brittle and if you run them in a way unintended compared to how they are run in fgfs, you see segfaults all over the place.<ref>{{cite web
[[File:Reset-reinit-control-panel2.png|thumb|Nasal/Canvas dialog showing a [[Howto:Reset/re-init Troubleshooting]] ]]
 
 
The idea is to make it possible to set up a single subsystem and all its dependencies in a few lines of test code. Then it should be easy to write a test. This is the dependency arrays, subsystem manager/factory fusion, and dynamic dependency resolution algorithm discussed in another thread. Edward is currently working on some ideas, he is also working on subsystem robustness testing for the test suite. This will make it much easier to work with isolated subsystems or sets of subsystems, as many subsystems are quite brittle and if you run them in a way unintended compared to how they are run in fgfs, you see segfaults all over the place (see for example [[Howto:Reset/re-init Troubleshooting]]).<ref>{{cite web
   |url    =  https://sourceforge.net/p/flightgear/mailman/message/36281748/  
   |url    =  https://sourceforge.net/p/flightgear/mailman/message/36281748/  
   |title  =  <nowiki> Re: [Flightgear-devel] Questions about TestSuite </nowiki>  
   |title  =  <nowiki> Re: [Flightgear-devel] Questions about TestSuite </nowiki>  

Navigation menu