NUnit Tutorial: Parameterized Tests With Examples

DZone

In this blog, we learn how to execute NUnit parameterized tests with examples. Cross-browser testing has become an integral part of the test process to ensure the product experience and behavior remain consistent across different combinations of web browsers, devices, and operating systems.

Most Practical Selenium WebDriver Tutorial With Examples

DZone

Selenium is one of the most widely used automation frameworks for web-application testing. It automates browser testing and eases redundant test efforts for the QA Community. Most of the organizations are switching to using Selenium to automate their test suites which are often run regularly.

Insiders

Sign Up for our Newsletter

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Desired Capabilities in Selenium Testing With Examples

DZone

Get the right outcomes from Selenium testing. You may also like: Discover the Top Tips and Tricks of the Selenium WebDriver. Desired Capabilities is a class used to declare a set of basic requirements such as combinations of browsers, operating systems, browser versions, etc. to perform automated cross-browser testing of a web application.

Complete Guide To Selenium Locators In Protractor (Examples)

DZone

While testing the functionality for your website, especially web elements such as radio button, text boxes, drop-down, etc., you need to make sure that you can access these elements.

Defining Test Boundaries — An Example

DZone

For example, I still talk to people who consider that a unit test should test a single class/method. In this blog post, we’ll see an example of how to do that. I think that everybody agrees that testing is required in order to build a quality product. But there’s also a lot of confusion about the boundaries of each test type. What’s the scope of a unit test? What’s the difference between an integration test, an integrated test and a contract test?

SQL Server Clustered Indexes internals with examples

SQL Shack

In this article, we will learn the SQL Server clustered index concept and some internal details. Indexes are the database objects that accelerate the performance of data accessing when are designed properly.

10 Practical Examples of AWS Lambda

Simform

The post 10 Practical Examples of AWS Lambda appeared first on Insights on Latest Technologies - Simform Blog.

Auto Split Slow RSpec Test File by Test Examples on GitHub Actions Parallel Jobs

DZone

Each file contains multiple test examples (RSpec “ it s”). Splitting your CI build jobs between multiple machines running in parallel is a great way to make the process fast, which results in more time for building features. Github Actions allows running parallel jobs easily.

Regression Testing vs Retesting-Differences and Examples

Testsigma

Example of Regression Testing in Agile Framework: The below diagram illustrates the role of regression testing in the final delivery of the product in an Agile framework: Sprint is a set period of time during which specific work has to be completed and made ready to be shipped.

Nutanix AES: Performance By Example.

n0derunner

Here’s a real-world example of that improvement in practice. The post Nutanix AES: Performance By Example. How to reduce database restore time by 50%. During.Next 2018 in London, Nutanix announced performance improvements in the core-datapath said to give up to 2X performance improvements. I am using X-Ray to simulate a 1TB data restore into an existing database.

SQL AVG() function introduction and examples

SQL Shack

In this article, we will learn the SQL Average function which is known as AVG() function in T-SQL. AVG() function is an aggregate function that calculates the average value of a numerical dataset that returns from the SELECT statement. Introduction Assume that we have a collection of numbers.

77

How to get the most value out of Session Replay: Use cases and examples

Dynatrace

Fine-tune Session Replay for your business purposes—examples. For example, you could begin recording a session only after you’ve confirmed that the user is indeed a premium customer. In this example, your application makes the following Session Replay API call: . This type of configuration is also an excellent example for understanding how the newly added ignoreCostControl parameter works. Dynatrace news.

Synthesizing data structure transformations from input-output examples

The Morning Paper

Synthesizing data structure transformations from input-output examples , Feser et al., Program synthesis from examples falls into that latter camp, and the use case addressed here is a perfect fit for it: transforming data structures.

Learn eBPF Tracing: Tutorial and Examples

Brendan Gregg

What is an example of eBPF tracing? For example, it does not trace every packet like older techniques, which can add too much performance overhead. Once you've tried these, you just need to be aware that many more exist: These are also fully documented with man pages and example files. The example files (*_example.txt in bcc/tools) show screenshots with explanations: for example, biolatency_example.txt. What's missing is production examples.

C++ 84

SQL Server Query Tuning tips for beginners with practical examples

SQL Shack

In this article, we will continue to learn essential techniques of the SQL Server query tuning with practical examples.

WebPageTest Scripting: Examples for advanced speed testing scenarios

MachMetrics

