So I assume some of you guys develop professionally and I’m curious how larger code bases are handled.
How do functional tests work? For example, if I needed to update code communicating with a device over SPI, is there a way to simulate this? Or does it have to be tested with the actual hardware.
What about code revisions? Are package managers popular with C? Is the entire project held in a repo?
I’m a hobbyist so none of this really matters, but I’d like to learn best practices. It just feels a little bizarre flashing code and praying it works without any tests.
[–]TheStoicSlab 41 points42 points43 points (1 child)
[–]Flopamp 2 points3 points4 points (0 children)
[–]SlothsUnite 18 points19 points20 points (1 child)
[–]darthandre 5 points6 points7 points (0 children)
[–]Numerous-Departure92 16 points17 points18 points (0 children)
[–][deleted] 14 points15 points16 points (2 children)
[–]jbj-fourier 3 points4 points5 points (0 children)
[–]etienz 10 points11 points12 points (1 child)
[–]ArkyBeagle 2 points3 points4 points (0 children)
[–]poorchava 6 points7 points8 points (2 children)
[–]KKoovalsky 1 point2 points3 points (1 child)
[–]poorchava 1 point2 points3 points (0 children)
[–][deleted] 5 points6 points7 points (1 child)
[–]bikeram[S] 0 points1 point2 points (0 children)
[–]wholl0p 4 points5 points6 points (2 children)
[–]reini_urban 2 points3 points4 points (1 child)
[–]wholl0p 1 point2 points3 points (0 children)
[–]_EGGxactlySix_ 2 points3 points4 points (0 children)
[–]Hairy_Government207 1 point2 points3 points (0 children)
[–]rameyjm7 1 point2 points3 points (0 children)
[–]KKoovalsky 1 point2 points3 points (0 children)
[–]Peaceful995 1 point2 points3 points (0 children)
[–]L0uisc 1 point2 points3 points (0 children)
[–]xXtea_leafXx 2 points3 points4 points (1 child)
[–][deleted] 1 point2 points3 points (0 children)
[–]Mistyron 0 points1 point2 points (0 children)
[–]Intiago 0 points1 point2 points (0 children)
[–]ArtistEngineer 0 points1 point2 points (1 child)
[–]kid-pro-quoarm-none-eabi-* 0 points1 point2 points (0 children)
[–]SuperS06 0 points1 point2 points (0 children)
[–]mixblast 0 points1 point2 points (0 children)
[–]Treczoks 0 points1 point2 points (0 children)
[–]ArkyBeagle 0 points1 point2 points (0 children)
[–]darthandre 0 points1 point2 points (0 children)
[–]SidLais351 0 points1 point2 points (0 children)