Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
accepting acceptance testing
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
cpow
August 12, 2016
Technology
0
24
accepting acceptance testing
Introduction to acceptance testing with ember-cli and ember-cli-mirage
cpow
August 12, 2016
Tweet
Share
Other Decks in Technology
See All in Technology
広告の効果検証を題材にした因果推論の精度検証について
zozotech
PRO
0
150
20260204_Midosuji_Tech
takuyay0ne
1
140
~Everything as Codeを諦めない~ 後からCDK
mu7889yoon
3
310
MCPでつなぐElasticsearchとLLM - 深夜の障害対応を楽にしたい / Bridging Elasticsearch and LLMs with MCP
sashimimochi
0
150
Embedded SREの終わりを設計する 「なんとなく」から計画的な自立支援へ
sansantech
PRO
3
2.3k
Ruby版 JSXのRuxが気になる
sansantech
PRO
0
140
AIと新時代を切り拓く。これからのSREとメルカリIBISの挑戦
0gm
0
870
SREじゃなかった僕らがenablingを通じて「SRE実践者」になるまでのリアル / SRE Kaigi 2026
aeonpeople
6
2.2k
レガシー共有バッチ基盤への挑戦 - SREドリブンなリアーキテクチャリングの取り組み
tatsukoni
0
210
顧客の言葉を、そのまま信じない勇気
yamatai1212
1
350
StrandsとNeptuneを使ってナレッジグラフを構築する
yakumo
1
100
Introduction to Bill One Development Engineer
sansan33
PRO
0
360
Featured
See All Featured
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
300
Context Engineering - Making Every Token Count
addyosmani
9
650
Highjacked: Video Game Concept Design
rkendrick25
PRO
1
290
Making Projects Easy
brettharned
120
6.6k
Measuring & Analyzing Core Web Vitals
bluesmoon
9
750
The SEO identity crisis: Don't let AI make you average
varn
0
67
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
270
AI Search: Where Are We & What Can We Do About It?
aleyda
0
6.9k
So, you think you're a good person
axbom
PRO
2
1.9k
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
2
240
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
359
30k
Amusing Abliteration
ianozsvald
0
98
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)