Open-source News

Set up automated software testing with this open source platform

opensource.com - Wed, 11/23/2022 - 16:00
Set up automated software testing with this open source platform Antoine Craske Wed, 11/23/2022 - 03:00

Automated testing is an important stage of development. It helps you ensure code quality, discover bugs before they ship, and guarantee that an application works the way it's intended to work. Deployment of automated tests is rapidly becoming a top priority for companies all over the world.

The latest release of the Cerberus Testing platform offers a series of new features and improvements to allow you to easily set up automated tests for your software engineering team.

Intuitive design

The philosophy of Cerberus Testing is to facilitate cross-functional collaboration on automated tests around a shared interface. Usability has been a major focus of the latest version, with an emphasis on making onboarding simple. The vision of the Cerberus experience is a one-click setup. You can create, execute, and visualize an automated test in less than 30 seconds, whether you're familiar with Cerberus or not.

Image by:

(Antoine Craske, CC BY-SA 4.0)

This new version realizes this promise for web application testing thanks to the new design, and Cerberus's automation library. Future enhancements will support more advanced use cases, such as mobile and API testing working directly in the cloud.

Apache Kafka

There's a need for massive data processing in event-driven architecture. This asynchronism, however, must be designed and implemented. Apache Kafka is the preeminent platform supporting massive connectivity of producers and consumers, exchanging messages without defined structures, or else defined by Avro schemas.

Image by:

(Antoine Craske, CC BY-SA 4.0)

For several years, Cerberus Testing has supported the testing of event-driven and microservices components with Apache Kafka. Cerberus Testing now also supports Avro schemas.

That's not all the latest release does for Apache Kafka, though. Other improvements are also available, including centralized management of your Kafka configurations to facilitate maintainability, and the ability to search and test elements present in the "headers" of messages.

More on automation Download now: The automated enterprise eBook Free online course: Ansible essentials Ansible cheat sheet eBook: A practical guide to home automation using open source tools A quickstart guide to Ansible eBook: 7 examples of automation on the edge More articles about open source automation Advanced use cases

Anyone who designs test automation knows that the old adage "the devil is in the details" is as relevant as ever in this business. There is no "normal" use case for a test suite. Every challenge is unique, but Cerberus Testing provides a toolkit that includes image recognition, file manipulation, multi-criteria validation, and more.

The image recognition available in Cerberus Testing now allows you to target a specific offset on the screen. You can activate a delay for keypress actions, or even utilize character recognition.

There are also improvements for test cases that require uploading and downloading files, new checks for lists of numeric values, and batch test execution relaunch from the interface.

A new and improved website

This new version follows a complete redesign of the Cerberus Testing website for better readability and access to the platform's documentation and resources. There, you can also browse training opportunities and explore partners.

Try Cerberus Testing

The latest version of Cerberus Testing provides a scalable test automation platform that supports Agile and DevOps approaches. To try it for yourself, or to contribute to the project, visit our Git repository.

Cerberus Testing offers a series of new features and improvements to allow you to easily set up automated tests for your software engineering team.

CI/CD Automation DevOps What to read next An open source solution for continuous testing at scale This work is licensed under a Creative Commons Attribution-Share Alike 4.0 International License. Register or Login to post a comment.

Build an interactive timeline in React with this open source tool

opensource.com - Wed, 11/23/2022 - 16:00
Build an interactive timeline in React with this open source tool Karol Kozer Wed, 11/23/2022 - 03:00

For several years, I worked in the TV online and video-on-demand (VOD) industry. While working on a scheduler web application, I realized that there were no good solutions for electronic program guides (EPG) and scheduling. Admittedly, this is a niche feature for most web developers, but it's a common requirement for TV applications. I've seen and analyzed a number of websites that have implemented their own EPG or timeline, and I often wondered why everyone seemed to be inventing their own solutions instead of working on a shared solution everyone could use. And that's when I started developing Planby.

Planby is a React (JavaScript) component to help you create schedules, timelines, and electronic program guides (EPG) for online TV and video-on-demand (VOD) services, music and sporting events, and more. Planby uses a custom virtual view, allowing you to operate on a lot of data, and present it to your viewers in a friendly and useful way.

Planby has a simple API that you can integrate with third party UI libraries. The component theme is customised to the needs of the application design.

Timeline performance

The most significant thing when implementing a timeline feature is performance. You're potentially handling basically an endless stream of data across many many different channels. Applications can struggle with refreshing, moving, and scrolling. You want the user's interactions with the content to be fluid.

There's also the potential for poor design. Sometimes, an app implements an EPG timeline in the form of a list that you must scroll vertically, meaning you must click on buttons to move left and right through time, which quickly becomes tiring. What's more, sometimes customization for interacting with an EPG (such as rating, choosing your favorite channels, reading right-to-left (RTL), and so on) aren't available at all, or when they are, they cause performance issues.

Another problem I often face is that an app is too verbose in its data transfer. When an app requests data while you scroll through the EPG, the timeline feels slow and can even crash.

Programming and development Red Hat Developers Blog Programming cheat sheets Try for free: Red Hat Learning Subscription eBook: An introduction to programming with Bash Bash shell scripting cheat sheet eBook: Modernizing Enterprise Java An open source developer's guide to building applications What is Planby?

This is where Planby comes in. Planby is built from scratch, using React and Typescript and a minimal amount of resources. It uses a custom virtual view, allowing you to operate on vast amounts of data. It displays programs and channels to the user, and automatically positions all elements according to hours and assigned channels. When a resource contains no content, Planby calculates the positioning so the time slots are properly aligned.

Planby has a simple interface and includes all necessary features, such as a sidebar, the timeline itself, a pleasant layout, and live program refreshing. In addition, there's an optional feature allowing you to hide any element you don't want to include in the layout.

Planby has a simple API that allows you as the developer to implement your own items along with your user preferences. You can use Planby's theme to develop new features, or you can make custom styles to fit in with your chosen design. You can easily integrate with other features, like a calendar, rating options, a list of user favorites, scroll, "now" buttons, a recording schedule, catch-up content, and much more. What's more, you can add custom global styles, including register-transfer level (RTL) functionality.

And best of all, it uses the open source MIT licensed.

Try Planby

If you would like to try Planby, or just to learn more about it, visit the Git repository. There, I've got some examples of what's possible and you can read the documentation for the details. The package is also available with npm.

Planby is a JavaScript component to help create schedules, timelines, and electronic program guides (EPG) for streaming services, music and sporting events, and more.

Image by:

Opensource.com

JavaScript What to read next This work is licensed under a Creative Commons Attribution-Share Alike 4.0 International License. Register or Login to post a comment.

Microsoft Promotes Windows Subsystem For Linux "WSL" To GA Status

Phoronix - Wed, 11/23/2022 - 07:13
While the Windows Subsystem for Linux (WSL) has been around for six years now and with WSL2 is on to running graphical Linux apps with GPU acceleration and a wide array of capabilities, including the ability to run systemd and the like, only today has Microsoft promoted WSL to "general availability" status on Windows 10 and Windows 11...

Alpine Linux 3.17 Released With OpenSSL 3.0, Better Rust Support

Phoronix - Wed, 11/23/2022 - 03:09
Alpine Linux as the distro that is focused on being lightweight, simple, and secure with its use of OpenRC, BusyBox, musl libc, and other components is out with a big update...

Asahi Linux Project Makes Progress On USB3, Toward Speaker Support, Keyboard Backlight

Phoronix - Wed, 11/23/2022 - 02:10
The Asahi Linux crew has published their November 2022 status report highlighting recent open-source progress on supporting Apple Silicon M1/M2 devices under Linux...

Pages