connect to database with "application_name" configuration – SoliteraTA

SoliteraTA

connect to database with “application_name” configuration

connect to database with “application_name” configuration

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors

connect to database with “application_name” configuration

Keyword

Given, When, And, Then

Description

Will connect to the database using the given configuration.

Declaration
				
					Given connect to database with "LocalDatabase" configuration
				
			
				
					NILL
				
			
				
					
<environment>
  <config>
    <name>LocalDatabase</name>
    <type>database</type>
    <db_type>MYSQL</db_type>
    <db_version>8.3.0</db_version>
    <db_url>jdbc:mysql://localhost:3306</db_url>
    <db_con_type>STANDARD</db_con_type>
    <db_username>root</db_username>
    <db_password>root</db_password>
    <db_schema>soliterata</db_schema>
    <db_driver_name>com.mysql.cj.jdbc.Driver</db_driver_name>
  </config>
</environment>
				
			
				
					NILL
				
			
Remarks

 

  1. We can use any variable name
Restriction
  1. The variable used in the step definition should exist in the application file with proper configurations of database.

Solitera may collect certain information by automated means, such as cookies and web beacons, when a user visits our website. A “cookie” is a small piece of data that a website can send to your browser, which may then be stored on your system. learn more

Choose your Operating System