Navicat provides a complete report of its progress. Once we're satisfied with the data we can generate it by clicking the Start button. This will give us the opportunity to manually change values or Regenerate all data for a table: The next screen will show us a preview of what the generated data will look like for each table that we selected back on the second screen. ![]() Navicat will automatically determine which order to follow when generating data, but we can change it on the Table Generation Order dialog: Data Previews (It goes without saying that you'll want to select empty tables that are based on the real tables that you're testing.) By default, Navicat generates 1000 rows of data, but we can change that value via the Number of Rows to Generate text field: The next screen is where we set which tables and fields to generate data for. There is also an Options button that opens a dialog where you can configure a few general preferences: Tables Population and Ordering The wizard is smart enough to know that, since we already have an active database connection open, we probably want to generate data for it:Īt any stage, you can Save or Load a profile so that you don't have to start over when working with the same database(s). The first wizard screen lets us set the database for which to generate the test data. The ellipsis at the end of the label (.) tells us that the command will open a dialog or wizard. The Data Generation tool is located under the Tools item in the main toolbar: Here they are in Navicat Premium 16: Launching the Wizard ![]() You can download it using the following link:Ĭhinook represents a fictional digital media store, and hence includes tables for artists, albums, media tracks, invoices, and customers. The database that we'll be working with is the chinook sample database for SQLite. We'll familiarize ourselves with it by going through the process of creating testing data for multiple related tables in Navicat Premium 16 for Windows. ![]() In today's blog, we'll start with the entirely new Data Generation tool. The recent Navicat 16 listed some of its most note-worthy features and improvements, including:Īs promised, we'll be exploring these in much more detail throughout the coming weeks. Generating Test Data in Navicat 16 by Robert Gravelle
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |