yasu00000  id:yasu00000  



23,444    

-    

-    









2ch  (32)  

3d  (124)  

3dprinting  (39)  

Stack-design  (235)  

Stack-parenting  (276)  

Stack-useitlator  (27)  

abtest  (19)  

actionscript  (33)  

ad(22)  

admin  (33)  

adobe  (26)  

advertising  (37)  

aggregator  (25)  

ai(24)  

airbnb  (59)  

ajax  (267)  

algorithm  (34)  

algorithms  (19)  

amazon  (82)  

analytics  (166)  

android  (105)  

angular.js  (139)  

animation  (245)  

anonymous  (28)  

apache  (38)  

api  (303)  

app  (848)  

apple  (107)  

application  (25)  

apps  (140)  

architecture  (31)  

art  (163)  

artist  (25)  

as3  (36)  

audio  (65)  

authentication  (43)  

autocomplete  (26)  

aws  (48)  

b2b  (24)  

baas  (19)  

baby  (65)  

background  (39)  

backup  (21)  

bigdata  (52)  

bitcoin  (62)  

blog  (177)  

blogging  (20)  

book  (69)  

booking  (22)  

books  (74)  

bootstrap  (211)  

browser  (103)  

brushes  (22)  

build  (19)  

builder  (25)  

business  (329)  

button  (57)  

cache  (19)  

cakephp  (50)  

calendar  (73)  

camera  (44)  

canvas  (54)  

car  (39)  

card  (21)  

career  (28)  

chart  (58)  

charts  (60)  

chat  (140)  

cheatsheet  (32)  

children  (20)  

chrome  (40)  

ci(30)  

clothing  (23)  

cloud  (161)  

cms  (113)  

cocoa  (35)  

code  (128)  

coding  (60)  

coffee  (44)  

collaboration  (160)  

color  (77)  

column  (41)  

communication  (42)  

community  (150)  

company  (39)  

cooking  (26)  

cool  (44)  

crm  (41)  

crowdfunding  (147)  

crowdsourcing  (86)  

css  (669)  

css3  (135)  

culture  (30)  

curation  (69)  

customer  (19)  

customersupport  (29)  

dashboard  (31)  

data  (97)  

database  (127)  

dating  (37)  

debug  (27)  

delivery  (51)  

design  (1042)  

desktop  (30)  

developer  (20)  

development  (308)  

device  (47)  

devops  (26)  

distributed  (29)  

diy  (33)  

docker  (55)  

document  (43)  

documentation  (39)  

domain  (22)  

download  (21)  

drawing  (22)  

dropbox  (25)  

dropdown  (27)  

ebook  (54)  

ebooks  (21)  

ec(145)  

ecommerce  (22)  

editor  (121)  

edtech  (44)  

education  (163)  

effect  (46)  

elearning  (25)  

emacs  (39)  

email  (144)  

engine  (22)  

english  (67)  

entrepreneurship  (28)  

event  (83)  

events  (38)  

extension  (26)  

facebook  (107)  

family  (52)  

fashion  (83)  

file  (19)  

filesharing  (21)  

filter  (20)  

finance  (66)  

firefox  (32)  

fitness  (25)  

flash  (256)  

flat  (34)  

flatdesign  (35)  

flux  (22)  

font  (159)  

fonts  (76)  

food  (65)  

form  (93)  

forms  (32)  

framework  (436)  

free  (469)  

freelance  (42)  

freeware  (19)  

from twitter  (316)  

fullscreen  (29)  

fun  (74)  

funding  (20)  

funny  (47)  

gadget  (44)  

gallery  (168)  

game  (253)  

games  (74)  

generator  (187)  

gif  (39)  

git  (90)  

github  (123)  

gmail  (20)  

golang  (99)  

google  (357)  

googlemaps  (46)  

graph  (81)  

graphic  (27)  

graphics  (127)  

grid  (80)  

guide  (23)  

hadoop  (19)  

handmade  (21)  

hardware  (23)  

haskell  (25)  

hatena  (27)  

health  (80)  

healthcare  (38)  

hiring  (42)  

history  (48)  

home  (32)  

hosting  (50)  

howto  (88)  

html  (101)  

html5  (328)  

http  (42)  

humor  (35)  

