Hi there 👋
I am María Morales, Front-End #Engineer from #CanaryIslands , Spain.
I am a Higher Technician in Development of #Web Applications, but I am also Graduated in #SpanishPhilology , specialized in Contemporary #Literature .
★ Languages and tools
#HTML #CSS #JavaScript #Vue #React #SASS #TypeScript #Vite #Vitest #Cypress #Figma #Storybook
★ Also currently learning
#UI/UX #ComputationalLinguistics #SpanishLiterature #English #ModernGreek
#engineer #canaryislands #web #spanishphilology #literature #html #css #javascript #vue #react #sass #typescript #vite #vitest #cypress #figma #storybook #ui #computationallinguistics #spanishliterature #english #moderngreek
This week I have been writing a lot of tests in #PestPHP and #Vitest. It's funny, when Copilot and then ChatGPT first came out I was like, "yes automated automated test writing - nice" But it's usually so meh and so wrong, I find it a waste of time to have to debug its garbage code. Struggles to remember which test framework I'm using from one response to the next - way quicker to just write them myself.
A few people have asked when #Angular is moving forward with #Jest and whether or not we considered #Vitest as an alternative.
So I wrote up a fairly in-depth discussion about some of our thinking around the the current web testing ecosystem and why we opted for Jest over Vitest for the time being.
https://github.com/angular/angular-cli/issues/25217#issuecomment-1581581005
🚀 Nouvelle vidéo dispo ! Apprenez à tester votre application avec Vitest ⚡️
💻 Installation et configuration de Vitest
🧪 Montage et test de composant
🌐 Tester les requêtes HTTP
👨💻 Mocker les données d'API
🔗 Lien de la vidéo : youtu.be/AqOTGi9UVLY
I’ve been #coding for over 10 years. I’m just now really trying to leverage #testing tools (#vitest ). Refactoring is so much easier on my #vue #vuejs projects when I’ve written a test. My latest job has me working with point-of-sale #software. I believe I have an #ethical responsibility to keep mission-critical aspects of the system fully operational. It would be unethical for me not to improve my testing skills.
#Coding #testing #vitest #vue #vuejs #software #ethical
And while I'm at it: I want to stop using Jest. I just feels like you build your app for a third platform.
1. Local env
2. Deployed env
2. Jest
I tried to update dependencies on a older project. After getting it running on local and deployed env I let the test run.
More than have the tests were red. :blobcatgoogly:
After downgrading dependencies and making multiple changes to the Jest configuration I don't want to work with Jest anymore.
I'm looking in to vitest now.
So I've been doing a bit of research into #web #UnitTesting #tooling (#Jest, #Vitest, #Jasmine, #Karma, #WebTestRunner, ...).
I'm curious if there's any interest in a blog post on some of my takeaways about aspects like:
* Test runners vs test frameworks.
* Browser-based runners vs Node-based runners.
* Changes in the ecosystem.
* Future directions of JS unit testing.
* ...
#web #UnitTesting #tooling #jest #vitest #jasmine #Karma #webtestrunner
However, the section will gain the "region" role when you use an aria-labelledby property even if you misspell the id.
Would a screen reader see it that way, or is that a peculiarity of #vitest or testing-library/jest-dom?
I'd call it a bug, but who would be responsible for fixing it?
📢 Vitest is the neatest! 🎉 Using the @vitest UI you can see a visual representation of the module & test dependency graph!
We just love what Vitest does for testing w/ @vite so fast & interactive! #vitest #vitejs #javascript #typescript #tdd https://vitest.dev
#vitest #vitejs #javascript #typescript #tdd
📢 Vitest is the neatest! 🎉 Using the @vitest UI you can see a visual representation of the module & test dependency graph!
We just love what Vitest does for testing w/ @vite so fast & interactive! #vitest #vitejs #javascript #typescript #tdd https://vitest.dev
#vitest #vitejs #javascript #typescript #tdd
📢 Vitest is the neatest! 🎉 Using the @vitest UI you can see a visual representation of the module & test dependency graph!
We just love what Vitest does for testing w/ @vite so fast & interactive! #vitest #vitejs #javascript #typescript #tdd https://vitest.dev
#vitest #vitejs #javascript #typescript #tdd
@nystudio107 bookmarking this! I’m looking to improve my TDD skills, and I’m using #VueJS #Vite and #Vitest already.
For anyone who is interested in a self-contained simple demo of test driven development (TDD) of code & components with Vitest: #vuejs #vitejs #vitest #tdd #typescript https://github.com/nystudio107/charcuterie-vue-vitest
#vuejs #vitejs #vitest #tdd #typescript
@kpopncommunism I just started using #Vitest, I should follow along for a possible answer as well. ☺️
the vitest mocking page actually has a lot of the information I'm looking for. So, both the ability to mock individual components, and also to set up a mock server using Mock Service Worker that gives the correct responses.