Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
accepting acceptance testing
Search
cpow
August 12, 2016
Technology
27
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
accepting acceptance testing
Introduction to acceptance testing with ember-cli and ember-cli-mirage
cpow
August 12, 2016
Other Decks in Technology
See All in Technology
分析の民主化を支えるメタデータ整備の実践
kakehashi
PRO
4
1.4k
Railsで挑む大量データ永続化 〜600億件を永続化するための設計とボトルネックとの戦い〜
occhi
1
580
AI コーディングと人間の認知スループット / CTO Night & Day 2026 Morning Session / AI Coding and Human Cognitive Throughput
prog893
4
1k
Conditional PED-ANOVA: Hyperparameter Importance in Hierarchical & Dynamic Search Spaces
pfn
PRO
0
130
「事実」を「計測」して、「解釈」する 〜AWS Lambdaのメモリ最適解の見つけ方〜
maimyyym
0
170
実践!Cloud Run ハンズオン!! / Cloud Run handson
y0hgi
2
280
hackers_champloo_2026_tidb
makocchi
0
160
go-sqletch
moznion
0
140
Running Kotlin + Quarkus with Lambda
nealle
1
3.7k
スキマバイトという雇用形態は存在しないので、雇用期間1日のアルバイト契約を事業者とワーカーが結ぶ手続きを支えるのがタイミーなんです
akitoshiga
0
200
1つのリクエストを追って理解する - llm-dのP/D分離
akhino
1
160
Browser Spec: Testing Hotwire with Ruby
takahashim
1
120
Featured
See All Featured
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
480
Six Lessons from altMBA
skipperchong
29
4.5k
Evolving SEO for Evolving Search Engines
ryanjones
0
330
Tips & Tricks on How to Get Your First Job In Tech
honzajavorek
1
800
WCS-LA-2024
lcolladotor
0
890
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.6k
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
460
AI Search: Where Are We & What Can We Do About It?
aleyda
0
8.1k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
6.1k
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
490
Documentation Writing (for coders)
carmenintech
77
5.6k
Principles of Awesome APIs and How to Build Them.
keavy
128
18k
Transcript
Accepting Acceptance Testing Chris Power
Chris Power Deets • @cpowrox Fun Facts • pisces •
soy • birch trees • grass
Discussion Overview of Acceptance testing Ember, and how it handles
Acceptance testing Implement basic acceptance tests for requirement
What is Acceptance testing “acceptance testing is a test conducted
to determine if the requirements of a specification or contract are met”
How does do it? With a suite of different tools
• Ember.Test • Qunit • Ember-cli-mirage
Ember.Test Helpers Synchronous Helpers find(selector, context); currentPath(); currentRouteName(); currentURL(); Asynchronous
Helpers visit(url); fillIn(selector, text); click(selector); Wait Helper andThen();
Example Structure import { test } from 'qunit'; import moduleForAcceptance
from 'application/tests/helpers/module-for-acceptance'; moduleForAcceptance('Acceptance | landing page'); test('User sees landing page before he/she can vote', function(assert) { visit('/vote'); andThen(() => { assert.equal(find(‘.landing’).length(), 1, ‘landing page is currently visible'); }); }); Importing build up / teardown stuff Asynchronous Helper Wait Helper Qunit Assertion Synchronous Helper
Let’s Code an Acceptance Test!
What does Zark want? User to rate a pokemon 1.
they see a landing page 2. after clicking through. they see a pokemon 3. they vote on hot/not and see value updated 4. they try to click again to get another pokemon 5. when they’re out of pokemon, they return home
What have we done? • Proved that our contract /
specification works • A sanity check for all devs/qa • Groundwork for how the application behaves
Thank you! (Please sign your NDAs on the way out)