Home / Companies / CircleCI / Blog / June 2020

June 2020 Summaries

6 posts from CircleCI

Filter
Month: Year:
Post Summaries Back to Blog
The text provides a comprehensive guide on setting up a continuous integration pipeline using Behat for a Symfony application, emphasizing the principles of Behavior-Driven Development (BDD). It begins with creating a new Symfony project and integrating Behat via Composer, followed by initializing Behat to facilitate functional testing. The tutorial outlines the creation of a customer endpoint that returns a hard-coded list of customers, along with writing a Behat feature file to test this functionality. It further explains the process of defining step definitions in the FeatureContext class to map the described scenarios to actual code. The guide then details setting up a CircleCI configuration to automate the testing process, including creating a Docker environment and installing necessary dependencies. Finally, it demonstrates how to connect the project to CircleCI for automatic builds and testing, concluding with the benefits of using Behat and CircleCI in PHP projects to ensure features are built correctly.
Jun 30, 2020 2,572 words in the original blog post.
The Ionic framework, known for its versatility in mobile, desktop, and progressive web application development, stands out due to its framework-agnostic nature, allowing developers to utilize Angular, React, or Vue. This tutorial provides a step-by-step guide on deploying an Ionic mobile application to the Firebase hosting platform, beginning with the creation of a simple task list application using React.js. The process involves setting up Firebase hosting, initializing a Firebase project, and configuring continuous deployment with CircleCI. The tutorial emphasizes the benefits of an automated deployment pipeline, which facilitates seamless application updates whenever changes are pushed to a remote repository. By concluding with a successful deployment to Firebase, the guide underscores the efficiency and ease of modern deployment practices using tools like CircleCI and Firebase.
Jun 30, 2020 2,327 words in the original blog post.
Web technology advancements have significantly narrowed the gap between web and native applications, with features like installation, push notifications, and offline functionality now available in web apps through Progressive Web Applications (PWAs). This text outlines a step-by-step guide to building a simple PWA and setting up a Continuous Integration (CI) pipeline using CircleCI for automated testing. It begins with the creation of a basic application structure, including HTML, CSS, and JavaScript files, and the implementation of a service worker to enable offline capabilities by caching files. A manifest file is added to support the Add to Home Screen feature, and testing is set up using tools like JSDOM, Jest, and the DOM Testing Library. The guide culminates with configuring a CircleCI pipeline, detailing how to push the project to a GitHub repository, set up the repository on CircleCI, and automate the testing process, ensuring that the application is continuously tested with every code update.
Jun 22, 2020 2,204 words in the original blog post.
The text provides a comprehensive tutorial on building a RESTful API using Nest.js, a scalable server-side Node.js framework developed with TypeScript and inspired by Angular.js. The guide walks through the entire process from setting up a Nest.js application, configuring database connections with MySQL and TypeORM, to creating modules, services, controllers, and data transfer objects (DTOs) for handling product-related operations such as creating, retrieving, editing, and deleting products. Additionally, it covers testing the application's business logic using Nest.js's built-in testing infrastructure with Jest, and automating these tests using CircleCI for continuous integration. The tutorial emphasizes the importance of structuring applications using Nest.js's modular design and offers insights into test-driven development practices, with references to source code on GitHub for further exploration.
Jun 22, 2020 3,451 words in the original blog post.
This tutorial guides readers through creating a new Symfony application to manage customer details while emphasizing the importance of testing in software development. By outlining the process of setting up a Symfony project and implementing basic functionalities, such as creating a controller and entity class, the text illustrates how to write unit and functional tests using PHPUnit. It also covers how to automate these tests with CircleCI, ensuring that once code is pushed to GitHub, tests run automatically, facilitating continuous integration. The tutorial highlights Symfony's robust framework, PHPUnit's role in testing, and CircleCI's capabilities in automating the testing process, providing foundational knowledge for developers to create more reliable applications.
Jun 14, 2020 2,183 words in the original blog post.
Progressive Web Applications (PWAs) are becoming increasingly popular due to their native-like features and compatibility with web browsers, provided they are hosted on secure URLs. This tutorial guides developers on setting up an automated deployment pipeline for PWAs using Firebase and CircleCI, ensuring the deployment to a secure URL. It begins with creating a demo PWA project with basic HTML, CSS, and JavaScript files, including a service worker for offline capabilities. The tutorial covers the creation of a manifest.json file for app metadata and instructions for deploying the application on Firebase, including setting up necessary tools and accounts. The tutorial further details building a continuous deployment pipeline using CircleCI, emphasizing the importance of secure service account credentials for Firebase deployment. Finally, it provides steps to connect the project to a GitHub repository and configure environment variables on CircleCI to automate the deployment process, enabling developers to host PWAs securely and efficiently.
Jun 08, 2020 2,742 words in the original blog post.