The documentation for WPT’s scripting functionality is far from user friendly, and only gives a couple of examples. For this example, we’re going to run a script that loads machmetrics.com, and logs into the user dashboard.

Speed 55

What is Usability Testing? (With Example)

Testlodge

If the product – or in this case, the app – has a very confusing and hard to negotiate user interfaces, over-complex task flows, poorly constructed error messages or a bad performance, for example, there will be a lot of friction and the result will be that the user will have a hard time achieving his goal, and will be unlikely to access the app again. Let’s go back to the example I used in the beginning: A food delivery startup. Let Me Give You A Real World Example.

Nutanix AES: Performance By Example PT2

n0derunner

The post Nutanix AES: Performance By Example PT2 appeared first on n0derunner. How to improve large DB read performance by 2X. Nutanix AOS 5.10 ships with a feature called Autonomous Extent Store (AES). AES effectively provides Metadata Locality to complement the existing data locality that has always existed. For large datasets (e.g. a 10TB database with 20% hot data) we observe a 2X improvement in throughput for random access across the 2TB hot dataset.

Cache 40

Learn eBPF Tracing: Tutorial and Examples

Brendan Gregg

What is an example of eBPF tracing? For example, it does not trace every packet like older techniques, which can add too much performance overhead. Once you've tried these, you just need to be aware that many more exist: These are also fully documented with man pages and example files.

C++ 52

A Short on How Zoom Works

High Scalability

The problem is we don't know much, but we do have a few information sources: ExampleZoom scaled from 20 million to 300 million users virtually over night.

Optimizing String Comparisons in Go

DZone

programming go golang programming examples golang app developmentWant your Go programs to run faster? Optimizing string comparisons in Go can improve your application’s response time and help scalability.

How TripleLift Built an Adtech Data Pipeline Processing Billions of Events Per Day

High Scalability

ExampleThis is a guest post by Eunice Do , Data Engineer at TripleLift , a technology company leading the next generation of programmatic advertising. What is the name of your system and where can we find out more about it? The system is the data pipeline at TripleLift.

What is Node.js? Where, when and how to use it with examples

Simform

Where, when and how to use it with examples appeared first on Insights on Latest Technologies - Simform Blog. The post What is Node.js? Web App Development

Test Driven Development Using TestNG, Gradle

DZone

tdd tutorial test driven development by exampleWhat Is TDD? Test Driven Development is a process where developers write the test case first and then run the test case to fail.

Auth0 Architecture: Running In Multiple Cloud Providers And Regions

High Scalability

ExampleThis is article was written by Dirceu Pereira Tiegs, Site Reliability Engineer at Auth0, and originally was originally published in Auth0. Auth0 provides authentication, authorization, and single sign-on services for apps of any type (mobile, web, native) on any stack. Authentication is critical for the vast majority of apps. We designed Auth0 from the beginning so that it could run anywhere: on our cloud, on your cloud, or even on your own private infrastructure.

Connecting MongoDB to Ruby with Self-Signed Certificates for SSL

Scalegrid

for this example. The Ruby version used in both the examples below is 2.6.3. To keep the example simple, we have specified the connection string and the cert file path directly in the code snippet – you would generally either put them in a yaml file or specify them as environment variables. Also, the example sets the log level to DEBUG so that any connectivity issues can be debugged. Connection example: gem 'mongoid', '7.0.2'

C++ 100

Real-World Effectiveness of Brotli

CSS Wizardry

ReactDOM, for example, ends up 27% smaller when compressed with maximum-level Brotli compression (11) as opposed to with maximum-level Gzip (9).

Self-Host Your Static Assets

CSS Wizardry

A classic example is jQuery, that we might link to like so: There are a number of perceived benefits to doing this, but my aim later in this article is to either debunk these claims, or show how other costs vastly outweigh them. I’m going to use an example taken straight from Bootstrap’s own Getting Started.

Cache 219

Driving Compute Cost Down for AWS Customers - All Things.

All Things Distributed

For example, the popular m1.small instance type will see a price drop of 6% for EC2 On-Demand usage and 33% for EC2 Reserved Instance usage. Some of the other instance types have even greater savings: for example, the high memory M2 instances will see a 10% price cut for On Demand and 37% for Reserved instances. All Things Distributed. Werner Vogels weblog on building scalable and robust distributed systems. Driving Compute Cost Down for AWS Customers.

AWS 76

The Performance Inequality Gap, 2021

