RUVIDEO
Поделитесь видео 🙏

7. Testing Update in our Elixir REST API Project

📁 Обучение 👁️ 19 📅 01.05.2024

In this step-by-step tutorial, we're progressing further, shifting our focus to the next crucial function in our 'accounts.ex' context file - the 'update' function. As discussed, this file is the nucleus for our fundamental CRUD operations - create, read, update, and delete.

In our preceding videos, we've constructed and employed a factory to produce the data required for our tests, a practice we will uphold in today's video. It's important to remember that we always need two forms of data when interacting with database tables - valid and invalid.

As our applications expand, preserving a unified setup data source becomes increasingly vital. This practice streamlines our testing process, and when we need to adjust a schema definition, this single source typically remains the only aspect requiring alteration.

Expanding on our accumulated knowledge, we'll utilize our established factory and the ExMachina library. ExMachina is an exceptional asset that simplifies the generation of test data and associations and melds flawlessly with Ecto.

So, let's dive in and discover how to efficiently test the 'update' function in our context file!

Subscribe now, and we'll walk through a hands-on introduction to Phoenix and Elixir. If you want to learn how to code in Elixir, this Elixir tutorial is the perfect introduction! I will teach you the basics of setting up a RESTful API and programming concepts, so you can start building powerful applications in this beautiful language. Start learning with this Elixir programming tutorial today and see how easy it is to get started and learn Elixir!


✅✅SOLUTION: https://github.com/BackendStuff/real_deal_api/tree/7_TESTING_update




SUPPORT BACKEND STUFF
---------------------------------------------------
🎙🎙Check out my podcast: https://www.hiredgunapps.com/podcast




🆘🆘NEED HELP?? Join the Discord Server: https://discord.gg/HcnjPsWATg


#ElixirRESTAPI #DataCreationTesting #ExMachina

Что делает видео по-настоящему запоминающимся? Наверное, та самая атмосфера, которая заставляет забыть о времени. Когда вы заходите на RUVIDEO, чтобы посмотреть онлайн «7. Testing Update in our Elixir REST API Project», вы рассчитываете на нечто большее, чем просто загрузку плеера. И мы это понимаем. Контент такого уровня заслуживает того, чтобы его смотрели в HD 1080, без дрожания картинки и бесконечного буферизации.

Честно говоря, Rutube сегодня — это кладезь уникальных находок, которые часто теряются в общем шуме. Мы же вытаскиваем на поверхность самое интересное. Будь то динамичный экшн, глубокий разбор темы от любимого автора или просто уютное видео для настроения — всё это доступно здесь бесплатно и без лишних формальностей. Никаких «заполните анкету, чтобы продолжить». Только вы, ваш экран и качественный поток.

Если вас зацепило это видео, не забудьте взглянуть на похожие материалы в блоке справа. Мы откалибровали наши алгоритмы так, чтобы они подбирали контент не просто «по тегам», а по настроению и смыслу. Ведь в конечном итоге, онлайн-кинотеатр — это не склад файлов, а место, где каждый вечер можно найти свою историю. Приятного вам отдыха на RUVIDEO!

Видео взято из открытых источников Rutube. Если вы правообладатель, обратитесь к первоисточнику.