サクサク読めて、アプリ限定の機能も多数!
トップへ戻る
都知事選
semaphoreci.com
In the context of React, testing is a non-negotiable process to maintain code quality and a smooth user experience. However, there’s one frustrating bad news that is commonly faced when running tests in React. And that is flaky tests. In the simplest of words, flaky tests are tests that seem to pass most of the time but fail sometimes, all without changes to the code or test — just for no reason.
The ultimate goal of HTMX is to provide modern browser interactivity directly within HTML, without the need for JavaScript. Although relatively new, with its initial release in late 2020, this frontend library has quickly caught the attention of the IT web community. With 2nd place in the 2023 JavaScript Rising Stars “Front-end Frameworks” category (right behind React), a spot in the GitHub Accele
I picked up most of my soft/hardware troubleshooting skills in the US Army. A decade of Java development drove me to operations, scaling infrastructure to cope with the thundering herd. Engineering coach and CTO of Teleclinic. This tutorial will be your gentle guide to property-based testing. Property-based testing is a testing philosophy; a way of approaching testing, much like unit testing is a
Huge thanks to Jarred Sumner for reviewing this post. It wouldn’t have been possible without his help. Bun is a new and ambitious JavaScript toolset and runtime. Early adopters have been reporting that Bun JavaScript is incredibly fast. So fast that it has been touted by some as a Node.js killer. Curious, I decided to check out Bun for myself and benchmark it against the competition. Is it as fast
I picked up most of my soft/hardware troubleshooting skills in the US Army. A decade of Java development drove me to operations, scaling infrastructure to cope with the thundering herd. Engineering coach and CTO of Teleclinic. Your team decided it’s time to get rid of that old, clunky monolith (finally!). You had a good run with it, but the monolith has grown so big that you’re spending more effor
Featuring Guillermo Rauch, CEO and co-founder of Vercel In this episode of Semaphore Uncut, we talk to Guillermo Rauch. Guillermo is CEO and co-founder of Vercel. We talk about how React has emerged as a de-facto standard for the front-end. Guillermo describes Vercel’s Next.js framework that is built around React. And we also discuss front-end testing and microservices engineering trends. Key take
Chris is a software developer at Andela. He has worked with both Rails and Laravel, and enjoys sharing tips through blogging. He also loves traveling. You can find him @vickris on Github, Twitter, and other places. Introduction In this tutorial, we will show you how to test middleware in Laravel applications. If you are not familiar with the concept of middleware, it acts as a middle man between a
Will Stern is the founder of LearnCode.academy, which offers free web development tutorials to over 200,000 viewers. He also creates developer training materials for O’Reilly Media. Introduction If you’re developing React applications, then you know that the React community has been bursting with new ideas and tools over the last year. When investigating any new technology to incorporate into a st
A software developer living his passion of development since 2003. In addition to always trying to improve his skills, he’s also a proud husband and an avid gamer. Introduction Angular is one of the most popular front-end frameworks around today. Developed by Google, it provides a lot of functionality out of the box. Like its predecessor, AngularJS, it was built with testing in mind. By default, A
The Ruby community is famous for fast development of greenfield projects and quick acceptance of new concepts. However, it’s worth noting that a lot of mature projects such as GitHub, Shopify and Basecamp also operate with Ruby at their core. Every year we take the opportunity to check which versions of Ruby are used for building real-world applications. The data is based on private projects which
Chief Architect at Semaphore. A decade of experience in dev productivity, helping close to 50,000 organizations with operational excellence. This article is part of our Faster Rails series. Check out the previous article about index creation on large tables. Rails does not scale well – this argument is often used to downplay the worth of the language and the framework. Yet, many businesses from sm
Marko Anastasov is a software engineer, author, and co-founder of Semaphore. He worked on building and scaling Semaphore from an idea to a cloud-based platform used by some of the world’s engineering teams. View diagram in full screen Continuous integration, continuous deployment, and continuous delivery are like vectors that have the same direction, but different magnitude. Their goal is the same
Chief Architect at Semaphore. A decade of experience in dev productivity, helping close to 50,000 organizations with operational excellence. This article is part of our Faster Rails series. Check out the previous article about proper database indexing. As the scope and size of a Rails project grows, actions that were blazingly fast can become slow, and even downright unacceptable. The cause behind
Adding new code to Rails controllers can bring a couple of problems with it. Sometimes controller actions get really big, and they tend to do a lot of things. Another common problem is an increase in data over time, which can lead to slow page loading time. Adding new code to controller actions can also sometimes block the rendering of some actions if it fails, breaking user experience and user ha
Back End Software Developer who loves the web and innovation. Pedro believes in the power of exchanging knowledge with other people, and loves high quality code, development best practices, and automation. Find him at */pecavalheiro. Introduction This tutorial will show you how to create an automation tool for deploying your software in a simple way, similar to deploying to Heroku. We’ll be using
Adam Pahlevi takes pride in solving problems using clear and efficient code. In addition to writing, he enjoys giving talks, as well as receiving non-spam "Hi, Adam!" emails. He is an engineer at Wego. In this tutorial, we will take a look at how Kafka can help us with handling distributed messaging, by using the Event Sourcing pattern that is inherently atomic. Then, by using a pattern called Com
Chief Architect at Semaphore. A decade of experience in dev productivity, helping close to 50,000 organizations with operational excellence. This article is part of our Faster Rails series. Check out the previous article about fast existence checks. My Rails app used to be fast and snappy, and everything was working just fine for several months. Then, slowly, as my product grew and users started t
Introduction When writing unit tests, you might come across a situation where you need to generate test data or use some dummy data in your tests. If you already have some data somewhere in a database, one solution you could employ is to generate a dump of that data and use that in your tests (i.e. fixtures). However, you could also use a package like faker to generate fake data for you very easil
Chief Architect at Semaphore. A decade of experience in dev productivity, helping close to 50,000 organizations with operational excellence. Ruby and Rails are slow — this argument is often used to downplay the worth of the language and the framework. This statement in itself is not false. Generally speaking, Ruby is slower than its direct competitors such as Node.js and Python. Yet, many business
I'm a front-end designer/developer from Zagreb, Croatia. I got into coding when I was modding Warcraft (I'm not even kidding). One of my greatest passions is bringing content to life on the web. Introduction This is the third tutorial in our series on testing a React and Redux application with AVA. In this tutorial, we will build the actual UI for our todo application using React. We’ll connect ou
Introduction This tutorial will illustrate how you can build a REST API backed by PostgreSQL in Go, using Gorilla Mux for routing. The tutorial will employ test-driven development and will conclude by explaining how you can continuously test against a database during development. Goals By the end of this tutorial, you will: Become familiar with Gorilla Mux, and Learn how to test your application a
A full-stack oriented Rubyist, Elixirist, and Javascripter who enjoys exchanging knowledge and aims for well-balanced and easy-to-maintain solutions regarding product needs. Frequently blogs at The Miners. In the upcoming series of posts, we’ll explore some common antipatterns in writing tests for Rails applications. The presented opinions come from our experience in building web applications with
Chief Architect at Semaphore. A decade of experience in dev productivity, helping close to 50,000 organizations with operational excellence. Lightweight Docker Images Speed Up Deployment Deploying your services packaged in lightweight Docker images has many practical benefits. In a container, your service usually comes with all the dependencies it needs to run, it’s isolated from the rest of the s
Sid Krishnan is a Ruby and Rails consultant. He is passionate about reducing technical debt, and helping product teams accelerate feature development. Introduction Let’s consider a hypothetical situation — You’ve been working on a Rails application for about a year. When the application was new and its functionality limited, you could add features relatively simply by spinning up a new controller,
I'm a London based Ruby consultant. Visit my website for more information. Introduction In this tutorial, we will cover how to test Ruby on Rails models with the Minitest testing suite. After completing this tutorial, you will have learned the following: What to test in Rails models, How to test the various aspects of a Rails model, such as validations, associations, scopes, and extra business log
I picked up most of my skills during the years I worked at IBM. Was a DBA, developer, and cloud engineer for a time. After that, I went into freelancing, where I found the passion for writing. Now, I'm a full-time writer at Semaphore. In this tutorial, you will learn how to build traditional web applications and a Go microservice with the Gin framework. Gin is a framework that reduces boilerplate
Traveller, trance addict, automation, and continuous deployment advocate. I lead the SRE team at saltside and blog on DevOps for Slashdeploy. Tweet me @adman65. Introduction You’ve built some Docker images and made something locally. Now it’s time to go to production — and you’re stuck. This is not uncommon. There are quite a few articles out there about using Docker in a development environment.
Full-stack Infrastructure Engineer who is in love with Elixir and a bit obsessed with metrics. Blogger, open source tinkerer, and occasional tweeter. Introduction Phoenix lends itself to rapid and productive workflows when building Elixir web services, and the Mix tool provides extensible automation of repeated tasks such as compiling code and running tests. However, containerization can be helpfu
Hendra is the software engineer of vidio.com. In his free time, he created whoisfy.com and also wrote on sitepoint. This tutorial has been updated by Thiago Araújo Silva on 20 April 2018. Introduction In test-driven development, data is one of the requirements for a successful and thorough test. In order to be able to test all use cases of a given method, object or feature, you need to be able to
次のページ
このページを最初にブックマークしてみませんか?
『The best CI/CD tool for high-performance engineering teams - Semaphore』の新着エントリーを見る
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く