Alex Russell

The Moto G4 , for example. TL;DR: A lot has changed since 2017 when we last estimated a global baseline resource per-page resource budget of 130-170KiB.

Egnyte Architecture: Lessons learned in building and scaling a multi petabyte content platform

High Scalability

ExampleThis is a guest post by Kalpesh Patel , an Engineer, who for Egnyte from home. Egnyte is a Secure Content Platform built specifically for businesses. He and his colleagues spend their productive hours scaling large distributed file systems. You can reach him at @kpatelwork.

Cache 50

In-Browser Performance Linting With Feature Policies

Tim Kadlec

For example, you could tell the browser not to allow the use of the Geolocation API by providing the following header: Feature-Policy: geolocation 'none'. One particularly annoying example are images that have thumbnails of themselves embedded in their metadata.

Media 106

The Cost of Javascript Frameworks

Tim Kadlec

For example, we could use all sites that didn't have any of the mentioned frameworks (jQuery, React, Vue.js, Angular) detected. There is no faster (pun intended) way to slow down a site than to use a bunch of JavaScript.

Mobile 114

The Fastest Google Fonts

CSS Wizardry

Take for example Vitamix, a client for whom I implemented asynchronous CSS for their own font provider(s): While Chrome can do asynchronous DNS/TCP/TLS, it will serialise and stall non-critical requests on slower connections.

Google 285

Don’t read your data from a straw

Daniel Lemire

That is the case, for example, of a Roaring bitmap. A convenient approach is to wrap the byte array into an InputStream and then wrap that InputStream into a DataInputStream , like in this example where we convert an array of bytes into an array of integers: byte [ ] array =. In any case, it is a perfectly good example of the problem whereas abstractions force you to consume data as if it went through a straw. It is common for binary data to be serialized to bytes.

C++ 116

The Humble ` ` Element And Core Web Vitals

Smashing Magazine

The value of this attribute should be a textual description of the image, and is used as an alternative to the image when it can’t be displayed or seen; for example, a user accessing your page via a screen reader. What Are Examples Of Businesses Improving LCP Via Image Optimizations?

Media 112

The Import On Interaction Pattern

Addy Osmani

For example, UI a user doesnt see unless they click or scroll on parts of the page. Tip: Lazy-load non-critical resources when a user interacts with UI requiring it. Your page may contain code or data for a component or resource that isnt immediately necessary.

Code 114

More fun with fast remainders when the divisor is a constant

Daniel Lemire

For example, on ARM and POWER processors, the division instruction does beat some compilers. In software, compilers can often optimize away integer divisions, and replace them with cheaper instructions, especially when the divisor is a constant. I recently wrote about some work on faster remainders when the divisor is a constant.

Does the JVM Eliminate Allocations of Temporary Objects?

DZone

Consider the following example: java gc garbage-collection allocationShould you be concerned about temporary Java objects or can the JVM eliminate them for you, maybe by replacing them with implicit static instances?

Java 153

The Future of Performance Testing

Alex Podelko

Those wondering what I am talking about may, for example, check my earlier posts The Role of Recording in Load Testing Tools and About the Role of Recording in Performance Testing discussing one part of needed functionality. And, of course, need for performance / cost modeling – to see how any change (for example, on a component level) will impact bottom line. Following up my post Are Times still Good for Load Testing? , I decided to answer multiple comments here separately.

Are Times still Good for Load Testing?

Alex Podelko

There are other small companies adding value to open source – for example, OctoPerf , RedLine13 , XMeter , and Loadium. My post Good Times for Load Testing was published in 2014. It is difficult to believe that 5 years passed… Are times still good for load testing? Well, yes and no. I am not so upbeat as I was in 2014. If we speak about commercial load testing tools, we see rather a shrinking market and not too much innovation recently.

Performance Testing with Open Source Tools – Myths and Reality

Alex Podelko

I think one example of this is Nouvola, it was one of the tools on my radar and I watched over their progress with a mix of curiosity and fear that they would make a breakthrough. Some time ago Federico Toledo published Performance Testing with Open Source Tools- Busting The Myths. While Federico definitely has good points there, there is some truth in these myths too.

Performance Budgets, Pragmatically

CSS Wizardry

Example Performance Budgets. One of the key tools that performance engineers have at their disposal is the Performance Budget: it helps us—or, more importantly, our clients—ensure that any performance-focused work is monitored and maintained after we’ve gone.