Home / Companies / Cypress / Blog / July 2017

July 2017 Summaries

2 posts from Cypress

Filter
Month: Year:
Post Summaries Back to Blog
The text discusses the importance of providing meaningful and user-friendly error messages in software applications, emphasizing that good error messages are a hallmark of high-quality software. It highlights how Cypress, an end-to-end test runner, focuses on creating detailed error messages for both failed assertions and crashes to aid developers in diagnosing issues efficiently. The text contrasts traditional error messages, which can be vague and user-unfriendly, with better-designed messages that include detailed information about the test failure, such as in the case of using the chai library or Ava test runner for more informative outputs. Furthermore, it explores how server-side and CLI errors can be handled more effectively by providing users with actionable solutions instead of overwhelming them with stack traces. The article also introduces the @cypress/error-message package, which aims to offer user-friendly error descriptions and solutions while maintaining detailed error reporting for developers, ultimately advocating for a balance between technical verbosity and user accessibility in error messaging.
Jul 26, 2017 1,593 words in the original blog post.
Cypress has significantly revamped its documentation to enhance usability and clarity in preparation for its transition to open source. The improvements address previous issues such as lack of a clear explanation for using Cypress, missing "Getting Started" guides, and insufficient explanations of core API concepts. The new documentation includes comprehensive guides with visual aids for writing tests, detailed API command descriptions, and an FAQ section to tackle frequently asked questions. The search functionality has been improved by using Algolia, making it much easier to find relevant information. To streamline deployment and maintain consistency, the documentation has been moved from Readme.io to Hexo, allowing for faster page navigation and easier contributions. The documentation is now included in the same repository as the Cypress codebase, supporting internationalization and encouraging community contributions. Furthermore, all documentation is rigorously tested using Cypress itself to ensure quality and functionality.
Jul 05, 2017 1,758 words in the original blog post.