icon  (217)  

icons  (124)  

ide  (35)  

idea  (75)  

ideas  (25)  

ie(27)  

illustration  (71)  

illustrator  (80)  

image  (174)  

images  (88)  

infographics  (22)  

inspiration  (334)  

instagram  (33)  

interactive  (49)  

interesting  (24)  

interface  (65)  

internet  (72)  

interview  (42)  

investing  (25)  

ios  (484)  

ios7  (19)  

iot  (68)  

ipad  (51)  

iphone  (351)  

ipod  (27)  

japan  (220)  

japanese  (103)  

java  (60)  

javascript  (1567)  

job  (56)  

jobs  (71)  

jquery  (1037)  

json  (66)  

keyboard  (42)  

kickstarter  (25)  

kids  (159)  

language  (94)  

layout  (52)  

learning  (168)  

library  (170)  

life  (76)  

lifehack  (56)  

lifehacks  (53)  

lightbox  (36)  

linux  (66)  

lisp  (24)  

list  (78)  

loading  (29)  

local  (65)  

location  (32)  

logo  (52)  

mac  (167)  

machinelearning  (27)  

macosx  (24)  

magazine  (22)  

mail  (31)  

maker  (24)  

management  (109)  

map  (129)  

maps  (68)  

markdown  (62)  

market  (20)  

marketing  (167)  

marketplace  (38)  

mashup  (32)  

matching  (27)  

material  (23)  

materialdesign  (42)  

math  (38)  

media  (89)  

medical  (36)  

memo  (20)  

menu  (87)  

message  (19)  

messaging  (51)  

microsoft  (30)  

mobile  (414)  

mockup  (69)  

modal  (21)  

money  (53)  

monitoring  (92)  

mootools  (25)  

movie  (110)  

movies  (19)  

music  (259)  

mysql  (66)  

navigation  (133)  

neta  (172)  

network  (43)  

news  (152)  

newsletter  (36)  

node js  (119)  

node.js  (151)  

nodejs  (29)  

notification  (39)  

nyc  (27)  

oauth  (49)  

objective c  (32)  

objective-c  (24)  

office  (42)  

online  (118)  

openid  (32)  

opensource  (212)  

os(28)  

oss  (240)  

osx  (127)  

p2p  (40)  

parallax  (74)  

pattern  (29)  

patterns  (47)  

payment  (59)  

pdf  (34)  

people  (19)  

performance  (98)  

perl  (44)  

personal  (21)  

photo  (265)  

photography  (133)  

photos  (121)  

photoshop  (273)  

php  (459)  

physics  (41)  

pictures  (33)  

pinterest  (21)  

platform  (19)  

player  (29)  

plugin  (173)  

plugins  (90)  

podcast  (25)  

politics  (51)  

portal  (38)  

portfolio  (182)  

presentation  (110)  

print  (46)  

processing  (24)  

product  (26)  

producthunt  (24)  

productivity  (69)  

programming  (650)  

progressbar  (22)  

project  (35)  

projectmanagement  (51)  

prototype  (59)  

prototyping  (26)  

psd  (44)  

python  (130)  

qa(19)  

radio  (25)  

rails  (102)  

ranking  (22)  

react  (67)  

react.js  (58)  

reactive  (24)  

realestate  (44)  

realtime  (44)  

recruit  (59)  

recruiting  (59)  

reference  (258)  

remote  (34)  

rental  (32)  

research  (58)  

resource  (53)  

resources  (343)  

responsive  (281)  

rest  (84)  

restaurants  (30)  

resume  (31)  

review  (48)  

robot  (19)  

rss  (47)  

ruby  (172)  

rubyonrails  (33)  

s3  (40)  

saas  (22)  

sales  (32)  

sass  (30)  

scala  (22)  

scalability  (34)  

science  (79)  

screenshot  (19)  

scroll  (79)  

sdk  (32)  

search  (240)  

searchengine  (48)  

security  (129)  

select  (26)  

seo  (59)  

server  (66)  

service  (92)  

share  (90)  

sharing  (85)  

shop  (37)  

shopping  (103)  

showcase  (70)  

simple  (35)  

singlepage  (29)  

sketch  (48)  

slack  (35)  

slide  (35)  

slider  (110)  

