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
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
890
Smarta lösningar i SiteVision
svendahlstrand
0
65
46elks
svendahlstrand
0
160
Internet of Things
svendahlstrand
2
110
Responsiv webbdesign
svendahlstrand
1
53
Less is more
svendahlstrand
3
350
Internet of Things
svendahlstrand
1
180
Other Decks in Programming
See All in Programming
A2A プロトコルを試してみる
azukiazusa1
2
1.4k
明示と暗黙 ー PHPとGoの インターフェイスの違いを知る
shimabox
2
510
Quand Symfony, ApiPlatform, OpenAI et LangChain s'allient pour exploiter vos PDF : de la théorie à la production…
ahmedbhs123
0
190
脱Riverpod?fqueryで考える、TanStack Queryライクなアーキテクチャの可能性
ostk0069
0
150
Hypervel - A Coroutine Framework for Laravel Artisans
albertcht
1
130
チームのテスト力を総合的に鍛えて品質、スピード、レジリエンスを共立させる/Testing approach that improves quality, speed, and resilience
goyoki
5
890
テストから始めるAgentic Coding 〜Claude Codeと共に行うTDD〜 / Agentic Coding starts with testing
rkaga
12
4.5k
dbt民主化とLLMによる開発ブースト ~ AI Readyな分析サイクルを目指して ~
yoshyum
3
1k
AIエージェントはこう育てる - GitHub Copilot Agentとチームの共進化サイクル
koboriakira
0
590
ペアプロ × 生成AI 現場での実践と課題について / generative-ai-in-pair-programming
codmoninc
2
18k
#kanrk08 / 公開版 PicoRubyとマイコンでの自作トレーニング計測装置を用いたワークアウトの理想と現実
bash0c7
1
770
ふつうの技術スタックでアート作品を作ってみる
akira888
1
860
Featured
See All Featured
Keith and Marios Guide to Fast Websites
keithpitt
411
22k
Typedesign – Prime Four
hannesfritz
42
2.7k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
35
2.4k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
53k
Building Applications with DynamoDB
mza
95
6.5k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
181
54k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
53
2.9k
Designing for humans not robots
tammielis
253
25k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
29
1.8k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
7
740
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
3.9k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
15
1.5k
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