

Code normally works fine after you write it and then hopefully at least test by hand. The new guy 5 years later, which do not fully grasp the extent of his actions, and the guy reviewing the code also not being too familiar with it, will not make sure everything does as intended.
Tests are correctness guarantees, and requires the code and/or the test to change to pass. They also explain how something should behave to people that don’t know. I work in a area where there are so many businesses rules that there is no one person that knows all of it, and capturing the rules as tests is a great way to make sure that rules remains true after someone else comes to change the code.
Tesla somehow manages to do well(at least prior to the nazi events). Still at a good price in Norway.
But all other manufacturers have dragged their feet with EVs, and that price cost of starting is large enough that they are in trouble. I’m not a huge fan of China, but they did the investment and are ahead exactly because of that (and crazy subsidies). Being left behind is their own fault imo, and I think that applies a lot to EU as well. Eg. WV.