Matheus Marabesi website, sharing ideas about software development - Listing posts on page 2

A Deep Dive into Vue.js Composition API: My Personal Handbook

This is a collection for mypersonal notes for Vue 3 Composition AI course from VueSchool.io, there is an attempt to collect the most important bits from the course and mix it together with another known sources to help getting the hands on the composition API.

The lack of leadership and the focus on process in an agile environment

Recently listening to the podcast Agile for humans that I often listen to, as I like to understand different aspects of software development. In both hosts have a series in which they answer questions from the audience, usually the episodes are fast and to the point, without much details or talking through the subject. The episode “YDS - Should the Scrum Events Be Entertaining?” was a mix of bouncing ideas (in the short time both of them had) and trying to focus on an outcome for the audience and the conclusion was a straight - they should be effective. In...

Is there a testable architecture?

As I navigate towards other approaches of testing software, I see that there are some arguments in favor of testability. For example, cucumber names ports and adapter as a testable architecture. In the fourth edition of the book software architecture in practice the chapter 12 dedicated to tstability elaborates on what might be a testable architecture and list its attributes rather than name a single architectural style. The importance of listing attributes depicts a broader picture which leads to other architectures also being labeled as “testable” besides the ports and adapters.

Navigating Challenging Dialogues: A Thoughtful Review of 'Difficult Conversations'

Difficult conversations is a book that anyone at any stage of their life could read, this is not just a book about leadership or management, it goes a step further into the relationships that we have. Relationships that requires difficult conversations, be it with your children, your boss, your parents and even yourself. You should be the most interested in the feelings you might go through when a challenging idea is put in place and when disagreements occur. In that case, what should we do?

Get the Most of Your Testing: Combining Vitest and Testing Library for Maximum Efficiency

Vitest was born from vuejs ecosystem and rapidly started to evolve to other communities, such evolution, led to a friction when migrating or even when trying to make tools to work together. In Jest, the testing library works automatically, not much effort needs to be done. On the other hand, trying to combine, testing library and vitest, might bring some challenges. The aim here is to go step-by-step to configure vite and testing library in an environment that uses typescript.

For Loops in Test Cases or Multiple Assertions?

In this article, we discuss whether to use logic or multiple assertions in tests. For logic, the answer is no, as it can make tests difficult to understand and debug. For multiple assertions, the answer is less clear-cut, with some practitioners arguing that it is acceptable to use multiple assertions if they are testing the same behavior, while others argue that each test should only have one assertion. Ultimately, the best approach depends on the specific context of the test.

Escape velocity, better metrics for agile teams - Review (Lead time, Delivery frequency, Cycle time, Cumulative Flow Diagram, Code quality, Team joy and Forecasting)

As opinionated as it can be Escape velocity gives some insights on metrics that can be used in “agile” (whatever agile means in a given context) teams. From the start a distinction is made from velocity and value. On one hand, the way the author depicts the chasing for speed rather than added value is surrounded by his examples that he might have faced in the real life, while on the other hand, he also makes clear that story points are relative to a given context and that the team can also game this metric (as any other).

jest-clipboard for Clipboard API Testing Success

Copying and pasting things in and out from the browser have been done through a specific command document.execCommand. Therefore, as depicted by Jason Miller and Thomas Steiner, it has an important drawback execCommand is synchronous. This is the reason behind the new clipboard API. It allows developers to create applications that do not block the main thread.