Advertisement:

Author Topic: Unit tests  (Read 1645 times)

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 70,939
    • StoryBB/StoryBB on GitHub
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)
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline landyvlad

  • Sr. Member
  • ****
  • Posts: 845
  • 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."

No hack nor blackhats, just persistent asshats.

Offline Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 58,063
  • 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.

Offline GigaWatt

  • The Smiley Guy
  • Support Specialist
  • SMF Hero
  • *
  • Posts: 1,946
  • Gender: Male
    • 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?"..."