Skill Level Intermediate
- Hi there, I'm Mike Smith and in this series, we look at the hidden tips of software testing, the types of tips that you don't learn in textbooks or certifications but can greatly help your own experience. Performing an audit on our website can be a time-consuming and technical task to find out if the website adheres to best practices or if it's suitable for accessibility. This can all take quite a long time. Fortunately, Google Lighthouse can offer you some insight in regards to your website or application's performance in these areas without having to get standalone software and specialist technicians to look at it. That's not to say that using something like Google Lighthouse is a replacement for standalone performance and accessibility testing but it is a great tool to offer more information in these areas. Originally created as a standalone application, Google Lighthouse has now recently been integrated into the Google Chrome Developer Toolkit. Accessing it is as simple as going to the Options menu in Google Chrome, going to More Tools, Developer Tools and then making sure we're on the Audit tab. Running a new audit gives you several different options. You can choose whether or not to run an audit against a desktop or mobile environment. You can choose to audit against performance, progressive web standards, best practices, accessibility and even SEO. Lighthouse also lets you throttle the connection speed of your requests so that you can simulate a bad network connection or for example, spotty mobile data coverage. Running the actual audit can take some time. Once the audit has finished, you will get a nice breakdown of the different areas you audited and a nicely colored numbering system from zero to 100. The different areas of the audit report also give you metrics on the different aspects you asked to be audited. The report even goes as far as offering diagnostics to tackle some of the more complicated areas and also opportunities for optimizations to help speed up and improve website and application performance. The whole report can also be easily downloaded so that you can share this with your team. It's important that you understand what's in the report before attaching it to your bugs. This report should be seen as the start of a conversation with your development team so that you can all better understand why the scores on your audit are the way they are. But all in all, this audit will give your whole team more information which is always a good thing. Thanks for joining me for this episode. Make sure to tune in next time for some more software testing tips.