We had an amazing turn out of engineers to my Comprehensive Testing with JavaScript Workshop from Sauce Con! We accomplished a number of amazing outcomes. I'll talk about those below. However, a major question that came from this was how to create tests that are more atomic. I'm going to provide my best resources to answer this.
First and foremost, the net profits from the workshop will be used to buy Trees that Empower Women from Ecosia. By my back of the napkin estimations, we will be able to buy and plant at least 1,000 treesππ³ (I will provide final numbers after I have them). Beyond the great environmental impact, we're also providing jobs to women in countries like Kenya, Brazil, and India π (I'm passionate about the environment and equality, so this is important).
Second, we learned a ton of really cool topics such as
β
API testing w/ Cypress
β
how to test a React web app using different types of tests
β
E2E ui tests w/ Cypress
β
visual cross-browser + cross-platform tests
β
CICD with Github Actions
Finally, a major question that came out of the workshop was how to deconstruct large UI tests into smaller atomic tests. This is a great and complicated topic. I'm going to provide my favorite resources to help you get some ideas.
1. Automated Atomic Tests Blog post
This is a blog post that I've worked on for years. It covers
- What is an atomic automated test? (w/ code examples)
- Case studies of atomic tests
- How to break up giant end-to-end UI tests?
- How to manipulate test data for UI automation?
- How To Control App State Using JavaScript? (code and video included)
- How To Coordinate API and UI Interactions In One Test?
- Coordinating API and UI interactions in one test by Titus Fortner
2. Automated Atomic Tests (Definitive Guide)
Since I get this question so often, I tried to create a single source for all the information related to automated atomic tests.
Some topics covered here include
- Code for testing an HTML button
- Testing for valid links
- When is automated atomic testing inappropriate?
3. Building and testing a Github User Search Web App Youtube Tutorial
4. Software testing with java youtube tutorial
This is a Premiere that's coming up where I'll show you how to use Selenium + Java to bypass login authentication using Cookies and JavaScript injection for this web app
I'm not the only one talking about these topics. There are also a few great resources that are focused around programmatic authentication.
5. Auth0 Authentication
6. Amazon Cognito Authentication
7. Okta Authentication
8. Google Authentication
Alright, I hope that this is enough resources to get you started π€£ Atomic testing is a deep and complicated topic. I'm here for you if you got questions.
Reach out to me here, Twitter, or LinkedIn
Top comments (0)