Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
 
  • Locked thread
DONT THREAD ON ME
Oct 1, 2002

by Nyc_Tattoo


Floss Finder

the only kind of testing that can actually be approached in a manageable way is unit testing. in order to achieve this, a unit test is so narrowly defined that it's useless.

when i'm writing code, i want to test that my codes assumptions about the overall state of the program is correct. that's the unknown. i know what my code does, so why test it? what i want to be testing is how my code interacts with other code.

well, guess what, that's impossible.

Adbot
ADBOT LOVES YOU

Elder Postsman
Aug 30, 2000


i used hot bot to search for "teens"



hmm. what if it was possible though.

DONT THREAD ON ME
Oct 1, 2002

by Nyc_Tattoo


Floss Finder

Elder Postsman posted:

hmm. what if it was possible though.

it is its called QA

Asymmetric POSTer
Aug 17, 2005



lol if your users are not your testers

DONT THREAD ON ME
Oct 1, 2002

by Nyc_Tattoo


Floss Finder

mishaq posted:

lol if your users are not your testers

lol if your code doesnt test your users

CISADMIN PRIVILEGE
Aug 15, 2004

optimized multichannel
campaigns to drive
demand and increase
brand engagement
across web, mobile,
and social touchpoints,
bitch!
:yaycloud::smithcloud:

USSMICHELLEBACHMAN posted:

lol if your code doesnt test your users

theadder
Dec 29, 2011




i dont write or test any code op

i live a blessed existence

Elder Postsman
Aug 30, 2000


i used hot bot to search for "teens"



USSMICHELLEBACHMAN posted:

it is its called QA

oh. that's what i do now. maybe i should know this stuff. idk.

pram
Jun 10, 2001


is ur code not passing wercker op

The Management
Jan 2, 2010

sup, bitch?


my bugs generally end up in two buckets, they either blow up immediately or are too subtle to be caught by any test.

Mr. Glass
May 1, 2009


have you considered using strong typing

rotor
Jun 11, 2001

the old man
and the c


write a test, do a shot

N.Z.'s Champion
Jun 8, 2003

what's hara kiri?


Yam Slacker

lol if your not logging window.onerror to server

N.Z.'s Champion
Jun 8, 2003

what's hara kiri?


Yam Slacker

oh poo poo im a webdev :(

cowboy beepboop
Feb 24, 2001




testing is wonderful

MORE CURLY FRIES
Apr 8, 2004



lmao if youre not writing code to bubble exceptions into other peoples code so you dont have to bugfix anything

Sweevo
Nov 8, 2007

i sometimes throw cables away

i mean straight into the bin without spending 10+ years in the box of might-come-in-handy-someday first

im a fucking monster



its not a bug unless the computer locks up entirely

Poniard
Apr 3, 2011





code coverage numbers show that this 24+ hour test suite covers like 20% of everything, nice

Pittsburgh Fentanyl Cloud
Apr 7, 2003

deffo the "hot one"


Mr. Glass posted:

have you considered using strong typing

I hit the keys as hard as I can.

ANIME MONSTROSITY
Jun 1, 2012

by XyloJW


i test all of my code, op, however i code for videogames, so its a pleasure

Catalyst-proof
May 11, 2011

better waste some time with you


USSMICHELLEBACHMAN posted:

the only kind of testing that can actually be approached in a manageable way is unit testing. in order to achieve this, a unit test is so narrowly defined that it's useless.

when i'm writing code, i want to test that my codes assumptions about the overall state of the program is correct. that's the unknown. i know what my code does, so why test it? what i want to be testing is how my code interacts with other code.

well, guess what, that's impossible.

lol you're actually a retard, like in the most literal sense

coffeetable
Feb 5, 2006

TELL ME AGAIN HOW GREAT BRITAIN WOULD BE IF IT WAS RULED BY THE MERCILESS JACKBOOT OF PRINCE CHARLES

YES I DO TALK TO PLANTS ACTUALLY


USSMICHELLEBACHMAN posted:

my codes assumptions about the overall state of the program
do you work for toyota

coffeetable
Feb 5, 2006

TELL ME AGAIN HOW GREAT BRITAIN WOULD BE IF IT WAS RULED BY THE MERCILESS JACKBOOT OF PRINCE CHARLES

YES I DO TALK TO PLANTS ACTUALLY


how many mutable static fields you got there op

Dr. Honked
Jan 9, 2011

toilet duck

i was once involved in a project where somebody was obsessed with unit testing, but got it horribly wrong. according to them, unit testing was vital, but it meant that the entire project had to be based on mvc, because otherwise unit testing couldn't be done. all the code followed the mvc model, down to the lowest level it could. there wasn't just one model, one view, and one controller. every component of everything had a model, a view, and a controller, each in its own source file. imagine, if you will, a button on the screen. each component of that button and everything to do with that button had its own model, view, and controller. almost the worst poo poo that i have ever seen.

i was asked to take a look at the code because i know a bit about flash/flex and they had performance problems. my professional opinion was: "lol"

Symbolic Butt
Mar 22, 2009

(_!_)


Buglord

testing is great, shut up and write tests for your code

just don't be a dweeb about it, like talking about tdd, testing framework designs or some poo poo

Dr. Honked
Jan 9, 2011

toilet duck

all types of automated testing loving own

BooLoo
Oct 18, 2010

SLAM TIME


user acceptance testing it the only important testing because it's usually a trigger for payment.

Valeyard
Mar 30, 2012




Grimey Drawer

wish you would test your posts before puitting them into production

<a href="#" onClick="alert("lol");">lol</a>

BooLoo
Oct 18, 2010

SLAM TIME


also, stop being so loving precious, i hate reporting issues in testing when the dev is like a tortured artist about it.

BooLoo
Oct 18, 2010

SLAM TIME


Valeyard posted:

wish you would test your posts before puitting them into production

i throw my posts over the wall at you all and pray

BooLoo
Oct 18, 2010

SLAM TIME


other things i love: when the dev has interpreted the spec so literally it loops back around to being too obscure for the user to understand and actually use

Gazpacho
Jun 18, 2004

by Fluffdaddy


Slippery Tilde

Mr. Glass posted:

have you considered using strong typing
I never really considered it, i just do it reflexively when stuff breaks

Silver Alicorn
Mar 30, 2008

The Game is Never Over


Citizen Tayne posted:

I hit the keys as hard as I can.

Adbot
ADBOT LOVES YOU

FamDav
Mar 29, 2008


Mr. Glass posted:

have you considered using strong typing

i would but i like c++ too much

  • Locked thread