Click here to Skip to main content
15,890,897 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Unit Testing... yay or nay? Pin
Nelek20-Apr-24 10:13
protectorNelek20-Apr-24 10:13 
GeneralRe: Unit Testing... yay or nay? Pin
Jeremy Falcon20-Apr-24 10:38
professionalJeremy Falcon20-Apr-24 10:38 
GeneralRe: Unit Testing... yay or nay? Pin
Nelek22-Apr-24 0:17
protectorNelek22-Apr-24 0:17 
GeneralRe: Unit Testing... yay or nay? Pin
Jeremy Falcon22-Apr-24 4:27
professionalJeremy Falcon22-Apr-24 4:27 
GeneralRe: Unit Testing... yay or nay? Pin
Nelek22-Apr-24 8:19
protectorNelek22-Apr-24 8:19 
GeneralRe: Unit Testing... yay or nay? Pin
haughtonomous21-Apr-24 23:02
haughtonomous21-Apr-24 23:02 
GeneralRe: Unit Testing... yay or nay? Pin
Nelek22-Apr-24 0:15
protectorNelek22-Apr-24 0:15 
GeneralRe: Unit Testing... yay or nay? Pin
Jeremy Falcon22-Apr-24 4:36
professionalJeremy Falcon22-Apr-24 4:36 
Nelek wrote:
I have been more or less half my working life programing PLCs and Robots, you couldn't program tests like this in them, additionally every few projects (timeslot between a couple of weeks and some months) there were something new that I needed to learn quick to make the project, so I never cared to go out of scope with my time as I already had enough new staff to keep me busy / happy. That's why I got used to test in other ways, and believe me, I can be really nitpicky while testing.
Keep in mind, I don't know PLC programming, so there's a chance I'm talking out of my arse here... but would it be possible to at least treat the parts that interact with the hardware like a UI layer of sorts? If so, you can still test a logic layer irrespective of it's IO, etc.
Nelek wrote:
I didn't feel like needing them that much.
Can't blame ya man. I felt that way too for years. Didn't realize at the time though it's only because I've ever seen lousy tests written prior to that. It's more the fault of the dev though IMO. Like lousy tests are a waste of time that accomplish nothing. Good ones.. are... well... good. Laugh | :laugh:
Nelek wrote:
Will I learn it after a bad situation? very probably.
That's what it took for me. Laugh | :laugh: Laugh | :laugh: Laugh | :laugh:
Jeremy Falcon

GeneralRe: Unit Testing... yay or nay? Pin
Nelek22-Apr-24 8:17
protectorNelek22-Apr-24 8:17 
GeneralRe: Unit Testing... yay or nay? Pin
Jeremy Falcon22-Apr-24 12:13
professionalJeremy Falcon22-Apr-24 12:13 
AnswerRe: Unit Testing... yay or nay? Pin
Greg Utas20-Apr-24 8:54
professionalGreg Utas20-Apr-24 8:54 
GeneralRe: Unit Testing... yay or nay? Pin
Jeremy Falcon20-Apr-24 9:18
professionalJeremy Falcon20-Apr-24 9:18 
GeneralRe: Unit Testing... yay or nay? Pin
Greg Utas20-Apr-24 9:25
professionalGreg Utas20-Apr-24 9:25 
GeneralRe: Unit Testing... yay or nay? Pin
Nelek20-Apr-24 10:16
protectorNelek20-Apr-24 10:16 
GeneralRe: Unit Testing... yay or nay? Pin
Jeremy Falcon20-Apr-24 10:37
professionalJeremy Falcon20-Apr-24 10:37 
GeneralRe: Unit Testing... yay or nay? Pin
Greg Utas20-Apr-24 10:41
professionalGreg Utas20-Apr-24 10:41 
GeneralRe: Unit Testing... yay or nay? Pin
Jeremy Falcon21-Apr-24 4:54
professionalJeremy Falcon21-Apr-24 4:54 
GeneralRe: Unit Testing... yay or nay? Pin
Greg Utas21-Apr-24 5:32
professionalGreg Utas21-Apr-24 5:32 
GeneralRe: Unit Testing... yay or nay? Pin
Jeremy Falcon21-Apr-24 16:24
professionalJeremy Falcon21-Apr-24 16:24 
GeneralRe: Unit Testing... yay or nay? Pin
haughtonomous21-Apr-24 23:07
haughtonomous21-Apr-24 23:07 
GeneralRe: Unit Testing... yay or nay? Pin
Jeremy Falcon22-Apr-24 4:24
professionalJeremy Falcon22-Apr-24 4:24 
GeneralRe: Unit Testing... yay or nay? Pin
Jeremy Falcon20-Apr-24 9:19
professionalJeremy Falcon20-Apr-24 9:19 
AnswerRe: Unit Testing... yay or nay? Pin
Daniel Pfeffer20-Apr-24 10:25
professionalDaniel Pfeffer20-Apr-24 10:25 
GeneralRe: Unit Testing... yay or nay? Pin
Jeremy Falcon20-Apr-24 10:34
professionalJeremy Falcon20-Apr-24 10:34 
GeneralRe: Unit Testing... yay or nay? Pin
Daniel Pfeffer20-Apr-24 15:15
professionalDaniel Pfeffer20-Apr-24 15:15 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.