slideshow  (69)  

snippets  (23)  

sns  (93)  

social  (289)  

socialmedia  (77)  

socialnetworking  (43)  

society  (25)  

software  (313)  

sound  (50)  

source  (26)  

space  (30)  

sports  (31)  

sql  (37)  

startup  (328)  

startups  (72)  

statistics  (60)  

stock  (52)  

stockphotos  (55)  

storage  (57)  

streaming  (67)  

study  (38)  

styleguide  (25)  

subscription  (82)  

subversion  (19)  

svg  (96)  

swift  (116)  

symfony  (40)  

table  (56)  

task  (31)  

team  (28)  

tech  (54)  

technology  (89)  

ted  (64)  

template  (139)  

templates  (81)  

terminal  (20)  

test  (80)  

testing  (154)  

text  (62)  

textures  (26)  

theme  (100)  

themes  (40)  

time  (23)  

timeline  (38)  

tips  (351)  

titanium  (44)  

todo  (65)  

tokyo  (30)  

tool  (244)  

tools  (824)  

tooltip  (43)  

toread  (64)  

touch  (30)  

tour  (23)  

tracking  (40)  

translation  (26)  

travel  (175)  

trip  (24)  

tutorial  (519)  

tutorials  (324)  

tv(39)  

twitter  (190)  

type  (26)  

typography  (144)  

ui(314)  

upload  (24)  

usability  (73)  

useful  (33)  

utilities  (28)  

ux(86)  

validation  (39)  

vc(24)  

vector  (92)  

video  (408)  

videos  (31)  

vim  (24)  

visual  (24)  

visualization  (231)  

voice  (24)  

wallpaper  (23)  

wearable  (31)  

web  (812)  

web2 0  (281)  

web2.0  (157)  

webapp  (41)  

webapps  (22)  

webdesign  (1195)  

webdev  (338)  

webdevelopment  (39)  

webgl  (37)  

webrtc  (33)  

webservice  (182)  

webservices  (30)  

website  (103)  

websites  (19)  

websocket  (22)  

wedding  (43)  

widget  (23)  

widgets  (25)  

wifi  (22)  

wiki  (45)  

windows  (62)  

wireframe  (45)  

woman  (24)  

wordpress  (230)  

work  (111)  

world  (19)  

writing  (43)  

wysiwyg  (37)  

xcode  (43)  

xhtml  (39)  

yahoo  (35)  

youtube  (83)  

zoom  (19)  

zootool_imported  (8298)  

 (65)  

 (20)  

zootool_imported  (8298)  

javascript  (1567)  

webdesign  (1195)  

design  (1042)  

jquery  (1037)  

app  (848)  

tools  (824)  

web  (812)  

css  (669)  

programming  (650)  


 


 (10)



oo

pattern  

programming  

software engineering  

tdd  

testing  

tips  

toread  

unittesting  

zootool_imported  


 




writingtestyasu00000 (2)  






WritingTestableCode -   



161 users  

www.hyuki.com  


 


WritingTestableCode -    1:  2:  3:  4:    "Guide: Writing Testable Code"  http://misko.hevery.com/code-reviewers-guide/ : , , , ... TODO:  Flaw  Misko Hevery   Google  
 



yasu00000
yasu00000  2011/08/26  


writing

testing

test

programming

pattern

oo

zootool_imported
 



 














Writing Testable Code  



8 users  

testing.googleblog.com  


 


I don't know how to unit-test the main method! Obviously you have no imagination. You test the same method the same way you test static methods: provide known input, and test that the output is what you expect given the input. Which is exactly the same way you'd test Math.abs() and numerous other static methods. (Which is exactly the way I test C# extension methods, e.g. http://anonsvn.mono-projec
 Writing Testable Code


yasu00000
yasu00000  2011/08/26  


writing

unittesting

toread

software engineering

test

tdd

testing

tips

zootool_imported
 



 














1











202473

   



202472

   



20242-20244

   


 

Twitter



@HatenaBookmark


@hatebu

 









   




 



j

k

l

e

o
 

















 









 

















 









 









 







Pro



 




 






App Storeからダウンロード
Google Playで手に入れよう


Copyright © 2005-2024 Hatena. All Rights Reserved.
 



x