Lawrence_elixir
@dcaixinha - Software Engineer, author and Meetup co-organiser
A Whirlwind Tour of Testing in Elixir
Talk in three words: Write maintainable tests.
Abstract
Tests are an integral part of any application. They are a safety net to refactor applications and also great living documentation. Beginning with unit tests, we’ll see how to write thorough but also maintainable tests, and how the key to do so is to focus on the message-passing. Moving up the pyramid, we will then go through end-to-end tests, but also component and contract tests. These last two are becoming increasingly important, since it’s hard to maintain end-to-end tests in microservice architectures.
Objectives
The objectives of this talk are three-fold:
- discuss some best practices for testing Elixir applications;
- show how to create unit tests that are descriptive and maintainable, while also avoiding redundant coverage;
- explore service-level and end-to-end tests, and demonstrate how the former helps in the maintainability of the latter.
Audience
This talk should appeal to anyone writing Elixir applications, regardless of the domain. Testing is a cross-cutting concern, and the principles discussed in this talk will apply to pretty much all areas of development, whether it’s a web application or an embedded system.
Read the full abstract:
The speaker
Daniel Caixinha is a software engineer at Onfido, where he is using Elixir to build resilient systems that can handle the high growth of the business. After graduating from Instituto Superior Técnico, he joined the startup world, mainly using Ruby, but he also got the chance to play around with Elixir. Upon joining Onfido, he got the chance to take Elixir more seriously, which made him fall in love with functional programming in general, and Elixir in particular. Besides building Elixir applications, he is fostering the use of Elixir, and being a co-organiser of the Lisbon Elixir meetup.
All will be added to the ElixirConf EU 2019 Talks List or via the #elixirConfEU2019 tag.
Trending in Talks
Other Trending Topics
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #blog-post
- #phoenix_html
- #iex
- #graphql
- #ai
- #genstage
- #elixirconf-us
- #websockets
- #supervisor
- #advent-of-code
- #distillery
- #processes
- #api
- #forms
- #metaprogramming
- #security
- #hex










Showing Posts 1 to 2- Show Best Posts
- Show All Posts (oldest first)
- Show All Posts (newest first)
Fl4m3Ph03n1x
What an interesting talk!
And I think he may even be Portuguese (orly?) !!
I have so many questions:
Really wish I could have a talk with him. Also, really wish I could have a calendar for the next events, he did mention they occur monthly iirc.
dcaixinha
Hey @Fl4m3Ph03n1x, sorry for taking so long to respond, somehow I didn’t get notified for this thread. Yes I’m indeed Português
Trying to answer your questions:
I’d be happy to discuss this in person
you can find the meetup page here, and our next edition was just announced, which is happening two weeks from now.