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
Testando seu código C# com F#
Search
Rodrigo Vidal
October 23, 2014
Programming
53
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Testando seu código C# com F#
Talk no DNA Rio de Janeiro dia 21/10/2014
Rodrigo Vidal
October 23, 2014
More Decks by Rodrigo Vidal
See All by Rodrigo Vidal
Count x Count() x Any()
rodrigovidal
0
51
Programação Reativa
rodrigovidal
0
41
Other Decks in Programming
See All in Programming
Verilogで学ぶCPU自作入門
uyuki234
8
4.1k
The Rails Doctrine Decade
koic
2
590
Vue Fes Japan の “作る側”に関わってみて
naokihaba
0
160
月間100万人のサービス刷新で、 技術選定をHonoに振り切った話
yutobara
8
6.6k
Herb in Rails 8.2: Your ERB views, now HTML-aware @ Kaigi on Rails 2026, Tokyo, Japan
marcoroth
2
220
すこし踏み込む CancellationToken
htkym
2
1.7k
気持ちぃ〜角丸 Squircle
ryu1013
0
310
contenteditable と日本語入力に向き合う
colorful12
0
200
コードレビューのボトルネックを"する側"と"される側"の両面から解消する
yub0n
2
1.6k
JIS keyboard support in Omarchy
lef237
0
110
phperだってパンチカードでコーディングしたい
o0h
PRO
0
330
dotNET_vulnclicker_intro.pdf
deka_morita
0
140
Featured
See All Featured
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
287
14k
Why You Should Never Use an ORM
jnunemaker
PRO
61
10k
Designing Experiences People Love
moore
143
24k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.9k
Music & Morning Musume
bryan
48
7.4k
Tips & Tricks on How to Get Your First Job In Tech
honzajavorek
1
800
Embracing the Ebb and Flow
colly
88
5.2k
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
260
Reality Check: Gamification 10 Years Later
codingconduct
0
2.3k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
25
2.1k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
360
31k
HDC tutorial
michielstock
2
960
Transcript
Testando seu projeto C# com F# Rodrigo Vidal F# Developer
@ VTEX Twitter & Github: @rodrigovidal
O que vamos usar? •F# •NUnit •Unquote (code.google.com/unquote) •Foq (github.com/fsprojects/Foq)
O seu teste se parece com isso? public class AccountControllerTests
{ [Test] public void When2IsAddedTo2Expect4() { Assert.AreEqual(4, 2 + 2); } }
Ou com isso? public class Account_ControllerTests { [Test] public void
When_2_Is_Added_To2_Expect_4() { Assert.AreEqual(4, 2 + 2); } }
F# + NUnit
F# + Unquote
Mocks: F# + Foq
F# + Record Types
F# + Object Expressions
F# + High Order Functions
Obrigado!