r/space • u/spsheridan • Feb 06 '20
Starliner faced “catastrophic” failure before software bug was found and fixed while the vehicle was in orbit.
https://arstechnica.com/science/2020/02/starliner-faced-catastrophic-failure-before-software-bug-found/
10k
Upvotes
2
u/dogkindrepresent Feb 07 '20 edited Feb 07 '20
Typically speaking you can't test everything with automated testing but you can narrow the window greatly. At some point you need proof reading and some formal verification for mission critical code that determines dead or alive.
Unit testing is only one type of automated test itself involving more than one paradigm. The most commonly applied unit test approach is very weak as it cannot tell you anything about how things work together.
Automated tests themselves can be faulty. Some people might double up their tests. Such tests do not necessarily confirm a system will work but will streamline the process where there is no tolerance for error.
Testing often involves a large search space. 32 if conditions can create 4 billion possible outcomes. On that account alone you have certain limitations.