Upgrade to PRO for Only $50/Year—Limited-Time Offer! 🔥
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Att testa dina SiteVision-portlets
Search
Sven Dahlstrand
May 11, 2011
Programming
1
130
Att testa dina SiteVision-portlets
Kom igång med automatiska tester i dina SiteVision-portlets.
Sven Dahlstrand
May 11, 2011
Tweet
Share
More Decks by Sven Dahlstrand
See All by Sven Dahlstrand
Ett smörgåsbord av smarta verktyg
svendahlstrand
0
900
Smarta lösningar i SiteVision
svendahlstrand
0
68
46elks
svendahlstrand
0
160
Internet of Things
svendahlstrand
2
110
Responsiv webbdesign
svendahlstrand
1
55
Less is more
svendahlstrand
3
360
Internet of Things
svendahlstrand
1
180
Other Decks in Programming
See All in Programming
Claude Codeの「Compacting Conversation」を体感50%減! CLAUDE.md + 8 Skills で挑むコンテキスト管理術
kmurahama
1
640
Full-Cycle Reactivity in Angular: SignalStore mit Signal Forms und Resources
manfredsteyer
PRO
0
170
AI時代を生き抜く 新卒エンジニアの生きる道
coconala_engineer
1
430
バックエンドエンジニアによる Amebaブログ K8s 基盤への CronJobの導入・運用経験
sunabig
0
170
tparseでgo testの出力を見やすくする
utgwkk
2
290
re:Invent 2025 トレンドからみる製品開発への AI Agent 活用
yoskoh
0
430
Findy AI+の開発、運用におけるMCP活用事例
starfish719
0
1.8k
AI Agent Dojo #4: watsonx Orchestrate ADK体験
oniak3ibm
PRO
0
110
The Art of Re-Architecture - Droidcon India 2025
siddroid
0
130
DevFest Android in Korea 2025 - 개발자 커뮤니티를 통해 얻는 가치
wisemuji
0
170
gunshi
kazupon
1
120
AIエージェントの設計で注意するべきポイント6選
har1101
5
2.4k
Featured
See All Featured
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
7.9k
30 Presentation Tips
portentint
PRO
1
170
Producing Creativity
orderedlist
PRO
348
40k
AI Search: Where Are We & What Can We Do About It?
aleyda
0
6.7k
Navigating Team Friction
lara
191
16k
Designing Powerful Visuals for Engaging Learning
tmiket
0
190
How to Build an AI Search Optimization Roadmap - Criteria and Steps to Take #SEOIRL
aleyda
1
1.8k
Utilizing Notion as your number one productivity tool
mfonobong
2
190
Exploring anti-patterns in Rails
aemeredith
2
210
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.6k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
61k
Visualization
eitanlees
150
16k
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