AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Qt creator refactoring plugin11/6/2022 Not only is he using Squish to supplement manual and unit testing, but an ongoing project of his is the use of “fuzz testing.” Fuzz testing, or simply, fuzzing, is a method of software testing in which one inputs massive amounts of random data (or “fuzz”) into a program’s code in an effort to induce program crashes, freezes or memory access issues. Löhning employs a multi-pronged approach in his testing. Using Squish for GUI test automation has proven to be an effective regression detector: the team has reported nearly 200 “found by Squish” issues in their bug tracking system. Now, the team has several dozen Squish tests running continuously through a Jenkins CI server, relieving the burden of repetitive manual testing from Qt Creator’s development team. A list of these tests is available in The Qt Company’s public repository. Some examples of tests the team was able to automate successfully include creating, building and running a project inside Qt Creator, testing for correct code completion, checking that the relevant context-sensitive help appears, and more. Löhning reported that the team began selecting manual tests conducted before each release, and turned them into cross-platform, automated tests with Squish. The team began their journey with Squish by streamlining the testing process of their release candidates. “There are cases where we don’t expect differences between platforms, and we can catch that with Squish.” Squish became the clear option for Qt Creator developers. In other words, it should support library development for functionality that does not come out-of-the-box. And third, the tool should offer the possibility to extend its functionality through scripting. That is, the tool should be able to hook into a production binary rather than needing access to production sources. Second, the tool must allow blackbox GUI testing. First, because Qt Creator is available on Windows, Linux and macOS, it must support cross-platform testing. Löhning, the team had three requirements for a testing tool. “Nothing was testing the tool from the user’s perspective…as a whole.” According to Mr. In 2011, the team began looking into GUI test automation to supplement unit and manual testing already being conducted on Qt Creator. “Squish is the best possible solution for us…we didn’t see any other tool we could’ve chosen instead.” Löhning to talk more about how his team got started with Squish, their current testing workflows and what the future looks like for the team. Löhning became a natural fit for bringing automated testing into Qt Creator’s development efforts. Having, in his own words, “a talent to break things and run into bugs,” Mr. Löhning, a senior software engineer with a decade-long tenure at The Qt Company, oversees the Quality Assurance program of Qt Creator and is involved in QA practices for all of Qt. Qt Creator also accepts contributions from the devoted community of Qt developers, making it a truly evolving, community-led project. It integrates with many popular Version Control Systems, features a Qt device emulator for testing and debugging, offers build and project management support built-in, and much more. Qt Creator’s WYSIWYG advanced code editor allows for coding in multiple languages and includes features you’d expect from today’s IDEs, like code completion, syntax highlighting and code refactoring. Qt Creator is a cross-platform Integrated Development Environment (IDE) which enables developers to create applications on desktop, mobile and embedded platforms rapidly and fluidly. Robert Löhning from The Qt Company to learn more about how his team is bringing high-quality, well-tested products to market through GUI test automation with froglogic’s tools. The Qt Company, known worldwide for its cross-platform software framework, Qt, sat down with froglogic to discuss their use of the Squish GUI Tester to automate GUI tests of one of their premier development and design tools: Qt Creator.
0 Comments
Read More
Leave a Reply. |