[Relato] Os testes atrasaram meu projeto /s

/s é uma gíria da web pra dizer que aquela frase contém sarcasmo 😆 Quem me segue nas redes sociais ou por aqui sabe que eu sou um entusiasta de testes automatizados e teste de software program no geral (não confundir com TDD). Esse artigo é um relato da decisão que fizemos no closing de […]

Debugging Vue Jest tests in a browser

Utilizing Jest-Preview with Vue-CLI. npm set up –save-dev @testing-library/vue concurrently jest-preview wait-on npm uninstall @vue/test-utils In jest.config.js add: remodel: vue)$)’: ‘jest-preview/transforms/file’ In exams/unit/setup.js import any world CSS like so: import ‘../../public/world.css’; import ‘bootstrap/dist/bootstrap.min.css’; In exams/unit/setup.js add this: import { jestPreviewConfigure } from ‘jest-preview’; jestPreviewConfigure({ autoPreview: true });` In exams, change: from: import { shallowMount } […]

When not to refactor. Dealing with legacy systems as a responsible professional

What may be higher than driving to Cambridge to see a college buddy? Similar factor, however listening to the “Fireplace Chat #37: Coping with the most typical issues in legacy techniques” audio podcast from @Codurance, by José E. Rodríguez, Sandro Mancuso and Mashooq Badar. Most of all I appreciated an thought of not being too […]