ESLint Plugin for UI Tests
By applying linting (static code analysis) tools to test code, preferably the same tools as for application code, tests can be improved which can eventually lead to better maintainability, readability and more robust tests, without even running them!
As many may have experienced, test code does not get treated with the high coding standards as application code does because, as many people tend to say, “It’s just for testing”. But as testing is a critical part of the SDLC, why not?
In this talk, Kwo will demo his new ESLint UI testing plugin (https://www.npmjs.com/package/eslint-plugin-ui-testing) going through the linting rules with hands-on examples. This plugin supports popular automation tools: WebdriverIO, Cypress, TestCafe, Puppeteer and Playwright. Kwo will also deep dive into how to create your own custom linting rules.
Key Takeaways:
- Rapid feedback on test code
- Improve robustness of tests
- Improve tests as part of CI/CD pipeline
- Instant feedback on reliable locators and/or locator strategies
- Speakers
- Kwo Ding, Test Automation Consultant / Architect, Ding IT