Author Topic: Unit tests  (Read 10277 times)

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 73,189
Unit tests
« on: December 02, 2018, 10:11:49 AM »
It would be amazing if core functionality had some kind of unit test framework attached, so that if someone goes and does something radical, like reworking board access, you can have methodology to prove it isn’t broken. (And if it does break and it wasn’t caught by the tests, fix it then add a new test)
No good deed goes unpunished
All helpful urges should be circumvented

Offline landyvlad

  • Sr. Member
  • ****
  • Posts: 986
  • Gender: Male
    • Michael Reed on Facebook
    • GSX1400 Owners ORG
Re: Unit tests
« Reply #1 on: January 13, 2019, 08:02:36 PM »
I'm not quite sure what any of that means....
Please do not PM, IM or Email me with questions on astrophysics or theology.  You will get better and faster responses by asking homeless people in the street. Thank you.

To paraphrase Kindred: "There are no technical solutions to social problems."

Offline Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 60,287
  • Gender: Male
    • Kindred-999 on GitHub
Re: Unit tests
« Reply #2 on: January 13, 2019, 08:11:16 PM »
It is nothing that a user would see....I understand what he's asking about and,  yes,  it would be great...

Test frameworks are a great resource saver for testing
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Offline GigaWatt

  • The Smiley Guy
  • SMF Friend
  • SMF Hero
  • *
  • Posts: 2,341
  • Gender: Male
    • MechDR on GitHub
    • Macedonian electronics forum
Re: Unit tests
« Reply #3 on: January 14, 2019, 06:31:14 PM »
System Restore ???.

(LOL :D)
"This is really a generic concept about human thinking - when faced with large tasks we're naturally inclined to try to break them down into a bunch of smaller tasks that together make up the whole."

"A 500 error loosely translates to the webserver saying, "WTF?"..."