Menu

Configuration

Bartek Wilczek

Configuration of bubik tool can be considered on two levels: general and project specific. The general settings are saved in file:

$HOME/.bubik/bubik.ini             # unix
%USERPROFILE%\.bubik\bubik.ini     # windows

Project specific settings are saved in ini files in project's const directory. It might happen that some of bubik's listeners or handler needs this configuration, so it has to be created even though no settings specific to system under test will be there.

File content

There are few general settings needed to execute bubik tests. The example content of bubik.ini file looks as follows (common section is necessary):

[common]
project_dir = "/home/bwilczek/projects"
default_project = "demo"
store_log_history = false

Settings explained

project_dir - directory where subdirectories for projects are located

default_project - name of default project

store_log_history - boolean flag marking if logs from test execution should be overwritten by another test execution. If set to true then logs will be stored in $HOME/.bubik/tmp (%USERPROFILE%.bubik\tmp in windows) otherwise in log subdirectory in test directory.


Related

Wiki: Home
Wiki: Test creation

MongoDB Logo MongoDB
Gen AI apps are built with MongoDB Atlas
Atlas offers built-in vector search and global availability across 125+ regions. Start building AI apps faster, all in one place.
Try Free →