Upload
dyego-costa
View
597
Download
0
Embed Size (px)
Citation preview
Manifesto da nova web
Menos C#/Ruby/Java/Python, mais Javascript
Menos arrastar e soltar, mais HTML codificado à mão
Menos poluição no HTML, mais CSS
Menos uso do HTML para design, mais foco na
semântica
Mais Javascript, mais opções de Javascript
Ferramentas
github.com/pivotal/jasminegithub.com/jquery/qunit
github.com/nkallen/screw-unit
github.com/wycats/jspec
github.com/pivotal/jsunit
• toBe(jQuerySelector)• toBeChecked()• toBeEmpty()• toBeHidden()• toHaveCss(css)• toBeSelected()• toBeVisible()• toContain(jQuerySelector)• toHaveAttr(attributeName, attributeValue)• toHaveProp(propertyName, propertyValue)• toHaveBeenTriggeredOn(selector)
• toHaveBeenTriggered()• toHaveBeenPreventedOn(selector)• toHaveBeenPrevented()• toHaveClass(className)• toHaveData(key, value)• toHaveHtml(string)• toContainHtml(string)• toHaveId(id)• toHaveText(string)• toHaveValue(value)• toBeDisabled()• toBeFocused()• toHandle(eventName)• toHandleWith(eventName, eventHandler)