DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports
Events Video Library
Over 2 million developers have joined DZone. Join Today! Thanks for visiting DZone today,
Edit Profile Manage Email Subscriptions Moderation Admin Console How to Post to DZone Article Submission Guidelines
View Profile
Sign Out
Refcards
Trend Reports
Events
View Events Video Library
Zones
Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks

Integrating PostgreSQL Databases with ANF: Join this workshop to learn how to create a PostgreSQL server using Instaclustr’s managed service

Mobile Database Essentials: Assess data needs, storage requirements, and more when leveraging databases for cloud and edge applications.

Monitoring and Observability for LLMs: Datadog and Google Cloud discuss how to achieve optimal AI model performance.

Automated Testing: The latest on architecture, TDD, and the benefits of AI and low-code tools.

Related

  • The Missing Link in Cybersecurity: Culture
  • Optimizing Firmware: The Key to Shipping IoT Devices on Time
  • Did We Build The Right Thing? That's What UAT Is About.
  • A Guide To Build, Test, and Deploy Your First DApp

Trending

  • Five Tools for Data Scientists to 10X their Productivity
  • Selecting the Right Automated Tests
  • Breaking Free From the Cloud With Kamal: Just Enough Orchestration for Your Apps
  • The State of Data Streaming for Digital Natives (Born in the Cloud)

RavenDB: Fixing Up the Build Process

Oren Eini user avatar by
Oren Eini
·
May. 21, 13 · Interview
Like (0)
Save
Tweet
Share
2.24K Views

Join the DZone community and get the full member experience.

Join For Free

there is a big problem in the ravendb build process. to be rather more exact, there is a… long problem in the ravendb build process.

image

as you can imagine, when the build process run for that long, it doesn’t' get run too often. we already had several runs of “let us optimize the build”. but… the actual reason for the tests taking this long is a bit sneaky.

image

to save you from having to do the math, this means an average of 1.15 seconds per test.

in most tests, we actually have to create a ravendb instance. that doesn’t take too long, but it does take some time. and we have a lot of tests that uses the network, because we need to test how ravendb works on the wire.

from that perspective, it means that we don’t seem to have any real options. even if we cut the average cost of running the tests by half, it would still be a 30 minutes build process.

instead, we are going to create a layered approach. we are going to freeze all of our existing tests, move them to an integration tests project. we will create a small suite of tests that cover just core stuff with ravendb, and use that. over time, we will be adding tests to the new test project. when that becomes too slow, we will have another migration.

what about the integration tests? well, those will be run solely by our build server, and we will setup things so we can automatically test when running from our own forks, not the main code line.

Build (game engine) Testing

Published at DZone with permission of Oren Eini, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

Related

  • The Missing Link in Cybersecurity: Culture
  • Optimizing Firmware: The Key to Shipping IoT Devices on Time
  • Did We Build The Right Thing? That's What UAT Is About.
  • A Guide To Build, Test, and Deploy Your First DApp

Comments

Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 3343 Perimeter Hill Drive
  • Suite 100
  • Nashville, TN 37211
  • support@dzone.com

Let's be friends: