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
Att testa dina SiteVision-portlets
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Sven Dahlstrand
May 11, 2011
Programming
150
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Att testa dina SiteVision-portlets
Kom igång med automatiska tester i dina SiteVision-portlets.
Sven Dahlstrand
May 11, 2011
More Decks by Sven Dahlstrand
See All by Sven Dahlstrand
Ett smörgåsbord av smarta verktyg
svendahlstrand
0
910
Smarta lösningar i SiteVision
svendahlstrand
0
72
46elks
svendahlstrand
0
170
Internet of Things
svendahlstrand
2
120
Responsiv webbdesign
svendahlstrand
1
59
Less is more
svendahlstrand
3
370
Internet of Things
svendahlstrand
1
190
Other Decks in Programming
See All in Programming
Next.js: The final boss of Web Performance
guaca
0
400
Apple Intelligenceとオンデバイス時代の到来
yahir0
0
240
AI時代のIaC入門 〜なぜインフラをコードで管理したいのか?〜 / Introduction to IaC in the AI Era
akihisaikeda
6
1.5k
React Native経験者が Flutterを30⽇間触って驚いたこと
3saito
0
170
Snowflake Openflow Connector利用の勘所 / 20261024developersio2026tokyo-snowflake-openflow
kasacchiful
PRO
0
320
Python Lambdaにおけるテストしやすい設計とAI支援の活用 / Designing Testable Python Lambda Functions with AI
kitano_yuichi
1
310
あなたの await、OS まで届いてる? strace で覗く JavaScript の非同期
hasutosasaki
1
2.3k
学びを記事・スライド・Xへ高速展開する― AI-assisted Learning Loopで回すコンテンツ生成術
ochtum
0
200
Vue.jsで作る空間解析アプリとCapacitorプラグインのData Bridge
hal_spidernight
1
170
AIが実装を担う時代の「技術設計」と「チームマネジメント」
kamina_zzz
2
250
Getting Started with Vibe Coding
miccheng
0
200
Optunaを作ったときにやりたかったこと、その後 (2026/10/16, Optuna Meetup #3)
iwiwi
4
1.5k
Featured
See All Featured
How to Think Like a Performance Engineer
csswizardry
28
2.9k
Digital Ethics as a Driver of Design Innovation
axbom
PRO
2
520
Claude Code のすすめ
schroneko
67
230k
Designing Powerful Visuals for Engaging Learning
tmiket
1
650
A Tale of Four Properties
chriscoyier
163
24k
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
1k
How to Grow Your eCommerce with AI & Automation
katarinadahlin
PRO
2
350
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
25
2.2k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.9k
Optimising Largest Contentful Paint
csswizardry
37
4k
First, design no harm
axbom
PRO
2
1.4k
How to build a perfect <img>
jonoalderson
1
6.2k
Transcript
Att testa dina SiteVision-portlets Kom igång med automatiska tester
None
None
Exempel Booli-modul Vad och varför?
Du testar redan! Men kanske inte automatiskt?
Vad vinner du med enhetstester? Dokumentation Trygghet Färre buggar
Enhetstester • Lätt att komma igång • Testar en isolerad
del av koden • Gör koden det du förväntar dig?
public class Math { static public int add(int a, int
b) { return a + b; } } public class TestMath { @Test public void shouldAddAndReturnSum() { int sum = Math.add(2, 3); assertEquals(5, sum); } } Ett exem pel
Testdriven utveckling
Demonstration
Booli-modulen
Demonstration
Hur kommer du igång? https://github.com/svendahlstrand/sitevision-booli
• Du testar redan! • Trygghet, dokumentation, färre återkommande buggar
• Viktigast är att du testar
Sven Dahlstrand @svendahlstrand http://svendahlstrand.se